通达信斐波那契MACD指标公式

2019-04-11    作者:股匠网整理    来源:本站整理

TJ:=MACD>0;
T:=MACD<0;
A:=LLV(MACD50)=MACD;
DRAWICON(A AND FILTERX(A20) MACD1);
{DRAWTEXT(BARSLAST(TJ)=1MACD-0.1'1')COLORYELLOW;
DRAWTEXT(BARSLAST(TJ)=2MACD-0.1'2')COLORYELLOW;}
DRAWTEXT(BARSLAST(TJ)=3MACD-0.1'3')COLORYELLOW;
DRAWTEXT(BARSLAST(TJ)=5MACD-0.1'5')COLORYELLOW;
DRAWTEXT(BARSLAST(TJ)=8MACD-0.1'8')COLORYELLOW;
DRAWTEXT(BARSLAST(TJ)=13MACD-0.1'13')COLORYELLOW;
DRAWTEXT(BARSLAST(TJ)=21MACD-0.1'21')COLORYELLOW;
DRAWTEXT(BARSLAST(TJ)=34MACD-0.1'34')COLORYELLOW;
DRAWTEXT(BARSLAST(TJ)=55MACD-0.1'55')COLORYELLOW;
{DRAWTEXT(BARSLAST(T)=1MACD+0.1'1')COLORGREEN;
DRAWTEXT(BARSLAST(T)=2MACD+0.1'2')COLORGREEN;}
DRAWTEXT(BARSLAST(T)=3MACD+0.1'3')COLORGREEN;
DRAWTEXT(BARSLAST(T)=5MACD+0.1'5')COLORGREEN;
DRAWTEXT(BARSLAST(T)=8MACD+0.1'8')COLORGREEN;
DRAWTEXT(BARSLAST(T)=13MACD+0.1'13')COLORGREEN;
DRAWTEXT(BARSLAST(T)=21MACD+0.1'21')COLORGREEN;
DRAWTEXT(BARSLAST(T)=34MACD+0.1'34')COLORGREEN;
DRAWTEXT(BARSLAST(T)=55MACD+0.1'55')COLORGREEN;
DIFF:EMA(CLOSE12)-EMA(CLOSE26);
DEA:EMA(DIFF9);
MACD:(DIFF-DEA)*2COLORSTICK;
IF(DIFF<DEADIFFDRAWNULL)COLORGREEN;

阅读:279    评论:0

联系我们 - 关于我们 - 网站地图

声明:站内所有文章、公式均来自互联网或网友分享提供,如侵犯您的权利请告知,我们会在24小时内及时删除! 


【电脑版】  【回到顶部】