牛市線 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; |
|