飞狐MACD周叉副图指标

源码

 

{MACD周叉 LONG 26 SHORT 12 MID 9  日线、周线、周&月金叉、死叉同一图}

DIFF:EMA(CLOSE,SHORT)-EMA(CLOSE,LONG),COLORWHITE;
DEA:EMA(DIFF,MID),COLORYELLOW;
MACD:(DIFF-DEA)*2,COLORSTICK;

周DIFF:MA("MACD.DIFF#WEEK"(LONG,SHORT,MID),5),POINTDOT,LINETHICK1,COLORWHITE;
周DEA:MA("MACD.DEA#WEEK"(LONG,SHORT,MID),5),POINTDOT,LINETHICK1,COLOR33FF99;

周金▲:DRAWTEXT(CROSS("MACD.DIFF#WEEK"(LONG,SHORT,MID) ,"MACD.DEA#WEEK"(LONG,SHORT,MID)),0,'▲'),COLORred;
周死▼:DRAWTEXT(CROSS("MACD.DEA#WEEK"(LONG,SHORT,MID) ,"MACD.DIFF#WEEK"(LONG,SHORT,MID)),0,'▼')COLORgreen;
月金个:DRAWTEXT(CROSS("MACD.DIFF#MONTH"(LONG,SHORT,MID) ,"MACD.DEA#MONTH"(LONG,SHORT,MID)),0,'个'),COLORMAGENTA;
月死丫:DRAWTEXT(CROSS("MACD.DEA#MONTH"(LONG,SHORT,MID) ,"MACD.DIFF#MONTH"(LONG,SHORT,MID)),0,'丫'),COLORYELLOW;




未来函数检测结果如下:
该公式包含未来函数:#MONTH
该公式包含未来函数:#WEEK
解密、定制、编写股票指标请联系QQ或微信同号:88652583
相关股票指标公式

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

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