最新更新 - 网站地图 -
您的当前位置:首页 > 股票公式 > 通达信公式 > 2016通达信指标公式 通达信K线+MACD指标公式

2016通达信指标公式 通达信K线+MACD指标公式

来源:网络 点击: 时间:2023-01-07 08:04:59

2016通达信指标公式 通达信K线+MACD指标公式 www.beexiaomifeng.com小编为您提供

?

DIFF : EMA(CLOSE,12) - EMA(CLOSE,26);
DEA : EMA(DIFF,9);
MACD : 2*(DIFF-DEA);
STICKLINE(MACD>0,MACD,0,0.5,1),COLORRED;
STICKLINE(MACD<0,MACD,0,0.5,1),COLORGREEN;
STICKLINE(MACD>0 AND MACD STICKLINE(MACD<0 AND MACD>REF(MACD,1),MACD,0,0.5,1),COLORFF00FF;
绿柱面积:IF (MACD<0,SUM(MACD,BARSLAST(MACD>0)),0),nodraw,colorgreen;
红柱面积:IF (MACD>0,SUM(MACD,BARSLAST(MACD<0)),0),nodraw,Colorred;
DRAWTEXT(CROSS(diff,80),diff,'强'),COLORRED;
DRAWTEXT(CROSS(-80,diff),diff,'弱'),COLORGREEN;
DRAWTEXT(CROSS(diff,-80),diff,'强'),COLORRED;
DRAWTEXT(CROSS(80,diff),diff,'弱'),COLORGREEN;
DRAWTEXT(CROSS(diff,30),diff,'强'),COLORRED;
DRAWTEXT(CROSS(-30,diff),diff,'弱'),COLORGREEN;
DRAWTEXT(CROSS(diff,-30),diff,'强'),COLORRED;
DRAWTEXT(CROSS(30,diff),diff,'弱'),COLORGREEN;
DRAWTEXT(CROSS(diff,50),diff,'强'),COLORRED;
DRAWTEXT(CROSS(-50,diff),diff,'弱'),COLORGREEN;
DRAWTEXT(CROSS(diff,-50),diff,'强'),COLORRED;
DRAWTEXT(CROSS(50,diff),diff,'弱'),COLORGREEN;
DRAWTEXT(CROSS(diff,80),diff,'强'),COLORRED;
DRAWTEXT(CROSS(-8,diff),diff,'弱'),COLORGREEN;
DRAWTEXT(CROSS(diff,-8),diff,'强'),COLORRED;
DRAWTEXT(CROSS(8,diff),diff,'弱'),COLORGREEN;
DRAWTEXT(CROSS(diff,5),diff,'强'),COLORRED;
DRAWTEXT(CROSS(-50,diff),diff,'弱'),COLORGREEN;
DRAWTEXT(CROSS(diff,-5),diff,'强'),COLORRED;
DRAWTEXT(CROSS(5,diff),diff,'弱'),COLORGREEN;
DRAWTEXT(CROSS(diff,3),diff,'强'),COLORRED;
DRAWTEXT(CROSS(-3,diff),diff,'弱'),COLORGREEN;
DRAWTEXT(CROSS(diff,-3),diff,'强'),COLORRED;


DRAWTEXT(CROSS(3,diff),diff,'弱'),COLORGREEN;
DRAWTEXT(CROSS(diff,10),diff,'强'),COLORRED;
DRAWTEXT(CROSS(-10,diff),diff,'弱'),COLORGREEN;
DRAWTEXT(CROSS(diff,-10),diff,'强'),COLORRED;
DRAWTEXT(CROSS(10,diff),diff,'弱'),COLORGREEN;
DRAWTEXT(CROSS(diff,1),diff,'强'),COLORRED;
DRAWTEXT(CROSS(-1,diff),diff,'弱'),COLORGREEN;


DRAWTEXT(CROSS(diff,-1),diff,'强'),COLORRED;
DRAWTEXT(CROSS(1,diff),diff,'弱'),COLORGREEN;
DRAWTEXT(CROSS(diff,2),diff,'强'),COLORRED;
DRAWTEXT(CROSS(-2,diff),diff,'弱'),COLORGREEN;
DRAWTEXT(CROSS(diff,-2),diff,'强'),COLORRED;
DRAWTEXT(CROSS(2,diff),diff,'弱'),COLORGREEN;
DRAWTEXT(CROSS(diff,20),diff,'强'),COLORRED;
DRAWTEXT(CROSS(-20,diff),diff,'弱'),COLORGREEN;
DRAWTEXT(CROSS(diff,-20),diff,'强'),COLORRED;
DRAWTEXT(CROSS(20,diff),diff,'弱'),COLORGREEN;

?

?

?

更多股票公式相关资讯请关注www.beexiaomifeng.com

?


    Copyright 2018- www.dyjian.com/ 大宇股票知识网 海口美兰韩哲棚百货商行 版权所有 琼ICP备2023001966号

    免责声名:本站所发表的内容仅用于学术交流和学习,内容所带来的一切后果均与本站无关。若您发现本站存在您非授权的原创作品,请第一时间联系本站删除!

    Top