通达信超级主力控盘指标公式源码
<p data-first-child ><b>下面有效果图,可以先看看效果盘图是不是你想要的公式指标。 如果有公式问题,扫描下方二维码联系我。或 评论区留言一起探讨。</b></p><p ><b>指标如果想转成选股公式的源码,可以看看这里::</b></p><a target="_blank" href="https://link.zhihu.com/?target=https%3A//mp.weixin.qq.com/s%3F__biz%3DMjM5NDA1MDY0OQ%3D%3D%26mid%3D2649709463%26idx%3D1%26sn%3D0dee40acb0db104600640329255e17ad%26chksm%3Dbe965ca189e1d5b7d9d24c55b18bb9fbdbdca786e6aa721683db6bcc2f14d5d0808699c43e28%26cur_album_id%3D2701009278232412161%26scene%3D27" data-draft-node="block" data-draft-type="link-card" data-text="如何将指标公式改编成选古公式或通达信指标改成同花顺等别软件上用" class="LinkCard new"><span class="LinkCard-contents"><span class="LinkCard-title loading" data-text="true"></span><span class="LinkCard-desc loading"></span></span><span class="LinkCard-image LinkCard-image--default"></span></a><p > N:=15;</p><p >AA:=EMA(EMA(CLOSE,9),9);</p><p >控盘:=(AA-REF(AA,1))/REF(AA,1)*1000;</p><p >STICKLINE(控盘< 0,控盘,0,1,0),COLORWHITE;</p><p >A10:=CROSS(控盘,0);</p><p >无庄控盘:IF(控盘< 0,控盘,0),COLORWHITE,NODRAW;</p><p >开始控盘:IF(A10,5,0),LINETHICK1,COLORCYAN;</p><p >STICKLINE(控盘>REF(控盘,1) AND 控盘>0,控盘,0,1,0),COLORRED;</p><p >有庄控盘:IF(控盘>REF(控盘,1) AND 控盘>0,控盘,0),COLORRED,NODRAW;</p><p >WAR8:=100*WINNER(CLOSE*0.95);</p><p >STICKLINE(WAR8>50 AND COST(85)< CLOSE AND 控盘>0,控盘,0,1,0),COLORFF00FF;</p><p >高度控盘:IF(WAR8>50 AND COST(85)< CLOSE AND 控盘>0,控盘,0),COLORFF00FF,NODRAW;</p><p >STICKLINE(控盘< REF(控盘,1) AND 控盘>0,控盘,0,1,0),COLOR00FF00;</p><p >主力出货:IF(控盘< REF(控盘,1) AND 控盘>0,控盘,0),COLOR00FF00,NODRAW;</p><p >设值:=(HIGH+LOW+CLOSE)/3;</p><p >日均线:=(设值-MA(设值,70))/(0.015*AVEDEV(设值,70))*0.5;</p><p >即变线:=100*(HHV(HIGH,60)-CLOSE)/(HHV(HIGH,60)-LLV(LOW,60));</p><p >AX_1:=EMA(CLOSE,12)-EMA(CLOSE,26);</p><p >AX_2:=EMA(AX_1,9);</p><p >AX_3:=AX_1>AX_2;</p><p >AX_4:=(CLOSE-LLV(LOW,12))/(HHV(HIGH,12)-LLV(LOW,12))*100;</p><p >AX_5:=SMA(AX_4,3,1);</p><p >AX_6:=SMA(AX_5,3,1);</p><p >AX_7:=AX_5>AX_6;</p><p >AX_8:=REF(CLOSE,1);</p><p >AX_9:=SMA(MAX(CLOSE-AX_8,0),9,1)/SMA(ABS(CLOSE-AX_8),9,1)*100;</p><p >AX_10:=SMA(MAX(CLOSE-AX_8,0),26,1)/SMA(ABS(CLOSE-AX_8),26,1)*100;</p><p >AX_11:=AX_9>AX_10;</p><p >AX_12:=SMA(AX_4,3,1);</p><p >AX_13:=SMA(AX_12,3,1);</p><p >AX_14:=AX_12>AX_13;</p><p >AX_15:=(MA(CLOSE,3)+MA(CLOSE,9)+MA(CLOSE,12)+MA(CLOSE,26))/4;</p><p >AX_16:=CLOSE>AX_15;</p><p >AX_17:=CLOSE-REF(CLOSE,1);</p><p >AX_18:=100*EMA(EMA(AX_17,9),9)/EMA(EMA(ABS(AX_17),9),3);</p><p >AX_19:=100*EMA(EMA(AX_17,26),12)/EMA(EMA(ABS(AX_17),26),12);</p><p >AX_20:=AX_18>AX_19;</p><p >AX_21:=DMA((HIGH+LOW+CLOSE*2)/4,0.9);</p><p >AX_22:=REF(EMA(AX_21,3),1);</p><p >AX_23:=VOL/((HIGH-LOW)*2-ABS(CLOSE-OPEN));</p><p >AX_24:=IF(CLOSE>OPEN,AX_23*(HIGH-LOW),IF(CLOSE< OPEN,AX_23*(HIGH-OPEN+CLOSE-LOW),VOL/2))+IF(CLOSE>OPEN,0-AX_23*(HIGH-CLOSE+OPEN-LOW),IF(CLOSE< OPEN,0-AX_23*(HIGH-LOW),0-VOL/2));</p><p >AX_25:=AX_24/20/1.15;</p><p >AX_26:=AX_25*0.55+REF(AX_25,1)*0.33+REF(AX_25,2)*0.22;</p><p >AX_27:=EMA(AX_26,8);</p><p >AX_28:=EMA(AX_26,3);</p><p >AX_29:=AX_28;</p><p >AX_30:=VOL;</p><p >AX_31:=MA(AX_30,5);</p><p >AX_32:=MA(AX_30,10);</p><p >AX_33:=AX_31>=AX_32;</p><p >AX_34:=AX_29>=0;</p><p >AX_35:=AX_34 AND AX_33;</p><p >DRAWICON(AX_35,-1.5,1);</p><p >AX_36:=MA(KDJ.K(54,9,12),5);</p><p >AX_37:=EMA(CLOSE,12/2)-EMA(CLOSE,26/2);</p><p >AX_38:=EMA(AX_37,9/2);</p><p >AX_39:=AX_36>=REF(AX_36,1) AND AX_37>=AX_38;</p><p >DRAWICON(AX_39,-10.5,13);</p><p >AX_40:=AX_39 OR AX_35;</p><p >AX_41:=AX_3 AND AX_7 AND AX_11 AND AX_14 AND AX_16 AND AX_20;</p><p >AX_42:=COST(50)*COST(50)/COST(80);</p><p >AX_43:=COST(40)*COST(40)/COST(60);</p><p >AX_44:=AX_43-AX_42;</p><p >AX_45:=AX_44>0 AND CLOSE>AX_43;</p><p >AX_46:=AX_44< 0 AND CLOSE>AX_42;</p><p >AX_47:=AX_45 OR AX_46 OR (AX_45 AND AX_46);</p><p >AX_48:=AX_47=0 OR (AX_44>0 AND CLOSE>AX_43 AND CLOSE< MA(CLOSE,10)) OR (AX_44< 0 AND CLOSE>AX_42 AND CLOSE< MA(CLOSE,5));</p><p >AX_49:=AX_47 AND REF(AX_48,1);</p><p >AX_50:=AX_48 AND REF(AX_47,1);</p><p >STICKLINE(AX_47,-5,-8,3,0),COLORRED;</p><p >STICKLINE(AX_48,-5,-8,3,1),COLORGRAY;</p><p >STICKLINE(AX_41,-5,-8,3,0),COLORMAGENTA;</p><p >STICKLINE(即变线>80,-5,-8,4,1),COLORGREEN;</p><p >STICKLINE(日均线< -80,-5,-8,2,0),COLORBLUE;</p><p >DRAWICON(AX_47 OR AX_41 AND REF(AX_47 OR AX_41,1)=0 AND AX_40,-5,7);</p><p >AX_51:=(HIGH+LOW+CLOSE*2)/4;</p><p >AX_52:=EMA(AX_51,17);</p><p >AX_53:=STD(AX_51,17);</p><p >AX_54:=((AX_51-AX_52)/AX_53*100+200)/4;</p><p >AX_55:=(EMA(AX_54,5)-25)*1.56;</p><p >AX_56:=EMA(AX_55,2)*1.22;</p><p >AX_57:=EMA(AX_56,2);</p><p >STICKLINE(AX_56-AX_57>0,-2,-4,3,0),COLORRED;</p><p >STICKLINE(AX_56-AX_57< 0,-2,-4,3,0),COLORGREEN;</p><p >DRAWTEXT_FIX(C>O,0.005,0.92,0,' 众'),COLORWHITE;</p><p >DRAWTEXT_FIX(C>O,0.01,0.92,0,' 号:代码部 徵'),COLORWHITE;</p><p >DRAWTEXT_FIX(C>O,0.09,0.92,0,'信:CXH99CXH99'),COLORWHITE;</p><p >DRAWTEXT_FIX(C>O,0.01,0.75,0,'代编写或想要好指标选股公式模型'),COLORWHITE;</p><p >DRAWTEXT_FIX(C>O,0.005,0.92,0,'公'),COLORWHITE;</p><p >STICKLINE(AX_56-AX_57>0 AND REF(AX_56-AX_57< 0,1),-2,-4,3.05,0),COLOR000099;</p><p >STICKLINE(AX_56-AX_57>0 AND REF(AX_56-AX_57< 0,1),-2,-4,2.2,0),COLOR0000CC;</p><p >STICKLINE(AX_56-AX_57>0 AND REF(AX_56-AX_57< 0,1),-2,-4,1.5,0),COLORRED;</p><p >STICKLINE(AX_56-AX_57>0 AND REF(AX_56-AX_57< 0,1),-2,-4,0.5,0),COLORYELLOW;</p><p >STICKLINE(AX_56-AX_57>0 AND AX_56-AX_57< REF(AX_56-AX_57,1) AND AX_57>110,-2,-4,3,0),COLORLIRED;</p><p >MB1:=EMA((CLOSE-MA((1.2*CLOSE+HIGH+LOW)/3,20))/MA((1.2*CLOSE+HIGH+LOW)/3,20)*100,3);</p><p >MB3:=LLV(MB1,25);</p><p >MB4:=REF(MB3,1);</p><p >时针:=MB1;</p><p >底撑:=MB4;</p><p >动态底部:EMA(IF(L<=LLV(L,99),SMA(ABS(L-REF(L,1)),99,1)/SMA(MAX(L-REF(L,1),0),99,1),0)*5,3) ,COLORBROWN;</p><p >STICKLINE(动态底部>7 AND 时针< 底撑,0,动态底部,2,1),COLORYELLOW;</p><p >盘:=CAPITAL/1000000;</p><p >益:=FINANCE(33);</p><p >资:=FINANCE(34);</p><p >换手:=VOL/CAPITAL;</p><p >长阳:=(WINNER(C)-WINNER(O))>=0.15 AND 换手<=0.04;</p><p >VAR1:=(C-REF(C,1))/REF(C,1);</p><p >VAR2:=(INDEXC-REF(INDEXC,1))/REF(INDEXC,1);</p><p >个股:=EMA(SUM(VAR1,20),5);</p><p >大盘:=EMA(SUM(VAR2,20),5);</p><p >领涨:=(个股-大盘)>=0;</p><p class="ztext-empty-paragraph"><br/></p><p class="ztext-empty-paragraph"><br/></p><p ><br/> </p> 我是个凑数的。。。
页:
[1]