通达信突破龙头指标公式
HJ_1:=DYNAINFO(4)>0 AND HHV(HIGH,10)/LLV(LOW,10)<1.25 AND REF(CLOSE,1)<LLV(LOW,15)+(HHV(HIGH,15)-LLV(LOW,15))*0.85 AND CLOSE>OPEN AND CLOSE>=HHV(HIGH,10);
HJ_2:=IF(DATETODAY(DATE)<999999999,1,DRAWNULL);
HJ_3:=EMA(CLOSE,5);
HJ_4:=EMA(CLOSE,10);
HJ_5:=EMA(CLOSE,14);
HJ_6:=EMA(CLOSE,18);
HJ_7:=EMA(CLOSE,40);
HJ_8:=EMA(CLOSE,60);
HJ_9:=IF(DATE<999999999,1,DRAWNULL);
HJ_10:=MAX(HJ_7,HJ_8);
HJ_11:=CLOSE>HJ_10 AND HJ_1 AND (CLOSE>REF(HHV(HIGH,3),1)*HJ_2 AND (CLOSE-REF(CLOSE,1))/REF(CLOSE,1)>0.07);
HJ_12:=VOL;
HJ_13:=MA(HJ_12,5);
HJ_14:=HJ_13+HJ_13>HJ_12;
HJ_15:=DYNAINFO(4)>0 AND HHV(HIGH,10)/LLV(LOW,10)<1.25 AND REF(CLOSE,1)<(LLV(LOW,15)+(HHV(HIGH,15)-LLV(LOW,15))*0.85)*HJ_2 AND CLOSE>OPEN AND CLOSE>=HHV(HIGH,10)*HJ_9;
HJ_16:=(CLOSE>REF(HHV(HIGH,3),1)*HJ_2 AND (CLOSE-REF(CLOSE,1))/REF(CLOSE,1)>0.07)*HJ_2 AND HJ_15 AND HJ_14;
HJ_17:=DYNAINFO(4)>0 AND HHV(HIGH,10)/LLV(LOW,10)<1.25 AND REF(CLOSE,1)*HJ_2<LLV(LOW,15)+(HHV(HIGH,15)-LLV(LOW,15))*0.85 AND CLOSE>OPEN AND CLOSE>=HHV(HIGH,10);
HJ_18:=(CLOSE-REF(CLOSE,1)*HJ_2)/REF(CLOSE,1)*100>7;
HJ_19:=HJ_17 AND HJ_18;
HJ_20:=DATETODAY(DATE);
HJ_21:=HJ_20>9344 AND HJ_20<999999999;
HJ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)*HJ_9;
HJ_57:=MA(100*HJ_54/(HJ_54+HJ_55),6)*HJ_9;
HJ_58:=MA(CLOSE,5)/MA(CLOSE,10)>0.999 AND MA(CLOSE,10)/MA(CLOSE,20)>0.9847 AND MA(CLOSE,20)>MA(CLOSE,60) AND REF(COUNT(MA(CLOSE,10)/MA(CLOSE,20)<1.017 OR MA(CLOSE,5)/MA(CLOSE,10)<1.017,8)>=1,1) AND MA(CLOSE,20)/MA(CLOSE,60)<1.121;
HJ_59:=(CLOSE-MA(CLOSE,60))/MA(CLOSE,60)*100;
HJ_60:=COUNT(HJ_59<35,100)>=95;
HJ_61:=HJ_43 AND HJ_58>0 AND NOT(DYNAINFO(4)=0) AND HJ_60 AND REF(COUNT(MA(CLOSE,20)>MA(CLOSE,30),4)=4 AND COUNT(CLOSE>MA(CLOSE,5),3)>=2,1) AND VOL>REF(VOL,1) AND (REF(COUNT(CLOSE>OPEN,10)>=6 OR COUNT(CLOSE>OPEN,5)>=4,1) OR CLOSE=HIGH) AND (CROSS(HJ_57,HJ_56) OR CROSS(HJ_44,0) OR REF(COUNT(CROSS(HJ_44,0),3)=1 AND HJ_44<0.15 AND CLOSE/OPEN>0.989 AND CLOSE/REF(CLOSE,1)<1.03,1) OR CROSS(HJ_45,HJ_46) OR CROSS(HJ_47,HJ_48)) AND REF(CLOSE/OPEN>0.988 AND (CLOSE>OPEN OR (CLOSE<=OPEN AND HIGH/LOW<1.049)),1) AND HIGH/CLOSE<1.013 AND CLOSE/OPEN>1.05;
HJ_62:=HJ_11+HJ_16+HJ_19+HJ_32+HJ_61>=2;
HJ_63:=MA(CLOSE,5)>MA(CLOSE,10) AND MA(CLOSE,10)>MA(CLOSE,20) AND MA(CLOSE,20)>MA(CLOSE,60) AND MA(CLOSE,60)>MA(CLOSE,120) AND MA(CLOSE,5)>REF(MA(CLOSE,5),1);
HJ_64:=CLOSE>REF(CLOSE,1)*1.1-0.01;
HJ_65:=HHV(HIGH,20)=HHV(CLOSE,1) AND VOL>0 AND BARSCOUNT(CLOSE)*HJ_2>=20;
HJ_66:=VOL/REF(VOL,1)*HJ_2>1.9;
HJ_67:=HJ_63 AND HJ_64 AND HJ_65 AND HJ_66;
HJ_68:=MA(CLOSE,5);
HJ_69:=MA(CLOSE,10);
HJ_70:=MA(CLOSE,20);
HJ_71:=MA(CLOSE,30);
HJ_72:=MA(CLOSE,60);
HJ_73:=CLOSE>HJ_68 AND HJ_68>HJ_69 AND HJ_69>HJ_70 AND CLOSE>HJ_72;
HJ_74:=CLOSE/REF(CLOSE,1)>1.05 AND REF(CLOSE,1)/REF(CLOSE,2)<1.05 AND CLOSE/LLV(CLOSE,10)<1.4;
HJ_75:=VOL/REF(VOL,1)>2 OR VOL=HHV(VOL,15);
HJ_76:=CAPITAL<10000000;
HJ_77:=ATAN((MA(CLOSE,5)/REF(MA(CLOSE,5),1)-1)*100)*57.299999>40;
HJ_78:=ATAN((MA(CLOSE,10)/REF(MA(CLOSE,10),1)-1)*100)*57.299999>30;
HJ_79:=ATAN((MA(CLOSE,20)/REF(MA(CLOSE,20),1)-1)*100)*57.299999>20;
HJ_80:=ATAN((MA(CLOSE,30)/REF(MA(CLOSE,30),1)-1)*100)*57.299999>10;
HJ_81:=HJ_77 AND HJ_78 AND HJ_79 AND HJ_80;
HJ_82:=KDJ.K>REF(KDJ.K,1)*HJ_2;
HJ_83:=KDJ.D>REF(KDJ.D,1)*HJ_2 AND KDJ.D<70;
HJ_84:=KDJ.J>REF(KDJ.J,1)*HJ_2;
HJ_85:=HJ_82 AND HJ_83 AND HJ_84;
HJ_86:=HJ_7 AND HJ_74 AND HJ_75 AND HJ_76 AND HJ_81 AND HJ_85;
HJ_87:=FILTER(HJ_86,15)*HJ_2;
HJ_88:=HJ_67 OR HJ_87;
龙头:DATE<999999999 AND ((HJ_88 AND HJ_62)*HJ_2 OR HJ_35 OR HJ_22),COLORRED;
STICKLINE(龙头,0,50,6,0),COLOR009999;
STICKLINE(龙头,0,50,5,0),COLOR009999;
STICKLINE(龙头,0,50,4,0),COLOR009999;
STICKLINE(龙头,0,50,2,0),COLOR00BBBB;
STICKLINE(龙头,0,50,1,0),COLOR00DDDD;
STICKLINE(龙头,0,50,0.4,0),COLORYELLOW;
STICKLINE(龙头,50,10,0.5,0),COLORRED;
页:
[1]