V1:=(CLOSE-MA(CLOSE,20))/MA(CLOSE,20)*100;
V2:=IF(V1>0,V1,0);
V3:STICKLINE(V1>0,V1,0,3,0),COLORRED;
U4:=EMA(EMA(V1,30),3)*2;
X:=0;
F1:=ZIG(3,15);
阴雨天:IF((F1> REF(F1,1)),0,20),COLORFF9900,LINETHICK1;
STICKLINE(阴雨天=20,20,0,3,0),COLORFF8868;
A:(CLOSE-MA(CLOSE,20))/MA(CLOSE,20)*100,COLORWHITE,LINETHICK1;
B:EMA(EMA(V1,30),3)*2,CIRCLEDOT,COLORFF00FF;
量:=IF(CROSS(0.9,1/VOL*1000>0.01 AND "KDJ.J"<0),1.5,0);
绝底:=IF(L<=LLV(L,100),-1,0);
初晴:=IF(COUNT(C/REF(C,1)<0.96,6)>=1 AND LAST(C<O,2,1) AND (REF(L,1)/REF(C,4)<0.85 OR
L/REF(C,3)<0.85) AND C>O,1.2,0);
雨后见彩虹:IF((阴雨天=0 AND 量 AND 初晴) OR (阴雨天=0 AND 量 AND 绝底) OR
(阴雨天=0 AND 绝底 AND 初晴),5,0),COLORYELLOW,LINETHICK2;
STICKLINE(雨后见彩虹,27,15,1,0),COLORRED;
STICKLINE(雨后见彩虹,15,5,2,0),COLOR00FF00;
STICKLINE(雨后见彩虹,5,0,3,0),COLORFF0080;
DRAWTEXT((雨后见彩虹=5),30,'雨后见彩虹'),COLORYELLOW;