N:=9;
M1:=3;
M2:=3;
RSV:=(CLOSE-LLV(LOW,N))/(HHV(HIGH,N)-LLV(LOW,N))*100;
K:=SMA(RSV,M1,1);
D:=SMA(K,M2,1);
J:=3*K-2*D;
金叉:=KDJ.K>KDJ.D AND KDJ.J>KDJ.D AND KDJ.J>KDJ.K;
流通市值:=CAPITAL*C/1000000;
涨幅:=(C-REF(C,1))/REF(C,1)*100;
价格:=C;
VAR0:=NOT(NAMELIKE('ST') OR NAMELIKE('*ST') OR NAMELIKE('S') OR
DYNAINFO(4)=0 OR INBLOCK('创业板') OR INBLOCK('科创板')) OR
BARSCOUNT(C)>1;
VAR1:=流通市值>0 AND 流通市值<80;
VAR2:=涨幅>9.8 AND 涨幅<10.99 AND C=H;
VAR3:=价格>2 AND 价格<22;
VAR4:=COUNT(VAR2,2)=1;
XG1:=金叉 AND VAR0 AND VAR1 AND VAR2 AND VAR3 AND VAR4;
STICKLINE(XG1,H,L,0,0),COLOR0000FF;
STICKLINE(XG1,C,O,3,0),COLOR000099;
STICKLINE(XG1,C,O,2,0),COLOR0000BB;
STICKLINE(XG1,C,O,1,0),COLOR0000DD;
STICKLINE(XG1,C,O,0.3,0),COLOR0000FF;
DRAWTEXT(XG1,L*0.95,'风口形成'),COLORCYAN;
ZF:=(C/REF(C,1)-1)*100;
高开:=(O/REF(C,1)-1)*100;
S0:=DYNAINFO(15)/O/100;
开盘满量1:=S0/REF(V,1)*100;
T1:=(EM A(O,20)-REF(EMA(O,20),1))/REF(EMA(O,20),1)*100;
T2:=REF(L,BARSLAST(CROSS(T1,0)));
火力值:=(O-T2)/T2*100;
ZB:=CODELIKE('60') OR CODELIKE('00');
ZT0:=(C/REF(C,1)-1)*100>9.8 AND H=C;
ZTS:=EVERY(ZT0,4)<3;
XG:=火力值<=20 AND REF(ZF>9.80,1) AND 高开>=2 AND
高开<=7.5 AND ZB AND ZTS;
STICKLINE(XG,H,L,0,0),COLORFF00FF;
STICKLINE(XG,C,O,3,0),COLOR990099;
STICKLINE(XG,C,O,2,0),COLORBB00BB;
STICKLINE(XG,C,O,1,0),COLORDD00DD;
STICKLINE(XG,C,O,0.3,0),COLORFF00FF;
DRAWTEXT(XG,L*0.99,'火种'),COLORYELLOW;
DRAWICON(XG,L*0.98,9);
成交量:=V,COLORYELLOW,NODRAW;
主力抢筹:=S0/REF(V,1)*100,COLORRED,NODRAW;
DRAWTEXT_FIX( CURRBARSCOUNT=1 AND
V>0,0.7,0.9,0,'主力抢筹大于5:'),COLORYELLOW;
DRAWNUMBER_FIX(CURRBARSCOUNT=1 AND
V>0,0.79,0.9,0,主力抢筹),COLORCYAN;
DRAWTEXT_FIX( CURRBARSCOUNT=1 AND
V>0,0.7,0.08,0,'主力抢筹大于5:'),COLORYELLOW;
DRAWNUMBER_FIX(CURRBARSCOUNT=1 AND
V>0,0.79,0.08,0,主力抢筹),COLORCYAN;
DRAWTEXT_FIX(1,0,0,0,GNBLOCK),COLORCYAN;
本站仅提供存储服务,所有内容均由用户发布,如发现有害或侵权内容,请
点击举报。