以下是通达信超短至尊源码(无源码的请下载附件导入)
HJ_1:=(CLOSE-REF(CLOSE,1))/REF(CLOSE,1)*100;
HJ_2:=(CLOSE-SG-SMX.ZY1(13))/SG-SMX.ZY1(13)*100;
夜刀涨停王:HJ_1>6.5 AND REF(HJ_2,1)<6 AND NOT(OPEN=HIGH);
{-----------------------------------}
HJ_1:=BARSCOUNT(CLOSE)>80 AND NOT(REF(HIGH,2)>REF(MA(CLOSE,20)+2*STD(CLOSE,20),2) AND REF(CLOSE,2)<REF(MA(CLOSE,20)+2*STD(CLOSE,20),2) AND REF(EVERY(CLOSE<MA(CLOSE,20)+2*STD(CLOSE,20),5),2)) AND NOT(REF(HIGH,3)>REF(MA(CLOSE,20)+2*STD(CLOSE,20),3) AND REF(CLOSE,3)<REF(MA(CLOSE,20)+2*STD(CLOSE,20),3) AND REF(EVERY(CLOSE<MA(CLOSE,20)+2*STD(CLOSE,20),5),3));
HJ_2:=NOT(REF(EVERY(CLOSE>REF(CLOSE,1) AND CLOSE>OPEN,7),4)) AND REF(HHV(HIGH,3),2)/REF(LOW,1)>1.09 AND NOT(REF(OPEN,2)/REF(CLOSE,2)>1.09 AND REF(VOL,2)>REF(HHV(VOL,100),3)) AND NOT(REF(COUNT(HIGH>MA(CLOSE,250) AND HIGH/MA(CLOSE,250)<1.04,3)>0,1));
HJ_3:=TDXDLL8(1,5,0,CLOSE);
HJ_4:=TDXDLL8(2,5,0,0);
HJ_5:=TDXDLL8(3,5,0,0);
HJ_6:=TDXDLL8(1,4,0,CLOSE);
HJ_7:=TDXDLL8(1,4,3,OPEN);
HJ_8:=TDXDLL8(2,4,0,0);
HJ_9:=TDXDLL8(3,4,0,0);
HJ_10:=HJ_1 AND HJ_2 AND HJ_5 AND HJ_9;
HJ_11:=NOT(REF(EVERY(CLOSE/REF(CLOSE,1)>1.01 AND CLOSE>OPEN,4),3)) AND REF(CLOSE,2)>REF(OPEN,2) AND REF(OPEN,1)<REF(CLOSE,2) AND REF(HIGH,2)/REF(LOW,1)>1.08 AND REF(CLOSE,1)/REF(LOW,1)>1.003 AND REF(CLOSE,1)/REF(CLOSE,2)>0.92;
HJ_12:=TDXDLL8(1,3,0,CLOSE);
HJ_13:=TDXDLL8(1,3,1,HIGH);
HJ_14:=TDXDLL8(1,3,3,OPEN);
HJ_15:=TDXDLL8(2,3,0,0);
HJ_16:=TDXDLL8(3,3,0,0);
HJ_17:=HJ_11 AND HJ_16;
HJ_18:=HJ_10 OR HJ_17;
HJ_19:=NOT(NAMELIKE(1) OR NAMELIKE(2));
超短至尊:HJ_18 AND HJ_19;
{-----------------------------------}
|