VAR1:=EMA((L+H)/1,5)-EMA((L+H)/1,10);
VAR2:=EMA((0.368*REF(VAR1,1)+0.333*VAR1),1);
AA:=C>MA(C,20);
KLXQ:=BARSLASTCOUNT(VAR2>0)=1;
XG:KLXQ AND AA;
VAR1:=EMA((L+H)/1,5)-EMA((L+H)/1,10);
VAR2:=EMA((0.368*REF(VAR1,1)+0.333*VAR1),1);
做多线:=IF(VAR1>=VAR2,VAR1,VAR2);
做空线:=IF(VAR2-VAR1,VAR2,VAR1);
XG:BARSLASTCOUNT(做多线>=0.45 AND 做空线>=0.2)=1;

