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

    大智慧公式

    当前位置: 主页 > 大智慧公式

    大智慧通达信MACD背离版本指标选股公式精选

    来源:|编辑:小编|时间:2022-04-12|栏目:大智慧公式

    difF:Ema(CLOSE,12)-ema(CLOSE,26);

    DEA:EMA(DIFF,9);

    MacD:(DIFF-DEA)*2,COLORSTICK;

    macd1:=2*(DIFF-DEA);

    MACD2:=EMA(MACD1,3);

    STICKLINE(MACD1>MACD2 AND MACD1>0,0,MACD1,0.1,1),COLORWHITE;

    STICKLINE(MACD1>MACD2 AND MACD1>0,0,MACD1,0.1,1),COLORWHITE;

    STICKLINE(MACD1>MACD2 AND MACD1>0,0,MACD1,0.1,1),COLORWHITE;

    STICKLINE(MACD1>MACD2 AND MACD1<0,0,MACD1,0.1,1),COLORWHITE;

    STICKLINE(MACD1>MACD2 AND MACD1<0,0,MACD1,0.1,1),COLORWHITE;

    STICKLINE(MACD1>MACD2 AND MACD1<0,0,MACD1,0.1,1),COLORWHITE;

    STICKLINE(MACD1<MACD2,0,MACD1,0.1,1),COLOR58A505;

    STICKLINE(MACD1<MACD2,0,MACD1,0.1,1),COLOR58A505;

    STICKLINE(MACD1<MACD2,0,MACD1,0.1,1),COLOR58A505;

    STICKLINE(MACD1<MACD2 AND MACD1<0,0,MACD1,0.1,1),COLOR58A505;

    STICKLINE(MACD1<MACD2 AND MACD1<0,0,MACD1,0.1,1),COLOR58A505;

    STICKLINE(MACD1<MACD2 AND MACD1<0,0,MACD1,0.1,1),COLOR58A505;

    STICKLINE(MACD1>=0{ OR MACD1<=0},0,0,50,1),COLORYELLOW;

    STICKLINE({MACD1>=0 OR} MACD1<=0,0,0,50,1),COLORRED;

    低位金叉:=crOSS(DIFF,DEA) AND DIFF<-0.1;

    STICKLINE(低位金叉,0,-0.18,2,0),COLORBLUE;

    DRAWTEXT(低位金叉,-0.2,' 低位金叉'),COLORBLUE;

    JCCOUNT:=COUNT(CROSS(DIFF,DEA),BArslAST(DEA>=0));

    二次金叉:=CROSS(DIFF,DEA) AND DEA<0 AND COUNT(JCCOUNT=2,21)=1;

    STICKLINE(二次金叉,0,-0.18,2,0),COLORFF00FF;

    DRAWICON(二次金叉,DEA*1.04,13) ;

    DRAWTEXT(二次金叉,0.1,' 二次金叉'),COLORFF00FF;

    A1:=BARSLAST(REF(CROSS(DIFF,DEA),1));

    底背离:=REF(CLOSE,A1+1)>CLOSE AND DIFF>REF(DIFF,A1+1) AND CROSS(DIFF,DEA);

    STICKLINE(底背离,0,0.13,2,0),COLOR00FF00;

    DRAWLINE(A1=0,DEA,底背离,DEA,0),COLORWHITE,LINETHICK2;

    DRAWTEXT(底背离,-0.1,' 底背离'),COLORRED;

    A2:=BARSLAST(REF(CROSS(DEA,DIFF),1));

    顶背离:=REF(CLOSE,A2+1)<CLOSE AND REF(DIFF,A2+1)>DIFF AND CROSS(DEA,DIFF);

    DRAWLINE(A2=0,DEA,顶背离,DEA,0),COLORCYAN,LINETHICK2;

    DRAWTEXT(顶背离,0.1,' 顶背离'),COLORCYAN;

    image.png

    image.png

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

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

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

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

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