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;
跌:=EMA(涨,4);
天晴了:=IF(crOSS(涨,跌) AND 跌<-10,20,0);
红箭头:天晴了 AND IF(EMA((CLOSE+HIGH+LOW)/3,10)>REF(EMA((CLOSE+HIGH+LOW)/3,10),1),EMA((CLOSE+HIGH+LOW)/3,10),0);