以下是通达信板块龙头启动源码(无源码的请下载附件导入)
HJ_1:=BARSCOUNT(CLOSE)>250 AND DYNAINFO(17)>2.5;
HJ_2:=HY_INDEXC/REF(HY_INDEXC,1)>1.02 AND HY_INDEXADV/(HY_INDEXADV+HY_INDEXDEC)>0.6;
HJ_3:=ABS(CLOSE-REF(CLOSE,5))/CLOSE<0.1;
HJ_4:=CLOSE/OPEN>1.03 AND CLOSE>REF(CLOSE,2);
HJ_5:=CLOSE/REF(CLOSE,1)>1.05 AND DYNAINFO(7)>DYNAINFO(11);
HJ_6:=IF(CLOSE=OPEN AND CLOSE=HIGH,1,0);
抓板:HJ_1 AND HJ_2 AND HJ_4 AND HJ_5 AND HJ_6=0;
{-----------------------------------}
|