2、5)andvol>ma(vol,5)and(c-ref(c,1))/ref(c,1)*100>3;芙蓉出水:bbandccanddd,coloryellow;drawtext(芙蓉出水,h*1.05,'★'),coloryellow;drawtext(芙蓉出水,h*1.02,'芙蓉出水'),coloryellow;stickline(芙蓉出水,h,l,0.5,0),coloryellow;stickline(芙蓉出水,o,c,5,0),coloryellow,linethick2;ZDF:=(C-REF(C,
3、1))/REF(C,1)*100;STICKLINE(ZDF>9.8,O,C,6,0),COLORRED;STICKLINE(ZDF<-9.8,O,C,6,0),COLORBLUE;X1:=CLOSE/OPEN<0.97ANDCLOSE/OPEN>0.917;X2:=CLOSEMA(CLOSE,5)ANDHIGH>MA(CLOSE,10)AN
4、DHIGH>MA(CLOSE,20)ANDHIGH>MA(CLOSE,30);DRAWTEXT(X1ANDX2ANDX3,H+0.15,'断头铡刀'),color00ff00;断头铡刀:x1andx2andx3,color00ff00;stickline(断头铡刀,h,l,0.5,0),color00ff00;stickline(断头铡刀,o,c,5,0),color00ff00,linethick2;STICKLINE(MA1>=MA3ANDMA3>=MA2,MA2,MA3,3,1),COLORWHITE;
5、STICKLINE(MA1>=MA2ANDMA1CANDREF
6、(DIFF,A1+1)0,5),L*0.94,10);DRAWTEXT(FILTER(B1>0,5),L*0.94,'M底'),COLORGREEN;{MACD底背离}A2:=BARSLAST(REF(CROSS("KDJ.K"(9,3,3),"KDJ.D"(9,3,3)),1));B2:=REF(C,A2+1)>CANDREF("KDJ.K"(9,3,3),A2+1)<"KDJ.K"(9,3,3)ANDCROSS("KDJ
7、.K"(9,3,3),"KDJ.D"(9,3,3));DRAWICON(FILTER(B2>0,5),L*0.96,10);DRAWTEXT(FILTER(B2>0,5),L*0.96,'K底'),COLORYELLOW;{KDJ底背离}A3:=BARSLAST(REF(CROSS("RSI.RSI1"(6,12,24),"RSI.RSI2"(6,12,24)),1));B3:=REF(C,A3+1)>CANDREF("RSI.RSI1"(6,12,24),A3+1)<"RSI.RSI1"(6,12,24)A
8、NDCROSS("RSI.RSI1"(6,12,24),"RSI.RSI2"(6,12,24));DRAWICON(FILTER(B3>0,5),L*0.98,10);DRAWTEXT(FILTER(B3>0,5),L*0.98,'R底'),COLORFFFF00;{RSI底背离}C1:=BARSLAST(REF(CROSS(DEA,DIFF),1));D1:=REF(C,C1+1)