以下是通达信抓短牛升级1源码(无源码的请下载附件导入)
HJ_1:=MA(CLOSE,5)>MA(CLOSE,10) AND MA(CLOSE,10)>MA(CLOSE,20);
HJ_2:=MAX(REF(CLOSE,1),REF(OPEN,1))/MIN(REF(CLOSE,1),REF(OPEN,1))<1.01;
HJ_3:=CLOSE/REF(CLOSE,1)>1.0395;
HJ_4:=NOT(REF(CLOSE,1)/REF(CLOSE,2)>1.07);
HJ_5:=NOT(OPEN/REF(CLOSE,1)>1.095 AND LOW=OPEN) AND OPEN/REF(CLOSE,1)<1.07;
HJ_6:=MA(CLOSE,5)>MA(CLOSE,60) AND MA(CLOSE,5)>MA(CLOSE,120) AND MA(CLOSE,10)>MA(CLOSE,30);
HJ_7:=MIN(REF(CLOSE,1),REF(OPEN,1))/REF(MA(CLOSE,5),1)<1.02;
HJ_8:=REF(MA(CLOSE,10),1)/REF(MA(CLOSE,20),1)<1.03 AND REF(MA(CLOSE,5),1)/REF(MA(CLOSE,10),1)<1.03;
HJ_9:=MA(CLOSE,20)>MA(CLOSE,120) AND MA(CLOSE,20)>MA(CLOSE,60);
HJ_10:=EVERY(MA(CLOSE,5)>MA(CLOSE,10),3) AND REF(MA(CLOSE,10),1)>REF(MA(CLOSE,20),1);
HJ_11:=REF(HIGH,1)/MAX(REF(CLOSE,1),REF(OPEN,1))<1.05;
HJ_12:=REF(CLOSE,2)/REF(CLOSE,3)<1.05;
HJ_13:=REF(MA(CLOSE,5),1)>REF(MA(CLOSE,30),1);
HJ_14:=IF(NAMELIKE(81),0,1) AND IF(NAMELIKE(82),0,1);
HJ_15:=DYNAINFO(4)>0;
HJ_16:=HJ_14 AND HJ_15;
TJXG:HJ_1 AND HJ_2 AND HJ_3 AND HJ_4 AND HJ_5 AND HJ_6 AND HJ_7 AND HJ_8 AND HJ_9 AND HJ_10 AND HJ_11 AND HJ_12 AND HJ_13 AND HJ_16;
{-----------------------------------}
731277081.png
|