XB_1:=IF(DATE<=1211231,1,1);
XB_2:=EMA(CLOSE,3);
XB_3:=EMA(CLOSE,20);
XB_4:=EMA(CLOSE,60);
XB_5:=ATAN((XB_4-REF(XB_4,1))/XB_4*10)/3.142*180;
紫绿红:XB_5>0 AND CLOSE>MA(CLOSE,60) AND CLOSE>MA(CLOSE,20);
XB_1:=IF(DATE<=1211231,1,1);
XB_2:=EMA(CLOSE,3);
XB_3:=EMA(CLOSE,20);
XB_4:=EMA(CLOSE,60);
XB_5:=ATAN((XB_4-REF(XB_4,1))/XB_4*10)/3.142*180;
紫绿红:XB_5>0 AND CLOSE>MA(CLOSE,60) AND CLOSE>MA(CLOSE,20);