MACD周期共鸣钻石出现关注通达信公式 副图 源码附图

DIF60:=EMA(CLOSE,12/4)-EMA(CLOSE,26/4);
DEA60:=EMA(DIF60,9/4);
DRAWICON(DIF60>=DEA60,65,1);
DRAWICON(DIF60<DEA60,65,2);
{120分}
DIF120:=EMA(CLOSE,12/2)-EMA(CLOSE,26/2);
DEA120:=EMA(DIF120,9/2);
DRAWICON(DIF120>=DEA120,60,1);
DRAWICON(DIF120<DEA120,60,2);
{180分}
DIF180:=EMA(CLOSE,12/4*3)-EMA(CLOSE,26/3*2);
DEA180:=EMA(DIF180,9/4*3);
DRAWICON(DIF180>=DEA180,55,1);
DRAWICON(DIF180<DEA180,55,2);
{1日}
DIF:=EMA(CLOSE,12)-EMA(CLOSE,26);
DEA:=EMA(DIF,9);
DRAWICON(DIF>=DEA,50,1);
DRAWICON(DIF<DEA,50,2);
{2日}
DIF2:=EMA(CLOSE,12*2)-EMA(CLOSE,26*2);
DEA2:=EMA(DIF2,9*2);
DRAWICON(DIF2>=DEA2,45,1);
DRAWICON(DIF2<DEA2,45,2);
{3日 股票指标网}
DIF3:=EMA(CLOSE,12*3)-EMA(CLOSE,26*3);
DEA3:=EMA(DIF3,9*3);
DRAWICON(DIF3>=DEA3,40,1);
DRAWICON(DIF3<DEA3,40,2);
{4日}
DIF4:=EMA(CLOSE,12*4)-EMA(CLOSE,26*4);
DEA4:=EMA(DIF4,9*4);
DRAWICON(DIF4>=DEA4,35,1);
DRAWICON(DIF4<DEA4,35,2);
{周}
周MD:=MACD.DIF#WEEK;
周MA:=MACD.DEA#WEEK;
DRAWICON(周MD>=周MA,30,1);
DRAWICON(周MD<周MA,30,2);
{8日}
DIF8:=EMA(CLOSE,12*8)-EMA(CLOSE,26*8);
DEA8:=EMA(DIF8,9*8);
DRAWICON(DIF8>=DEA8,25,1);
DRAWICON(DIF8<DEA8,25,2);
{12日}
DIF12:=EMA(CLOSE,12*12)-EMA(CLOSE,26*12);
DEA12:=EMA(DIF12,9*12);
DRAWICON(DIF12>=DEA12,20,1);
DRAWICON(DIF12<DEA12,20,2);
{16日}
DIF16:=EMA(CLOSE,12*16)-EMA(CLOSE,26*16);
DEA16:=EMA(DIF16,9*16);
DRAWICON(DIF16>=DEA16,15,1);
DRAWICON(DIF16<DEA16,15,2);
{1月}
月MD:=MACD.DIF#MONTH;
月MA:=MACD.DEA#MONTH;
DRAWICON(月MD>=月MA,10,1);
DRAWICON(月MD<月MA,10,2);
{共振力度}
DRAWICON(DIF120>=DEA120 AND DIF180>=DEA180 AND DIF>=DEA AND DIF2>=DEA2 AND DIF3>=DEA3 AND DIF4>=DEA4 AND 
周MD>=周MA AND DIF8>=DEA8 AND DIF12>=DEA12 AND DIF16>DEA16 AND 月MD>=月MA ,80,26);
DRAWICON(DIF60>=DEA60 AND DIF120>=DEA120 AND DIF180>=DEA180 AND DIF>=DEA AND DIF2>=DEA2 AND DIF3>=DEA3 AND DIF4>=DEA4 AND 
周MD>=周MA AND DIF8>=DEA8 AND DIF12>=DEA12 AND DIF16>DEA16 AND 月MD>=月MA ,80,25);



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

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

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