核心主图副图,抓妖关键公式通达信指标主图副图选股指标
<p data-first-child></p><p >主图指标<br/></p><p >DRAWGBK(CLOSE>0,RGB(150,50,175),RGB(0,25,100),0,2,0);</p><p >DRAWTEXT_FIX(CURRBARSCOUNT=1,0.5,0,0,1),COLORCYAN;</p><p >赚钱轨道:(MA(CLOSE,3)+MA(CLOSE,6)+MA(CLOSE,12)+MA(CLOSE,24))/4,COLORRED,LINETHICK2;</p><p >X_1:=MA(CLOSE,20);</p><p >DRAWBAND(赚钱轨道,RGB(155,50,50),X_1,RGB(0,100,50));</p><p >IF(赚钱轨道<X_1 OR CLOSE<赚钱轨道,赚钱轨道,DRAWNULL),COLORBLUE,LINETHICK2;</p><p >拉升线:IF(赚钱轨道>X_1,X_1,DRAWNULL),COLORMAGENTA,LINETHICK3;</p><p >下跌线:IF(赚钱轨道<=X_1,X_1,DRAWNULL),COLORLIBLUE,LINETHICK2;</p><p >X_2:=(CLOSE+HIGH+LOW+OPEN)/4;</p><p >X_3:=MA((CLOSE*2+HIGH)/3,5);</p><p >X_4:=MA((OPEN*2+HIGH)/3,5);</p><p >X_5:=MA((CLOSE+LOW*2)/3,5);</p><p >X_6:=MA((OPEN+LOW*2)/3,5);</p><p >X_7:=OPEN+(CLOSE-OPEN)/2;</p><p >DRAWKLINE(HIGH,OPEN,LOW,CLOSE);</p><p >STICKLINE(DMI.PDI>DMI.MDI,CLOSE,OPEN,2.9,0),COLOR000099;</p><p >STICKLINE(DMI.PDI>DMI.MDI,CLOSE,OPEN,1.5,0),COLOR0000CC;</p><p >STICKLINE(DMI.PDI>DMI.MDI,CLOSE,OPEN,0.1,0),COLOR9966FF;</p><p >STICKLINE(X_3>=X_4,CLOSE,OPEN,2.9,0),COLOR000099;</p><p >STICKLINE(X_3>=X_4,CLOSE,OPEN,1.5,0),COLOR0000CC;</p><p >STICKLINE(X_3>=X_4,CLOSE,OPEN,0.1,0),COLOR9966FF;</p><p >STICKLINE(X_3<X_4 AND DMI.PDI<DMI.MDI,CLOSE,OPEN,2.9,0),COLOR999900;</p><p >STICKLINE(X_3<X_4 AND DMI.PDI<DMI.MDI,CLOSE,OPEN,1.5,0),COLORCCCC00;</p><p >STICKLINE(X_3<X_4 AND DMI.PDI<DMI.MDI,CLOSE,OPEN,0.1,0),COLORFFFF66;</p><p >STICKLINE(X_3>=X_4 AND CLOSE<X_4,X_7,MAX(OPEN,CLOSE),2.8,0),COLORMAGENTA;</p><p >STICKLINE(CROSS(X_3,X_4),CLOSE,OPEN,2.8,0),COLORYELLOW;</p><p >STICKLINE(X_3<X_4 AND (CROSS(CLOSE,X_6) OR CROSS(X_2,X_6)),X_7,MIN(CLOSE,OPEN),2.8,0),COLORWHITE;</p><p >STICKLINE(CROSS(X_4,X_3) AND CLOSE<OPEN AND DMI.PDI<DMI.MDI,CLOSE,OPEN,2.8,0),COLORFF3300;</p><p >X_8:=REF(OPEN,1);</p><p >X_9:=SMA(MAX(OPEN-X_8,0),6,1)/SMA(ABS(OPEN-X_8),6,1)*100;</p><p >X_10:=REF(CLOSE,1);</p><p >X_11:=SMA(MAX(CLOSE-X_10,0),6,1)/SMA(ABS(CLOSE-X_10),6,1)*100;</p><p >X_12:=REF(HIGH,1);</p><p >X_13:=SMA(MAX(HIGH-X_12,0),6,1)/SMA(ABS(HIGH-X_12),6,1)*100;</p><p >X_14:=REF(LOW,1);</p><p >X_15:=SMA(MAX(LOW-X_14,0),6,1)/SMA(ABS(LOW-X_14),6,1)*100;</p><p >X_16:=(MIN(OPEN,CLOSE)-LOW)/LOW*100>VOL/CAPITAL*0.001;</p><p >X_17:=(HHV(HIGH,5)-CLOSE)/(HHV(HIGH,21)-LLV(LOW,13))*100;</p><p >X_18:=(CLOSE-REF(CLOSE,1))/REF(CLOSE,1)*100;</p><p >X_19:=EMA(X_18,8)*10<(-26);</p><p >X_20:=IF(X_16 AND MA(X_17,5)<50 AND X_19,30,0);</p><p >X_21:=X_9;</p><p >X_22:=X_11;</p><p >X_23:=X_13;</p><p >X_24:=X_15;</p><p >X_25:=MIN(MIN(MIN(X_21,X_22),X_23),X_24);</p><p >X_26:=MAX(MAX(MAX(X_21,X_22),X_23),X_24);</p><p >DRAWICON(LLV(X_25,5)<=20 OR LLV(X_26,5)<=30 AND CROSS(X_3,X_4),HIGH,9);</p><p >X_27:=VOL>REF(VOL,1)*2 AND (CLOSE>=OPEN OR CLOSE>REF(CLOSE,1));</p><p >STICKLINE(X_27,CLOSE,OPEN,0.5,0),COLOR0088FF;</p><p >DRAWTEXT(CROSS(X_4,X_3) AND CLOSE<赚钱轨道,HIGH,5),COLORCYAN;</p><p >X_28:=(CLOSE+LOW+HIGH)/3;</p><p >X_29:=ATAN(EMA(X_28,13)-REF(EMA(X_28,13),1))*3.1416*10;</p><p >X_30:=EMA(CLOSE,8);</p><p >DRAWTEXT(FILTER(X_29>1 AND EMA(X_28,13)>REF(EMA(X_28,8),1),10),X_30,3),COLORWHITE;</p><p >X_31:=REF(CLOSE,1);</p><p >X_32:=SMA(MAX(CLOSE-X_31,0),3,1)/SMA(ABS(CLOSE-X_31),3,1)*100;</p><p >X_33:=EMA(CLOSE,3);</p><p >X_34:=EMA(CLOSE,21);</p><p >DRAWTEXT(CROSS(X_33,X_34),LOW*0.99,4),COLORA6E500;</p><p >DRAWTEXT_FIX(1,0,0,0,GNBLOCK),COLORYELLOW;</p><p >DRAWTEXT_FIX(ISLASTBAR,0,0.06,0,FGBLOCK),COLORYELLOW;</p><p >DRAWTEXT_FIX(ISLASTBAR,0,0.12,0,ZSBLOCK),COLORYELLOW;</p><p >X_35:=INDEXADV;</p><p >X_36:=INDEXDEC;</p><p >X_37:=X_35/(X_35+X_36)*100;</p><p >X_38:=IF(X_37>=70,X_37,DRAWNULL);</p><p >X_39:=IF(X_37<70,X_37,DRAWNULL);</p><p >DRAWTEXT_FIX(1,0,0.18,0,6);</p><p >DRAWNUMBER_FIX(1,0.07,0.18,0,CONST(X_38)),COLORYELLOW;</p><p >DRAWNUMBER_FIX(1,0.07,0.18,0,CONST(X_39)),COLORGREEN;</p><p >DRAWTEXT_FIX(1,0.11,0.18,0,7);</p><p >X_40:=HY_INDEXADV;</p><p >X_41:=HY_INDEXDEC;</p><p >X_42:=X_40/(X_40+X_41)*100;</p><p >X_43:=IF(X_42>=70,X_42,DRAWNULL);</p><p >X_44:=IF(X_42<70,X_42,DRAWNULL);</p><p >DRAWTEXT_FIX(1,0.13,0.18,0,8);</p><p >DRAWNUMBER_FIX(1,0.2,0.18,0,CONST(X_43)),COLORYELLOW;</p><p >DRAWNUMBER_FIX(1,0.2,0.18,0,CONST(X_44)),COLORGREEN;</p><p >DRAWTEXT_FIX(1,0.24,0.18,0,7);</p><p >X_45:=(FINANCE(11)-FINANCE(15))/FINANCE(10)*1.2;</p><p >X_46:=(FINANCE(31)+FINANCE(17))/FINANCE(10)*1.4;</p><p >X_47:=FINANCE(23)/FINANCE(10)*3.3;</p><p >X_48:=FINANCE(19)/FINANCE(15)*0.6;</p><p >X_49:=FINANCE(20)/FINANCE(15)*0.999;</p><p >X_50:=X_45+X_46+X_47+X_48+X_49;</p><p >DRAWTEXT_FIX(X_50<1.2,0.9,0,0,9),COLORYELLOW;</p><p >DRAWTEXT_FIX(BETWEEN(X_50,1.2,2.6),0.9,0,0,10),COLOR0099FF;</p><p >DRAWTEXT_FIX(X_50>2.6,0.9,0,0,11),COLORLIBLUE;</p><p class="ztext-empty-paragraph"><br/></p><p >副图 </p><p >X_1:=CROSS(KDJ.K#WEEK,KDJ.D#WEEK);</p><p >X_2:=KD.K#WEEK(9,3,3);</p><p >X_3:=KD.D#WEEK(9,3,3);</p><p >X_4:=FILTER(CROSS(X_2,X_3) AND REF(X_3,1)<30,13);</p><p >X_5:=FILTER(CROSS(X_2,X_3) AND REF(X_3,1)>30,13);</p><p >X_6:=X_4;</p><p >X_7:=MACD.DIF#WEEK(12,26,9);</p><p >X_8:=MACD.DEA#WEEK(12,26,9);</p><p >X_9:=10;</p><p >X_10:=5;</p><p >X_11:=FILTER(CROSS(X_7,X_8) AND REF(X_8,1)<0,13);</p><p >X_12:=X_11;</p><p >X_13:=(HHV(HIGH,X_9)-CLOSE)/(HHV(HIGH,X_9)-LLV(LOW,X_9))*200-125;</p><p >X_14:=SMA(X_13,X_10,1)+15;</p><p >X_15:=(CLOSE-LLV(LOW,X_9))/(HHV(HIGH,X_9)-LLV(LOW,X_9))*200-105;</p><p >X_16:=SMA(X_15,X_10,1)+15;</p><p >X_17:=CROSS(X_16,X_14);</p><p >X_18:=X_12 AND X_11 AND X_1;</p><p >STICKLINE(X_18,1,0,3,0),COLORRED;</p><p >STICKLINE(X_18,2,1,2,0),COLORGREEN;</p><p >STICKLINE(X_18,3,2,1,0),COLORMAGENTA;</p><p >DRAWTEXT(X_18,2.5,6),COLORYELLOW;</p><p >选股<br/></p><p class="ztext-empty-paragraph"><br/></p><p >X_1:=CROSS(KDJ.K#WEEK,KDJ.D#WEEK);</p><p >X_2:=KD.K#WEEK(9,3,3);</p><p >X_3:=KD.D#WEEK(9,3,3);</p><p >X_4:=FILTER(CROSS(X_2,X_3) AND REF(X_3,1)<30,13);</p><p >X_5:=FILTER(CROSS(X_2,X_3) AND REF(X_3,1)>30,13);</p><p >X_6:=X_4;</p><p >X_7:=MACD.DIF#WEEK(12,26,9);</p><p >X_8:=MACD.DEA#WEEK(12,26,9);</p><p >X_9:=10;</p><p >X_10:=5;</p><p >X_11:=FILTER(CROSS(X_7,X_8) AND REF(X_8,1)<0,13);</p><p >X_12:=X_11;</p><p >X_13:=(HHV(HIGH,X_9)-CLOSE)/(HHV(HIGH,X_9)-LLV(LOW,X_9))*200-125;</p><p >X_14:=SMA(X_13,X_10,1)+15;</p><p >X_15:=(CLOSE-LLV(LOW,X_9))/(HHV(HIGH,X_9)-LLV(LOW,X_9))*200-105;</p><p >X_16:=SMA(X_15,X_10,1)+15;</p><p >X_17:=CROSS(X_16,X_14);</p><p >选股:X_12 AND X_11 AND X_1;</p> 很好的东东 找到好贴不容易,我顶你了,谢了
页:
[1]