macd多周期共振附图(源码,贴图)介绍
macd多周期共振附图(源码,贴图)
DIF:=EMA(C,12)-EMA(C,26);
DEA:=EMA(DIF,9);
日DIF:"MACD.DIF#DAY"(12,26,9),COLORMAGENTA;
日DEA:"MACD.DEA#DAY"(12,26,9),COLORRED;
周DIF:"MACD.DIF#WEEK"(12,26,9),COLORGRAY;
周DEA:"MACD.DEA#WEEK"(12,26,9),COLORGRAY;
STICKLINE(日DIF>=日DEA,日DIF,日DEA,1,0)COLORRED;
STICKLINE(日DIF<日DEA,日DIF,日DEA,1,0)COLORGREEN;
STICKLINE(周DIF>=周DEA,周DIF,周DEA,0.6,-1)COLORCYAN;
STICKLINE(周DIF<周DEA,周DIF,周DEA,0.6,-1)COLORBLUE;
0,COLORGREEN;
gd15611