EMA5:=EMA(CLOSE,5);
EMA10:=EMA(CLOSE,10);
EMA20:=EMA(CLOSE,20);
EMA60:=EMA(CLOSE,60);
EMA120:=EMA(CLOSE,120);
一线金叉:crOSS(EMA5,EMA10) AND CLOSE>OPEN AND CLOSE>REF(CLOSE,1) AND CLOSE/REF(CLOSE,1)>=1.018
OR CROSS(EMA5,EMA120) AND CLOSE>OPEN AND CLOSE>REF(CLOSE,1) AND CLOSE/REF(CLOSE,1)>=1.018
OR CROSS(EMA10,EMA20) AND CLOSE>OPEN AND CLOSE>REF(CLOSE,1) AND CLOSE/REF(CLOSE,1)>=1.018
OR CROSS(EMA5,EMA20) AND CLOSE>OPEN AND CLOSE>REF(CLOSE,1) AND CLOSE/REF(CLOSE,1)>=1.018 AND CROSS(EMA5,EMA60);