TJ:=macd>0;
T:=MacD<0;
A:=LLV(MACD,50)=MACD;
DRAWICON(A AND FILTERX(A,20), MACD,1);
{DRAWTEXT(BArslAST(TJ)=1,MACD-0.1,’1′),COLORYELLOW;
DRAWTEXT(BARSLAST(TJ)=2,MACD-0.1,’2′),COLORYELLOW;}
DRAWTEXT(BARSLAST(TJ)=3,MACD-0.1,’3′),COLORYELLOW;
DRAWTEXT(BARSLAST(TJ)=5,MACD-0.1,’5′),COLORYELLOW;
DRAWTEXT(BARSLAST(TJ)=8,MACD-0.1,’8′),COLORYELLOW;
DRAWTEXT(BARSLAST(TJ)=13,MACD-0.1,’13’),COLORYELLOW;
DRAWTEXT(BARSLAST(TJ)=21,MACD-0.1,’21’),COLORYELLOW;
DRAWTEXT(BARSLAST(TJ)=34,MACD-0.1,’34’),COLORYELLOW;
DRAWTEXT(BARSLAST(TJ)=55,MACD-0.1,’55’),COLORYELLOW;
{DRAWTEXT(BARSLAST(T)=1,MACD+0.1,’1′),COLORGREEN;
DRAWTEXT(BARSLAST(T)=2,MACD+0.1,’2′),COLORGREEN;}
DRAWTEXT(BARSLAST(T)=3,MACD+0.1,’3′),COLORGREEN;
DRAWTEXT(BARSLAST(T)=5,MACD+0.1,’5′),COLORGREEN;
DRAWTEXT(BARSLAST(T)=8,MACD+0.1,’8′),COLORGREEN;
DRAWTEXT(BARSLAST(T)=13,MACD+0.1,’13’),COLORGREEN;
DRAWTEXT(BARSLAST(T)=21,MACD+0.1,’21’),COLORGREEN;
DRAWTEXT(BARSLAST(T)=34,MACD+0.1,’34’),COLORGREEN;
DRAWTEXT(BARSLAST(T)=55,MACD+0.1,’55’),COLORGREEN;
DIFF:EMA(CLOSE,12)-EMA(CLOSE,26);
DEA:EMA(DIFF,9);
MACD:(DIFF-DEA)*2,COLORSTICK;
IF(DIFF<DEA,DIFF,DRAWNULL),COLORGREEN;
1、 本站所有指标公式源码资源均是从网络采集和会员提供所得,仅供用来学习研究,请于下载后的24h内自行删除,正式商用请购买正版。如若本站内容侵犯了原著者的合法权益,请携带相关版权文件联系我们进行下架或删除。
2、文章内文字内容均为本站原创发布,任何个人或组织,在未征得本站同意时,禁止复制、盗用、采集、发布本站内容到任何网站、书籍等各类媒体平台。原文链接:https://www.zhibiao123.cn/172367.html,转载请注明出处。