YS1:=(HIGH+LOW+CLOSE*2)/4;
RK3:=EMA(YS1,75);
RK4:=STD(YS1,75);
RK5:=(YS1-RK3)*100/RK4;
RK6:=EMA(RK5,75);
RK7:=EMA(RK6,75);
涨:EMA(RK6,45)+100/2-5,LINETHICK1,colorred;
跌:EMA(涨,60),LINETHICK1,colorwhite;
雨季:IF(CROSS(涨,150),0,150),colorgreen,LINETHICK2;
彩虹1:EMA(跌,12),COLORF00FF0;
彩虹2:EMA(彩虹1,18),colorgreen;
彩虹3:=EMA(彩虹2,18),coloryellow;
彩虹4:=EMA(彩虹3,18),COLORCC9900;
STICKLINE(涨<REF(涨,1),涨,MA(涨,3),0,0 ),COLOR00FF00;
STICKLINE(涨<REF(涨,1),涨,MA(涨,3),8,0 ),COLOR008800;
STICKLINE(涨<REF(涨,1),涨,MA(涨,3),7,0 ),COLOR009900;
STICKLINE(涨<REF(涨,1),涨,MA(涨,3),6,0 ),COLOR00AA00;
STICKLINE(涨<REF(涨,1),涨,MA(涨,3),5,0 ),COLOR00BB00;
STICKLINE(涨<REF(涨,1),涨,MA(涨,3),4,0 ),COLOR00CC00;
STICKLINE(涨<REF(涨,1),涨,MA(涨,3),3,0 ),COLOR00DD00;
STICKLINE(涨<REF(涨,1),涨,MA(涨,3),2,0 ),COLOR00EE00;
STICKLINE(涨<REF(涨,1),涨,MA(涨,3),1,0 ),COLOR00FF00;
STICKLINE(涨> REF(涨,1),涨,EMA(涨,3),0,0) ,COLOR00BBFF;
STICKLINE(涨> REF(涨,1),涨,EMA(涨,3),8,0) ,COLOR0011FF;
STICKLINE(涨> REF(涨,1),涨,EMA(涨,3),7,0) ,COLOR0022FF;
STICKLINE(涨> REF(涨,1),涨,EMA(涨,3),6,0) ,COLOR0044FF;
STICKLINE(涨> REF(涨,1),涨,EMA(涨,3),5,0) ,COLOR0066FF;
STICKLINE(涨> REF(涨,1),涨,EMA(涨,3),4,0) ,COLOR0088FF;
STICKLINE(涨> REF(涨,1),涨,EMA(涨,3),3,0) ,COLOR0099FF;
STICKLINE(涨> REF(涨,1),涨,EMA(涨,3),2,0) ,COLOR00AAFF;
STICKLINE(涨> REF(涨,1),涨,EMA(涨,3),1,0) ,COLOR00BBFF;
天晴2:IF(CROSS(涨,彩虹2) AND 彩虹2<0 AND 彩虹2<-50,39,0),LINETHICK2,colorred;
天晴1:IF(CROSS(涨,彩虹2) AND 彩虹2<30 AND 彩虹2>0,39,0),LINETHICK2,colorred;
雨季1:IF(CROSS(0,跌),100,150),LINETHICK2,colorgreen;
雨季2:IF(CROSS(跌,涨) AND 涨>150,0,150),LINETHICK3,colorgreen;