转载

MA5:=MA(C,5);
MA10:=MA(C,10);
MA20:=MA(C,20);
MA60:=MA(C,60);
MA120:=MA(C,120);
DIFF:=EMA(CLOSE,12)-EMA(CLOSE,26);
DEA:=EMA(DIFF,9);
AA:=DIFF>DEA AND DIFF>0 AND DIFF>REF(DIFF,1);
BB:=MA5>MA10 AND MA10>MA20 AND MA20>MA60 AND MA60>MA120;
JJ:=MA(C,5)>=REF(MA(C,5),1) AND MA(C,10)>REF(MA(C,10),1) AND MA(C,20)>REF(MA(C,20),1) AND
MA(C,60)>REF(MA(C,60),1) AND MA(C,120)>REF(MA(C,120),1);
NOTST:=(NAMELIKE('ST')=0&&NAMELIKE('*')=0&&NAMELIKE('S')=0)>0;
A:AA AND BB AND JJ AND NOTST;