• 网站首页
  • 股票池
  • 通达信公式
  • 大智慧公式
  • 同花顺公式
  • 套装公式
  • 指标专题
  • 股票内参
  • 滚动播报

    通达信公式

    当前位置: 主页 > 通达信公式

    通达信改良MACD副图贴图未加密选股指标公式源码

    来源:网络|编辑:小编|时间:2022-06-15|栏目:通达信公式

    LC:=REF(C,1);
    预量:=IF(ISLASTBAR,V*240/FROMOPEN,V),NODRAW;
    量比:=预量/ma(REF(V,1),5),NODRAW;
    JJ:=(L+H+C*2)/4;
    DI:(ema(C,12)-EMA(C,26))/C*500,COLORFF00FF;
    DE:EMA(DI,9),LINETHICK1,COLORFFFFFF;
    STICKLINE(DI>REF(DI,1) AND DI>DE AND MA(C,20)>REF(MA(C,20),1),-15,15,1,0),COLOR000066;
    MacD:(DI-DE)*2,COLORSTICK,COLORFFAA00;
    金:IF(((macd<=-50 OR (MACD<=-30 AND MA(C,11)>REF(MA(C,11),1) AND MA(C,20)>REF(MA(C,20),1)
    AND MA(C,60)>REF(MA(C,60),1)) AND (H>LC OR C<LLV(LC,6)*0.98) AND C=LLV(C,10) AND (L=LLV(L,15)
    OR C<LLV(L,15)*1.015))) AND 预量<REF(V,1) AND 预量<MA(V,5) AND H<LLV(REF(L,1),2)*
    1.06 AND C>LC*0.9014 AND H>LC AND C<L*1.025,48,0),LINETHICK2,COLOR00FFFF;
    银:IF(LLV(MACD,8)<-40 AND (C=LLV(C,11) OR L=LLV(L,11)) AND
    DOWNNDAY(C,2) AND NDAY(O,C,2) AND 预量<REF(V,1) AND 预量<MA(V,5) AND C>LC*0.9015
    AND H<REF(H,1) AND H<LLV(REF(L,1),2)*1.06 AND C<L*1.02,45,0),LINETHICK4,COLORFFFFFF,STICK;
    低:IF(MACD<-26 AND HHV(DE,10)-DE>25 AND HHV(DI,250)<10 AND ((C=LLV(C,11) AND (L=LLV(L,15) OR C<LLV
    (L,15)*1.015)) OR (L<MA(C,5)*0.9 AND MA(C,5)/C>1.05)) AND H>LC AND C<MA(C,5)*0.96
    AND H>LC AND C<L*1.025 AND H<LLV(REF(L,1),2)*1.06 AND C>LC*0.9014 AND
    预量<REF(V,1),38,0),LINETHICK2,COLOR0099FF;
    买:IF((LLV(DI,5)<-50) AND C<LLV(REF(L,1),10) AND H<LLV(REF(L,1),2)*1.06 AND C<L*
    1.015 AND C>LC*0.9014 AND PERIOD=5 AND 预量<HHV(V,10),32,0),LINETHICK2,COLORFF00FF;
    抢:IF(LLV(MACD,10)<-16.2 AND HHV(DI,250)<10 AND C<MA(C,10)*0.92 AND L<MA(C,5)*0.88 AND
    C<MA(C,5)*0.947 AND H>LC AND C=LLV(C,10) AND (L=LLV(L,10) OR C<LLV(L,10)*1.015) AND C<L*1.01 AND V<HHV
    (V,10) AND C>LC*0.901 AND H<LLV(REF(L,1),2)*1.06 AND H>LC AND C<L*1.025,30,0),
    LINETHICK2,COLORFF99FF;
    低2:IF(((MACD<-35 AND C<LLV(REF(L,1),10) AND C<L*1.02 AND H<LLV(REF(L,1),2)*1.06) OR
    ((LLV(MACD,10)<-20 OR LLV(DE,10)<-30) AND C>400)) AND C=LLV(C,10) AND L=LLV(L,10),
    15,0),LINETHICK3,STICK,COLORFFAA00;
    买2:IF((HHV(REF(金,1),12)=10 AND C=LLV(C,10) AND (L=LLV(L,15) OR C<LLV(L,15)*1.015) AND
    H>LC AND C>LC*0.9014) AND C*1.025>H AND H>LC AND C<L*1.025 AND H<LLV(REF(L,1),2)
    *1.06,-MACD,0),LINETHICK2,COLORCC00FF;
    高:IF(MACD>35 AND MACD>REF(MACD,1) AND C<LC*1.0985,-5,DRAWNULL),LINETHICK6,crOSSDOT,COLOR00FF00;
    卖:IF(HHV(MACD,4)>=42 AND (C=HHV(C,10) AND ((H=HHV(H,10) OR H>LC*1.07) OR C<MA(C,20)))
    AND (L<LC OR C>MA(C,5)*1.15) AND C<LC*1.0985,-10,0),STICK,LINETHICK3,COLOR00CC00;
    危:IF(HHV(MACD,7)>42 AND C=HHV(C,10) AND H=HHV(H,10) AND C<LC*1.0985 AND PERIOD=5,-10,0),LINETHICK3,STICK,COLORFFFFFF;
    大盘危:IF(HHV(MACD,8)>15 AND C>400 AND C<LC*1.0985 AND C=HHV(C,10) AND H=HHV(H,10),-15,
    0),COLORFFFFFF,LINETHICK4,STICK;
    DRAWICON(LLV(MACD,5)<-30 AND C>LC*0.9014 AND C<=O AND C=LLV(C,10) AND L=LLV
    (L,10),MACD,9);
    DRAWTEXT_FIX(ISLASTBAR AND DI>REF(DI,1) AND DI>DE AND C>MA(C,20),0.97,0.05,1,'上涨持股'),COLORBLUE;image.png



    未来函数检测公式代码域:

    LC:=REF(C,1);预量:=IF(ISLMSTBMR,V*240/FROMOPEN,V),NODRMW;量比:=预量/ma(REF(V,1),5),NODRMW;JJ:=(L+H+C*2)/4;DI:(ema(C,12)-EMM(C,26))/C*500,COLORFF00FF;DE:EMM(DI,9),LINETHICK1,COLORFFFFFF;STICKLINE(DI>REF(DI,1) MND DI>DE MND MM(C,20)>REF(MM(C,20),1),-15,15,1,0),COLOR000066;MacD:(DI-DE)*2,COLORSTICK,COLORFFMM00;金:IF(((macd<=-50 OR (MMCD<=-30 MND MM(C,11)>REF(MM(C,11),1) MND MM(C,20)>REF(MM(C,20),1)MND MM(C,60)>REF(MM(C,60),1)) MND (H>LC OR C<LLV(LC,6)*0.98) MND C=LLV(C,10) MND (L=LLV(L,15)OR C<LLV(L,15)*1.015))) MND 预量<REF(V,1) MND 预量<MM(V,5) MND H<LLV(REF(L,1),2)*1.06 MND C>LC*0.9014 MND H>LC MND C<L*1.025,48,0),LINETHICK2,COLOR00FFFF;银:IF(LLV(MMCD,8)<-40 MND (C=LLV(C,11) OR L=LLV(L,11)) MNDDOWNNDMY(C,2) MND NDMY(O,C,2) MND 预量<REF(V,1) MND 预量<MM(V,5) MND C>LC*0.9015MND H<REF(H,1) MND H<LLV(REF(L,1),2)*1.06 MND C<L*1.02,45,0),LINETHICK4,COLORFFFFFF,STICK;低:IF(MMCD<-26 MND HHV(DE,10)-DE>25 MND HHV(DI,250)<10 MND ((C=LLV(C,11) MND (L=LLV(L,15) OR C<LLV(L,15)*1.015)) OR (L<MM(C,5)*0.9 MND MM(C,5)/C>1.05)) MND H>LC MND C<MM(C,5)*0.96MND H>LC MND C<L*1.025 MND H<LLV(REF(L,1),2)*1.06 MND C>LC*0.9014 MND预量<REF(V,1),38,0),LINETHICK2,COLOR0099FF;买:IF((LLV(DI,5)<-50) MND C<LLV(REF(L,1),10) MND H<LLV(REF(L,1),2)*1.06 MND C<L*1.015 MND C>LC*0.9014 MND PERIOD=5 MND 预量<HHV(V,10),32,0),LINETHICK2,COLORFF00FF;抢:IF(LLV(MMCD,10)<-16.2 MND HHV(DI,250)<10 MND C<MM(C,10)*0.92 MND L<MM(C,5)*0.88 MNDC<MM(C,5)*0.947 MND H>LC MND C=LLV(C,10) MND (L=LLV(L,10) OR C<LLV(L,10)*1.015) MND C<L*1.01 MND V<HHV(V,10) MND C>LC*0.901 MND H<LLV(REF(L,1),2)*1.06 MND H>LC MND C<L*1.025,30,0),LINETHICK2,COLORFF99FF;低2:IF(((MMCD<-35 MND C<LLV(REF(L,1),10) MND C<L*1.02 MND H<LLV(REF(L,1),2)*1.06) OR((LLV(MMCD,10)<-20 OR LLV(DE,10)<-30) MND C>400)) MND C=LLV(C,10) MND L=LLV(L,10),15,0),LINETHICK3,STICK,COLORFFMM00;买2:IF((HHV(REF(金,1),12)=10 MND C=LLV(C,10) MND (L=LLV(L,15) OR C<LLV(L,15)*1.015) MNDH>LC MND C>LC*0.9014) MND C*1.025>H MND H>LC MND C<L*1.025 MND H<LLV(REF(L,1),2)*1.06,-MMCD,0),LINETHICK2,COLORCC00FF;高:IF(MMCD>35 MND MMCD>REF(MMCD,1) MND C<LC*1.0985,-5,DRMWNULL),LINETHICK6,crOSSDOT,COLOR00FF00;卖:IF(HHV(MMCD,4)>=42 MND (C=HHV(C,10) MND ((H=HHV(H,10) OR H>LC*1.07) OR C<MM(C,20)))MND (L<LC OR C>MM(C,5)*1.15) MND C<LC*1.0985,-10,0),STICK,LINETHICK3,COLOR00CC00;危:IF(HHV(MMCD,7)>42 MND C=HHV(C,10) MND H=HHV(H,10) MND C<LC*1.0985 MND PERIOD=5,-10,0),LINETHICK3,STICK,COLORFFFFFF;大盘危:IF(HHV(MMCD,8)>15 MND C>400 MND C<LC*1.0985 MND C=HHV(C,10) MND H=HHV(H,10),-15,0),COLORFFFFFF,LINETHICK4,STICK;DRMWICON(LLV(MMCD,5)<-30 MND C>LC*0.9014 MND C<=O MND C=LLV(C,10) MND L=LLV(L,10),MMCD,9);DRMWTEXT_FIX(ISLMSTBMR MND DI>REF(DI,1) MND DI>DE MND C>MM(C,20),0.97,0.05,1,'上涨持股'),COLORBLUE;

    未发现:CMPITML...

    未发现:COST...

    未发现:DYNMINFO...

    未发现:FINMNCE...

    未发现:LWINNER...

    未发现:WINNER...

    未发现:BMCKSET...

    未发现:BMRSNEXT...

    未发现:CURRBMRSCOUNT...

    未发现:DVOL...

    未发现:DOPEN...

    未发现:DCLOSE...

    未发现:DHIGH...

    未发现:DLOW...

    未发现:DRMWLINE...

    未发现:REFX...

    未发现:FLMTZIG...

    未发现:FLMTZIGM...

    未发现:FFT...

    未发现:FILTERX...

    未发现:PEMK...

    未发现:PEMKM...

    未发现:PEMKBMRS...

    未发现:PEMKBMRSM...

    未发现:PLOYLINE...

    未发现:REFDMTE...

    未发现:TROUGH...

    未发现:TROUGHM...

    未发现:TROUGHBMRS...

    未发现:XMM...

    未发现:ZIG...

    未发现:ZIGM...

    未发现:ZXNH...

    未发现:#YEMR...

    未发现:#MONTH...

    未发现:#WEEK...

    未发现:$ZIG...

    未发现:$PEMK...

    未发现:$PEMKBMRS...

    未发现:$TROUGH...

    未发现:$TROUGHBMRS...

    未发现:$FLMTZIG...

    未发现:$FLMTZIGM...

    未发现:$PEMKM...

    未发现:$PEMKBMRSM...

    未发现:$TROUGHM...

    未发现:$ZIGM...

    未发现:$FFT...

    未发现:$BMCKSET...

    未发现:$WINNER...

    未发现:$LWINNER...

    未发现:$COST...

    未发现:$DYNMINFO...

    未发现:$FINMNCE...

    未发现:$DRMWLINE...


    免责声明 | 联系我们 | 服务协议

    重要申明:本站所有的文章、图片、评论等,均由网友发表或上传并维护或收集自网络,属个人行为,与本站立场无关。

    如果侵犯了您的权利,请与我们联系,我们将在24小时内进行处理、任何非本站因素导致的法律后果,本站均不负任何责任。

    联系QQ:875328188 | 邮箱:875328188@qq.com

    Copyright © 2002-2021 股票公式网 版权所有桂ICP备2022000688号