{参数}N2:=22;N3:=55;N1:=0.20;NX:=3;NS:=4;
成交额:IF(CURRBARSCOUNT=1 AND PERIOD=5,vol*240/FROMOPEN,DRAWNULL),NODRAW;
STICKLINE(CURRBARSCOUNT=1 AND PERIOD=5,成交额,0,-1,-1),COLOR00C0C0;
虚拟额:VOL,VOLSTICK;
TA:=(C-REF(C,30))/REF(C,30);
STICKLINE(VOL=LLV(VOL,N2),0,V,3,0),COLOR000099;
STICKLINE(VOL=LLV(VOL,N2),0,V,2.5,0),COLOR0000CC;
STICKLINE(VOL=LLV(VOL,N2),0,V,1.5,0),COLORRED;
STICKLINE(VOL=HHV(V,N3) AND C=HHV(C,N2) AND TA>=N1,0,V,3,0),COLOR002933;
STICKLINE(VOL=HHV(V,N3) AND C=HHV(C,N2) AND TA>=N1,0,V,2.5,0),COLOR008433;
STICKLINE(VOL=HHV(V,N3) AND C=HHV(C,N2) AND TA>=N1,0,V,1.5,0),COLOR00B233;
STICKLINE(VOL=HHV(V,N3) AND C=HHV(C,N2) AND TA>=N1,0,V,0.5,0),COLOR00E033;
STICKLINE(VOL=HHV(V,N3) AND C=HHV(C,N2) AND TA
当天换手:V/CAPITAL*100,NODRAW,COLORWHITE;
平均换手:MA(当天换手,180),NODRAW;
月总换手:SUM(当天换手,21),NODRAW,COLORRED;
FJ1:=1;FJ2:=2;FJ3:=3;FJ4:=5;FJ5:=8;FJ6:=15;FJ7:=25;
HS:=DYNAINFO(37)*100;
DRAWTEXT(HS
DRAWTEXT(HS
DRAWTEXT(HS
DRAWTEXT(HS
DRAWTEXT(HS
DRAWTEXT(HS
DRAWTEXT(HS<100 AND HS>=FJ7 AND ISLASTBAR,V,'怪异'),COLORYELLOW;
{寻找下影线战法}
Y1:=(MAX(O,C)-MIN(O,C))/MIN(O,C)*100;{涨幅}
Y2:=(MIN(O,C)-L)/L*100;{下影}
Y3:=(H-MAX(O,C))/MAX(O,C)*100;{上影}
XY:= Y2>Y1*1.5 AND Y2>Y3*2 AND (H-L)/L*100>=3 AND Y2>=NX;
DRAWICON(XY,V,26);{金钻};
{长上影抛出};
SY:= Y3>Y1*1.5 AND Y3>Y2*2 AND (H-L)/L*100>=3 AND Y3>=NS AND H>=HHV(H,22);
DRAWICON(SY,V,15);