通达信斐波那契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;
上一篇: 通达信低位横盘主图及选股指标公式
下一篇: 通达信周线月线选股指标公式