VAR2:=(H+L+C*3)/5;
VAR3:=EMA(VAR2,20);
VAR4:=STD(VAR2,20);
VAR5:=((VAR2-VAR3)/VAR4*100+200)/4;
VAR6:=(EMA(VAR5,5)-25)*1.56;
AK:= EMA(VAR6,2)*1.22;
AD1:= EMA(AK,2);
AJ:= 3*AK-2*AD1;
AJ1:=MA(AJ,3);
去除ST:=EXIST(C/REF(C,1)>1.055,70);
去除停牌:=DYNAINFO(4)>1;
{股票指标网}
条件:=去除ST AND 去除停牌 AND C>REF(C,1)*1.019 AND V>REF(V,1)*1.016;
买进: IF((CROSS(AK,AD1) AND MA(C,5)>=MA(C,12)) OR (CROSS(AJ,AJ1) AND AJ>=5) OR CROSS(AJ,19) AND H/C<1.022 AND C>=O*1.009,1,0) AND 条件 ;