金叉买入起涨 拉升火力全开【指标公式】(含选股)锘跨涓閮ㄥ垎 鍓浘鍏紡 鎵嬫満/鐢佃剳
N:=9;M1:=3;M2:=3;
RSV1:=(CLOSE-LLV(LOW,N))/(HHV(HIGH,N)-LLV(LOW,N))*100;
K1:=SMA(RSV1,M1,1);
D1:=SMA(K1,M2,1);
J1:=3*K1-2*D1;
CHP1:=KDJ.K>KDJ.D AND KDJ.J>KDJ.D AND KDJ.J>KDJ;
CHP2:=CAPITAL*C/1000000;
CHP3:=(C-REF(C,1))/REF(C,1)*100;
CHA0:=NOT(NAMELIKE('ST') OR NAMELIKE('*ST') OR NAMELIKE('S') OR DYNAINFO(4)=0? OR INBLOCK('鍒涗笟鏉') OR INBLOCK('绉戝垱鏉')) OR BARSCOUNT(C)>1;
CHA1:=CHP2>0 AND CHP2<80;
CHA2:=CHP3>9.8 AND CHP3<10.99 AND C=H;
CHA3:=C>2 AND C<22;
CHA4:=COUNT(CHA2,2)=1;
CHC1:=CHP1 AND CHA0 AND CHA1 AND CHA2 AND CHA3 AND CHA4;
STICKLINE(CHC1,C,O,0.3,0),COLOR0000FF;
DRAWTEXT(CHC1,L*0.99,'璧锋定'),COLOR0000FF;
MA1:MA(CLOSE,5);
MA3:MA(CLOSE,20);
CHB1:=(C/REF(C,1)-1)*100;
CHB2:=(O/REF(C,1)-1)*100;
CHB3:=DYNAINFO(15)/O/100;
CHB4:=CHB3/REF(V,1)*100;
CHB5:=(EMA(O,20)-REF(EMA(O,20),1))/REF(EMA(O,20),1)*100;
CHB6:=REF(L,BARSLAST(CROSS(CHB5,0)));
CHB7:=(O-CHB6)/CHB6*100;
CHB8:=CODELIKE('60') OR CODELIKE('00');
CHB9:=(C/REF(C,1)-1)*100>9.8 AND H=C;
CHB10:=COUNT(CHB9,4)<3;
CHC2:=CHB7<=20 AND REF(CHB1>9.80,1)? AND CHB2>=2 AND CHB2<=7.5 AND CHB8 AND CHB10;
STICKLINE(CHC2,C,O,0.3,0),COLORMAGENTA;
DRAWTEXT(CHC2,L*0.99,'鎷夊崌'),COLORMAGENTA;
绗簩閮ㄥ垎 閫夎偂鍏紡
{閫夎偂鍏紡涓锛氳捣娑▆
N:=9;M1:=3;M2:=3;
RSV1:=(CLOSE-LLV(LOW,N))/(HHV(HIGH,N)-LLV(LOW,N))*100;
K1:=SMA(RSV1,M1,1);
D1:=SMA(K1,M2,1);
J1:=3*K1-2*D1;
CHP1:=KDJ.K>KDJ.D AND KDJ.J>KDJ.D AND KDJ.J>KDJ;
CHP2:=CAPITAL*C/1000000;
CHP3:=(C-REF(C,1))/REF(C,1)*100;
CHA0:=NOT(NAMELIKE('ST') OR NAMELIKE('*ST') OR NAMELIKE('S') OR DYNAINFO(4)=0? OR INBLOCK('鍒涗笟鏉') OR INBLOCK('绉戝垱鏉')) OR BARSCOUNT(C)>1;
CHA1:=CHP2>0 AND CHP2<80;
CHA2:=CHP3>9.8 AND CHP3<10.99 AND C=H;
CHA3:=C>2 AND C<22;
CHA4:=COUNT(CHA2,2)=1;
CHC1:=CHP1 AND CHA0 AND CHA1 AND CHA2 AND CHA3 AND CHA4;
璧锋定:CHC1;
{閫夎偂鍏紡浜岋細鎷夊崌}
CHB1:=(C/REF(C,1)-1)*100;
CHB2:=(O/REF(C,1)-1)*100;
CHB3:=DYNAINFO(15)/O/100;
CHB4:=CHB3/REF(V,1)*100;
CHB5:=(EMA(O,20)-REF(EMA(O,20),1))/REF(EMA(O,20),1)*100;
CHB6:=REF(L,BARSLAST(CROSS(CHB5,0)));
CHB7:=(O-CHB6)/CHB6*100;
CHB8:=CODELIKE('60') OR CODELIKE('00');
CHB9:=(C/REF(C,1)-1)*100>9.8 AND H=C;
CHB10:=COUNT(CHB9,4)<3;
CHC2:=CHB7<=20 AND REF(CHB1>9.80,1)? AND CHB2>=2 AND CHB2<=7.5 AND CHB8 AND CHB10;
鎷夊崌:CHC2;
|