通达信短线突破选股指标

VAR1:=DYNAINFO(4)=0;

VAR2:=REF(CLOSE,17) < REF(HHV(HIGH,250),18);

VAR3:=REF(CLOSE,18) < REF(HHV(HIGH,250),19);

VAR4:=REF(CLOSE,19) < REF(HHV(HIGH,250),20);

VAR5:=REF(CLOSE,20) < REF(HHV(HIGH,250),21);

XG1:=CLOSE >=REF(HHV(HIGH,250),1) AND REF(CLOSE,1) < REF(HHV(HIGH,250),2) AND REF(CLOSE,2) < REF(HHV(HIGH,250),3) AND REF(CLOSE,3) < REF(HHV(HIGH,250),4) AND REF(CLOSE,4) < REF(HHV(HIGH,250),5) ;

XG2:=REF(CLOSE,5) < REF(HHV(HIGH,250),6) AND REF(CLOSE,6) < REF(HHV(HIGH,250),7) AND REF(CLOSE,7) < REF(HHV(HIGH,250),8) AND REF(CLOSE,8) < REF(HHV(HIGH,250),9) AND REF(CLOSE,9) < REF(HHV(HIGH,250),10) ;

XG3:=REF(CLOSE,10) < REF(HHV(HIGH,250),11) AND REF(CLOSE,12) < REF(HHV(HIGH,250),13) AND REF(CLOSE,13) < REF(HHV(HIGH,250),14) AND REF(CLOSE,14) < REF(HHV(HIGH,250),15) ;

XG4:=REF(CLOSE,16) < REF(HHV(HIGH,250),17) AND VAR2 AND VAR3 AND VAR4 AND VAR5 AND NOT(VAR1);

XG:XG1 AND XG2 AND XG3 AND XG4;

(0)

相关推荐