以下是通达信乾坤青龙出海指标公式(无源码的请下载附件导入)
HJ_1:=TDXDLL10(1,CLOSE,OPEN,HIGH);
HJ_2:=NOT(REF(COUNT(CLOSE>=OPEN,15)>12,1)) AND (CAPITAL<4700000 OR (CAPITAL>4700000 AND (REF(VOL/CAPITAL*100,1)+REF(VOL/CAPITAL*100,1))/2>8)) AND NOT(REF(OPEN,1)/REF(CLOSE,2)>1.023 AND REF(CLOSE,1)/REF(OPEN,1)>1.013) AND NOT(REF(OPEN,2)=REF(HIGH,2) AND REF(CLOSE,1)<REF(CLOSE,2) AND REF(CLOSE,2)<REF(OPEN,2) AND REF(EVERY(OPEN>REF(CLOSE,1) AND CLOSE>REF(CLOSE,1) AND OPEN>MA(CLOSE,5),2),3));
HJ_3:=NOT(REF(EVERY(OPEN>REF(CLOSE,1) AND CLOSE>REF(CLOSE,1) AND OPEN/CLOSE<1.025,4),2)) AND NOT(REF(OPEN,5)=REF(LOW,5) AND REF(CLOSE,5)/REF(CLOSE,6)>1.07 AND REF(CLOSE,4)/REF(CLOSE,5)<0.95 AND REF(CLOSE,4)=REF(LOW,4)) AND NOT(REF(EVERY(CLOSE>MA(CLOSE,10),15),1)) AND NOT(REF(OPEN,2)>REF(CLOSE,3) AND REF(CLOSE,2)<REF(OPEN,2) AND REF(CLOSE,2)/REF(LOW,2)>1.04 AND REF(HIGH,2)/REF(OPEN,2)<1.006) AND NOT(REF(EVERY(CLOSE>REF(CLOSE,1),6),3)) AND REF(OPEN,1)/REF(LOW,1)<1.028 AND REF(CLOSE,1)/REF(LOW,1)<1.04 AND NOT(REF(EVERY(CLOSE>MA(CLOSE,5),10),1)) AND NOT(REF(CLOSE,3)/REF(CLOSE,4)>1.08 AND REF(HIGH,2)>REF(HIGH,3) AND REF(LOW,2)<REF(LOW,3) AND REF(HIGH,2)/REF(LOW,2)>1.12) AND CLOSE>REF(CLOSE,1);
HJ_4:=HJ_1 AND HJ_2 AND HJ_3;
HJ_5:=TDXDLL10(2,CLOSE,OPEN,HIGH);
HJ_6:=REF(CAPITAL,1)<2100000 AND REF(VOL/CAPITAL*100,1)>5 AND REF(OPEN,1)/REF(LOW,1)<1.001 AND HIGH>REF(CLOSE,1) AND REF(OPEN,1)/REF(LOW,1)<1.025 AND REF(CLOSE,1)/REF(OPEN,1)<1.035 AND REF(CLOSE,2)/REF(CLOSE,3)<1.05 AND REF(COUNT(CLOSE/REF(CLOSE,1)>1.098,30)>0,1) AND NOT(REF(EVERY(CLOSE>REF(CLOSE,1),4),1)) AND REF(CLOSE,1)>REF(OPEN,1) AND OPEN/REF(CLOSE,1)<0.99 AND CLOSE>OPEN;
HJ_7:=HJ_5 AND HJ_6;
HJ_8:=TDXDLL10(3,CLOSE,OPEN,HIGH);
HJ_9:=REF(CLOSE,2)/REF(CLOSE,3)<1.05 AND REF(COUNT(CLOSE/REF(CLOSE,1)>1.098,30)>0,1) AND NOT(REF(EVERY(CLOSE>REF(CLOSE,1),4),1)) AND REF(CLOSE,1)>REF(OPEN,1) AND CLOSE>OPEN AND REF(CAPITAL,1)<10000000;
HJ_10:=HJ_8 AND HJ_9;
青龙出海:HJ_4 OR HJ_7 OR HJ_10;
{-----------------------------------}
|