开始拉升:=zf>10 AND v1 AND v2 AND V3 AND 大60度且5日线 AND V4 AND ZF5,colorgreen,nodraw;
STICKLINE(开始拉升>0 AND 开始拉升>=REF(开始拉升,1),0,开始拉升,8,0),colorgreen;
DRAWTEXT(开始拉升,1.3,"将要拉升"),colorgreen;
DRAWICON(开始拉升,DEA,1);
AAA1:=(DIFF-DEA)*2*60;
短线宝:=CROSS(AAA1-REF(AAA1,1),7) AND DIFF>=DEA AND 大60度且5日线 AND V/REF(MA(V,5),1)*2>=6 AND V4 AND ZF5,coloryellow,nodraw;
STICKLINE(短线宝>0 AND 短线宝>=REF(短线宝,1),0,短线宝,8,0),coloryellow;
DRAWTEXT(短线宝,1.3,"短线买中线将启动"),coloryellow;
DRAWICON(短线宝,DEA,1);
DD:=C=HHV(C,180);
EE:=DEA< REF(DEA,1) AND REF(DEA< REF(DEA,1),1)=1;
CC:=C> REF(C,1) AND REF(C> REF(C,1),1)=1;
顶背:=(DD AND EE AND DEA< HHV(DEA,180))*DEA,STICK,nodraw,coloryellow;;
DRAWICON(顶背,DEA,2);
FF:=C=LLV(C,180);
GG:= DEA> REF(DEA,1) AND REF(DEA> REF(DEA,1),1)=1;
LL:=C< REF(C,1) AND REF(C< REF(C,1),1)=1;
底背:=(FF AND GG AND DEA> LLV(DEA,180))*DEA,STICK,nodraw,coloryellow;;
DRAWICON(底背,DEA,1);
五日总涨幅:=SUM((C-REF(C,1))/REF(C,1)*100,5)<1;
下影线:=(H-L)/L*100>5 AND (MIN(O,C)-L)/L*100>5;
针底:五日总涨幅 AND 下影线 AND DIFF>=DEA,nodraw,coloryellow;;
DRAWICON(针底,DEA,1);
晨星:REF(CLOSE,2)/REF(OPEN,2)<0.95 AND REF(OPEN,1)<REF(CLOSE,2) AND ABS(REF(OPEN,1)-REF(CLOSE,1))/REF(CLOSE,1)<0.03 AND CLOSE/OPEN>1.05 AND CLOSE>REF(CLOSE,2),nodraw,coloryellow;;
DRAWICON(晨星,DEA,1 );
STICKLINE(晨星>0 AND 晨星>=REF(晨星,1),0,晨星,8,),coloryellow;
昏星:=REF(CLOSE,2)/REF(OPEN,2)>1.03 AND REF(OPEN,1)>REF(CLOSE,2) AND ABS(REF(OPEN,1)-REF(CLOSE,1))/REF(CLOSE,1)<0.02 AND CLOSE/OPEN<0.97 AND CLOSE<REF(CLOSE,2),nodraw,colorblue;
DRAWICON(昏星,DEA,2);
穿头破脚:=(REF(CLOSE,1)/REF(OPEN,1)>1.03 AND
CLOSE/OPEN<0.96 AND CLOSE<REF(OPEN,1) AND OPEN>REF(CLOSE,1)) OR
(REF(CLOSE,1)/REF(OPEN,1)<0.97 AND CLOSE/OPEN>1.04 AND
CLOSE>REF(OPEN,1) AND
OPEN<REF(CLOSE,1));
买:=(穿头破脚 AND CLOSE>OPEN AND CLOSE>0);
DRAWICON(买,DEA,1);
卖:=(穿头破脚 AND CLOSE<OPEN);
DRAWICON( 卖,DEA,2),colorblue;
揉搓:REF(V,1)>REF(V,2)*2 AND REF(C,1)>REF(O,1) AND REF(H,1)-REF(C,1)>(REF(C,1)-REF(L,1))
AND MIN(C,O)-L>(H-MIN(C,O)),nodraw,colormagenta;
STICKLINE(揉搓>0 AND 揉搓>=REF(揉搓,1),0,揉搓,8,0),colormagenta;
搓揉2:=(REF(H,1)-MAX(REF(C,1),REF(O,1)))/(REF(H,1)-REF(L,1))>0.7 AND (MIN(O,C)-L)/(H-L)>0.7;
STICKLINE(搓揉2>0 AND 搓揉2>=REF(搓揉2,1),0,搓揉2,8,0),colorlimagenta;
DRAWICON(搓揉2,DEA,1);
DRAWICON(揉搓,DEA,1);
AA:=CLOSE/REF(CLOSE,1)>=1.09;
AB:=VOL/REF(VOL,1);
缩停:AA AND AB<1 AND CLOSE>OPEN,colorgreen,nodraw;
STICKLINE(缩停>0 AND 缩停>=REF(缩停,1),0,缩停,8,0),colorgreen;