此指标自己一直在使用 擒牛诀稳赢 通达信指标 源码
2018-06-19 09:00:00来源:本站整理浏览:463
此指标自己一直在使用 擒牛诀稳赢 通达信指标 源码
HJ_1:=TDXDLL8(4,0,0,0);
HJ_2:=TDXDLL8(1,14,0,CLOSE);
HJ_3:=TDXDLL8(1,14,1,HIGH);
HJ_4:=TDXDLL8(1,14,2,LOW);
HJ_5:=TDXDLL8(1,14,3,OPEN);
HJ_6:=TDXDLL8(2,14,0,0);
HJ_7:=TDXDLL8(3,14,0,0);
HJ_8:=TDXDLL8(5,0,0,0);
HJ_9:=REF(COUNT(REF(CLOSE,1)/REF(CLOSE,2)>1.05 AND OPEN>REF(CLOSE,1) AND OPEN=HIGH AND CLOSE/OPEN<0.98,3)<1,1) AND REF(CLOSE,1)/REF(MA(CLOSE,20),1)<1.18;
HJ_10:=HJ_7 AND HJ_9;
HJ_11:=CAPITAL<10000000 AND REF(MA(CLOSE,10)>MA(CLOSE,20) AND MA(CLOSE,60)>MA(CLOSE,120) AND MA(CLOSE,20)>REF(MA(CLOSE,20),1) AND MA(CLOSE,250)/REF(MA(CLOSE,250),1)>0.9995 AND MA(CLOSE,20)>MA(CLOSE,60),1) AND NOT(REF(OPEN,2)/REF(CLOSE,3)>1.05 AND REF(CLOSE,2)<REF(OPEN,2) AND REF(CLOSE,2)>REF(CLOSE,3) AND REF(VOL,2)>REF(HHV(VOL,30),3));
HJ_12:=FILTER(HJ_10 AND HJ_11,7);
HJ_13:=REF(CLOSE,3)/REF(CLOSE,4)>1.098 AND REF(CLOSE,1)/REF(MA(CLOSE,60),1)<1.1 AND REF(MA(CLOSE,60),1)>REF(MA(CLOSE,60),2) AND REF(HIGH,1)>REF(MAX(CLOSE,OPEN),1) AND REF(MA(CLOSE,5),1)>REF(MA(CLOSE,60),1) AND (REF(MIN(CLOSE,OPEN),1)-REF(LOW,1))/(REF(HIGH,1)-REF(MAX(CLOSE,OPEN),1))>1.7 AND REF(HIGH,2)/REF(LOW,1)>1.05 AND REF(CLOSE,1)<REF(MIN(CLOSE,OPEN),2) AND REF(CLOSE,1)<REF(CLOSE,2) AND REF(OPEN,1)/REF(CLOSE,2)<0.99 AND REF(MIN(CLOSE,OPEN),1)/REF(LOW,1)>1.01 AND REF(CLOSE,2)>REF(CLOSE,3) AND REF(MIN(CLOSE,OPEN),2)/REF(LOW,2)>1.025 AND (REF(MIN(CLOSE,OPEN),2)-REF(LOW,2))/(REF(HIGH,2)-REF(MAX(CLOSE,OPEN),2))>1.7 AND REF(MA(CLOSE,5),1)>REF(MA(CLOSE,5),2) AND REF(MA(CLOSE,10),1)>REF(MA(CLOSE,10),2) AND CLOSE/REF(CLOSE,1)>1.02;
HJ_14:=REF(CLOSE,2)/REF(LOW,1)>1.07 OR REF(HIGH,1)/REF(LOW,1)>1.07 AND REF(CLOSE,2)/REF(CLOSE,13)<1.4 AND REF(MA(CLOSE,60),1)>REF(MA(CLOSE,60),2) AND REF(CLOSE,1)/REF(MA(CLOSE,20),1)>0.9 AND REF(CLOSE,1)/REF(MA(CLOSE,20),1)<1.185 AND (REF(CLOSE,1)/REF(CLOSE,2)<0.96 OR REF(CLOSE,1)/REF(OPEN,1)<0.94) AND REF(CLOSE,1)/REF(CLOSE,2)>0.906 AND REF(CLOSE,2)/REF(CLOSE,3)>1.098 AND REF(COUNT(COUNT(CLOSE/REF(CLOSE,1)>1.098,3)>1,5)=0,1) AND REF(MA(CLOSE,20),1)>REF(MA(CLOSE,20),2) AND REF(CLOSE,1)>REF(REF(LOW,BARSLAST(CLOSE/REF(CLOSE,1)>1.098)),1) AND REF(CLOSE,1)/REF(CLOSE,2)<0.97 AND OPEN/REF(CLOSE,1)<1.006 AND REF(COUNT(CLOSE/REF(CLOSE,1)>1.098,4)>0,1) AND CLOSE/REF(CLOSE,1)>1.03;
擒牛诀稳赢:HJ_12 OR HJ_13 OR HJ_14;
{-----------------------------------}