通达信3D版MACD指标公式

SHORT:=12,NODRAW;
LONG:=26,NODRAW;
MID:=9,NODRAW;
DIF:EMA(CLOSE,SHORT)-EMA(CLOSE,LONG);
DEA:EMA(DIF,MID);
macd:(DIF-DEA)*2,COLORSTICK;
每股公积金:FINANCE(18),NODRAW,COLORYELLOW;
PE动:DYNAINFO(39),NODRAW,COLORCYAN;
量比:IF(BARSCOUNT(C)=CURRBARSCOUNT,DYNAINFO(17),V/REF(MA(V,5),1)),LINETHICK0,COLORYELLOW;
换手:vol/CAPITAL*100,NODRAW,COLORYELLOW;
五日均换手:MA(换手,5),NODRAW,COLORYELLOW;
十日均换手:MA(换手,10)NODRAW,COLORYELLOW;
STICKLINE(MacD>0 AND MACD>=REF(MACD,1),0,MACD,3,0),COLOR000045;
STICKLINE(MACD>0 AND MACD>=REF(MACD,1),0,MACD,2.5,0),COLOR000065;
STICKLINE(MACD>0 AND MACD>=REF(MACD,1),0,MACD,1.5,0),COLOR0000A5;
STICKLINE(MACD>0 AND MACD>=REF(MACD,1),0,MACD,1,0),COLOR0000C5;
STICKLINE(MACD>0 AND MACD>=REF(MACD,1),0,MACD,0.5,0),COLOR0000E5;
STICKLINE(MACD>0 AND MACD>=REF(MACD,1),0,MACD,0,0),COLOR0000F5;
STICKLINE(MACD>0 AND MACD>=REF(MACD,1),0,MACD,0,0),COLOR0000F5;
STICKLINE(MACD>0 AND MACD<REF(MACD,1),0,MACD,0,0),COLORFF5500;
STICKLINE(MACD>0 AND MACD<REF(MACD,1),0,MACD,3.1,0),COLORFF6600;
STICKLINE(MACD>0 AND MACD<REF(MACD,1),0,MACD,2.4,0),COLORFF7700;
STICKLINE(MACD>0 AND MACD<REF(MACD,1),0,MACD,2.0,0),COLORFF8800;
STICKLINE(MACD>0 AND MACD<REF(MACD,1),0,MACD,1.6,0),COLORFF9900;
STICKLINE(MACD>0 AND MACD<REF(MACD,1),0,MACD,1.2,0),COLORFFAA00;
STICKLINE(MACD>0 AND MACD<REF(MACD,1),0,MACD,0.6,0),COLORFFCC00;
STICKLINE(MACD>0 AND MACD<REF(MACD,1),0,MACD,0.1,0),COLORFFFF00;
STICKLINE(MACD<0 AND MACD<REF(MACD,1),0,MACD,0,0),COLORFF5500;
STICKLINE(MACD<0 AND MACD<REF(MACD,1),0,MACD,3.1,0),COLORFF6600;
STICKLINE(MACD<0 AND MACD<REF(MACD,1),0,MACD,2.4,0),COLORFF7700;
STICKLINE(MACD<0 AND MACD<REF(MACD,1),0,MACD,2.0,0),COLORFF8800;
STICKLINE(MACD<0 AND MACD<REF(MACD,1),0,MACD,1.6,0),COLORFF9900;
STICKLINE(MACD<0 AND MACD<REF(MACD,1),0,MACD,1.2,0),COLORFFAA00;
STICKLINE(MACD<0 AND MACD<REF(MACD,1),0,MACD,0.6,0),COLORFFCC00;
STICKLINE(MACD<0 AND MACD<REF(MACD,1),0,MACD,0.1,0),COLORFFFF00;
STICKLINE(MACD<0 AND MACD>=REF(MACD,1),0,MACD,0,0),COLOR7D7DFF;
STICKLINE(MACD<0 AND MACD>=REF(MACD,1),0,MACD,0,0),COLOR7D7DFF;
STICKLINE(MACD<0 AND MACD>=REF(MACD,1),0,MACD,3.1,0),COLOR1313FF;
STICKLINE(MACD<0 AND MACD>=REF(MACD,1),0,MACD,2.4,0),COLOR2424FF;
STICKLINE(MACD<0 AND MACD>=REF(MACD,1),0,MACD,2.0,0),COLOR2D2DFF;
STICKLINE(MACD<0 AND MACD>=REF(MACD,1),0,MACD,1.6,0),COLOR4444FF;
STICKLINE(MACD<0 AND MACD>=REF(MACD,1),0,MACD,1.2,0),COLOR5757FF;
STICKLINE(MACD<0 AND MACD>=REF(MACD,1),0,MACD,0.6,0),COLOR6666FF;
STICKLINE(MACD<0 AND MACD>=REF(MACD,1),0,MACD,0.1,0),COLOR7D7DFF;
DRAWICON(crOSS(DIF,DEA),DIF*0.0,25);
DRAWICON(CROSS(DEA,DIF),DEA*0.0,24);




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

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

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