也发 将MACD真实的在主图体现-大智慧
MA5: MA(C, 5);
MA10:MA(C, 10);
MA20: MA(C, 20);
MA40: MA(C, 40);
MA60: MA(C, 60);
DIFF: EMA(C,12)-EMA(C,26), linethick0, COLORWHITE;
DEA : EMA(DIFF,9), linethick0, COLORYELLOW;
MACD: 2*(DIFF-DEA), linethick0;
JD := LLVALL(l)*0.88;
STICKLINE(MACD<0, JD, JD+MACD, 1, 0), COLORFFFF54;
STICKLINE(MACD>0, JD, JD+MACD, 1, 0), COLOR5454FF;
PARTLINE(JD+DIFF,C), COLORWHITE;
PARTLINE(JD+DEA,C), COLORYELLOW;