Var1:=(HIGH+LOW+CLOSE)/3;
A1:=EMA((HHV(var1,60)-var1)/(HHV(var1,60)-LLV(var1,60)),5)*-1000,coloryellow;
B2:=EMA((HHV(var1,60)-var1)/(HHV(var1,60)-LLV(var1,60)),15)*-1000,colorgreen;
C3:=EMA((HHV(var1,60)-var1)/(HHV(var1,60)-LLV(var1,60)),30)*-1000,colorred;
D4:=EMA((HHV(var1,60)-var1)/(HHV(var1,60)-LLV(var1,60)),60)*-1000,colorcyan;
交叉选股:crOSS(A1,B2) AND D4>C3 AND C3>B2;