通达信三重MACD指标公式

DIFF8 := EMA(CLOSE,25) - EMA(CLOSE,65),POINTDOT,LINETHICK2;
DEA8 := EMA(DIFF8,45),POINTDOT,LINETHICK2;
macd8 := 2*(DIFF8-DEA8), COLORSTICK;
STICKLINE(DIFF8>=DEA8,DIFF8,DEA8,4,0),COLOR006CCC;
STICKLINE(DIFF8<DEA8,DIFF8,DEA8,4,0)COLORBLUE;
STICKLINE(DIFF8<REF(DIFF8,1) AND MacD8>0,DIFF8,DEA8,4,0),COLOR003C76;
DIFF :=EMA(CLOSE,12) - EMA(CLOSE,26),COLORYELLOW,LINETHICK2;
DEA := EMA(DIFF,9)COLORGREEN,LINETHICK2;
MACD : 2*(DIFF-DEA), COLORSTICK,LINETHICK1;
STICKLINE(MACD<REF(MACD,1) AND DIFF>DEA,MACD,0,0.1,0),COLORRED;
STICKLINE(MACD>REF(MACD,1) AND DIFF>DEA,MACD,0,3,0),COLORRED;
STICKLINE(MACD>REF(MACD,1) AND DIFF>DEA,MACD,0,0.1,0),COLORYELLOW;
{- }
STICKLINE(DIFF>DEA AND MACD<REF(MACD,1) ,MACD,0,3,0),COLORE500DD;
STICKLINE(DIFF>DEA AND MACD<REF(MACD,1),MACD,0,0.1,0),COLORYELLOW;
STICKLINE(DIFF<DEA ,MACD,0,3,0),COLOR005B0C;
{STICKLINE(DIFF<DEA ,MACD,0,1,0),COLOR848284;}
STICKLINE(DIFF<DEA AND MACD>REF(MACD,1) ,MACD,0,3,0),COLOR7BA600;
{STICKLINE(DIFF<DEA AND MACD>REF(MACD,1),MACD,0,1,0),COLORDDDDDD;}
DIFFS : EMA(CLOSE,5) - EMA(CLOSE,12)COLORWHITE,LINETHICK1;
DEAS : EMA(DIFFS,4)COLORGREEN,LINETHICK1;
MACDS := 2*(DIFFS-DEAS), COLORSTICK,LINETHICK1;
DRAWICON(crOSS(DEA8,DIFF8),DEA8,3);
DRAWICON(CROSS(DIFF8,DEA8),DEA8,1);
DRAWTEXT(CROSS(DIFF,DEA) AND MACD8>0 AND DIFFS>DEAS,DEA,'--卧槽马');




来函数检测结果如下:
该公式没有未来函数

解密、定制、编写股票指标请联系QQ或微信同号:88652583
相关股票指标公式

联系我们  |  股票指标网  |  指标网   |  指标公式  |   加入收藏   |  设为主页

@2005-2023 粤ICP备2023063687号-2 股票指标网别名指标网仅为互联网文章,所有股票指标公式及文章仅供学习研究,并不构成投资建议,请勿以此为依据进行股票交易,由此引起的投资亏损与本站无关。股票指标网均来源互联网收集整理,如不慎侵犯了你的权益,请联系我们告知,我们将做删除处理
QQ:88652583 微信 88652583
sitemap站点地图