源码
A5:CONST((HHV(C,120)+LLV(C,120))/2),DOTLINE,COLORWHITE;
A1:3*(EMA(CLOSE,12)-EMA(CLOSE,26))+A5,COLORWHITE;
A2:EMA(A1,9),COLORYELLOW;
MACD:=(A1-A2)*2+A5;
DRAWKLINE(H,O,L,C);
STICKLINE(A1>=A2,A5,MACD ,0,-1),COLORLIRED;
STICKLINE(A1
源码
A5:CONST((HHV(C,120)+LLV(C,120))/2),DOTLINE,COLORWHITE;
A1:3*(EMA(CLOSE,12)-EMA(CLOSE,26))+A5,COLORWHITE;
A2:EMA(A1,9),COLORYELLOW;
MACD:=(A1-A2)*2+A5;
DRAWKLINE(H,O,L,C);
STICKLINE(A1>=A2,A5,MACD ,0,-1),COLORLIRED;
STICKLINE(A1