YS1:=(HIGH+LOW+CLOSE*2)/4;RK3:=EMA(YS1,10); RK4:=STD(YS1,10); RK5:=(YS1-RK3)*100/RK4; RK6:=EMA(RK5,5);RK7:=EMA(RK6,10); 涨:EMA(RK6,10)+100/2-5,COLORRED;跌:EMA(涨,4),COLORWHITE;天晴了:IF(OSS(涨,跌) AND 跌<-10,20,0),COLORCCCCFF;雨季将来:IF(CROSS(跌,80),80,100),COLORFF3798;彩虹1:EMA(跌,4),COLORFFFF50;彩虹2:EMA(彩虹1,4);彩虹3:=EMA(彩虹2,4),COLORYELLOW;彩虹4:=EMA(彩虹3,4),COLORCC9900;STICKLINE(涨
[ REF(涨,1),涨,EMA(涨,3),5,0) ,COLOR0066FF;STICKLINE(涨> REF(涨,1),涨,EMA(涨,3),4,0) ,COLOR0088FF; STICKLINE(涨> REF(涨,1),涨,EMA(涨,3),3,0)
]