同花顺MACD公式副图指标 源码介绍
同花顺MACD公式副图指标 源码
指标由2组参数算出2条类是MACD走势的彩带,当黄线由下降之后开始走平,出现红色或者紫色柱子买入参考
DIFF:=EMA(CLOSE,13)-EMA(CLOSE,34);
DEA:=EMA(DIFF,9);
AA:=MA(DEA,21);
AB:=MA(AA,5);
SL:MA(DIFF,88),coloryellow,LINETHICK3;
STICKLINE(AA>AB,AA,AB,3,0),colormagenta;
STICKLINE(AA<AB,AA,AB,3,0),colorcyan;
STICKLINE(DIFF>DEA,DIFF,DEA,3,0),colorred;
STICKLINE(DIFF<DEA,DIFF,DEA,3,0),colorgreen;
gd46368