量比:=1.2;
涨幅:=3;
N1:=5;
N2:=10;
高于J天:=10;
X_1:=1;
X_2:=MA(CLOSE,N1);
X_3:=MA(CLOSE,N2);
CLOSE>MA(CLOSE,5) AND CLOSE>MA(CLOSE,10) AND MA(CLOSE,5)>REF(MA(CLOSE,5),1) AND MA(CLOSE,10)>REF(MA(CLOSE,10),1) AND CLOSE/REF(CLOSE,1)>1+涨幅/100 AND vol>REF(VOL,1)*量比 AND REF(CLOSE,1)/REF(OPEN,1)<=1.2 AND VOL<REF(VOL,1)*5 AND CLOSE>=REF(HHV(HIGH,高于J天),1) AND BARSCOUNT(CLOSE)>高于J天 AND X_1;