彩色MACD副图指标 源码 同花顺 贴图介绍
彩色MACD副图指标 源码 同花顺 贴图
紫色关注,红色持仓,蓝色减仓,绿色空仓
STKNAME,coloryellow;
VAR1:=EMA(CLOSE,5)-EMA(CLOSE,10);
VAR2:=EMA(VAR1,22);
VAR3:=2*(VAR1-VAR2);
STICKLINE(VAR3<REF(VAR3,1) AND VAR3>0,0,VAR3,8,1),colorcyan;
STICKLINE(VAR3>=REF(VAR3,1)AND VAR3>0,0,VAR3,8,0),colorred;
STICKLINE(VAR3>REF(VAR3,1)AND VAR3<0,0,VAR3,8,0),colormagenta;
STICKLINE(VAR3<=REF(VAR3,1)AND VAR3<0,0,VAR3,8,1),colorgreen;
gd56615