DIFF : EMA(CLOSE,SHORT) - EMA(CLOSE,LONG); DEA : EMA(DIFF,M);
MACD : 2*(DIFF-DEA), COLORSTICK,LINETHICK1;
线 : 2*(DIFF-DEA),COLORWHITE,DOTLINE;
A33: 线;
PARTLINE(A33,A33>REF(A33,1),RGB(255,0,0)),LINETHICK1;
ZERO : 0;
GJ:=MAX(C,O);
STICKLINE(MACD>0 AND MACD<REF(MACD,1),0,MACD,1,0),COLORFFFF00;
STICKLINE(MACD<0 AND MACD>=REF(MACD,1),0,MACD,1,0),COLORFF00FF;
牛市:0,COLOR00FFFF,POINTDOT;
STICKLINE(C,牛市,牛市,6,2),COLOR00FFFF,LINETHICK1;
PARTLINE(线,线<0.05 AND 线>-0.05,RGB(241,225,22)),LINETHICK6;
PARTLINE(线,线<0.05 AND 线>-0.05 AND 线>REF(线,1),RGB(255,0,0)),LINETHICK6;
XG:(线<0.05 AND 线>-0.05 AND 线>REF(线,1))*0.5,COLORFF0000,LINETHICK0; |
