Short:=50;Long:=120;M:=8; DIFF :=EMA(CLOSE,SHORT) - EMA(CLOSE,LONG); DEA :=EMA(DIFF,M); MACD :=2*(DIFF-DEA); Zero : 0; ∑MACD:=SUM(MACD,0),Linethick2; PARTLINE(∑MACD,∑MACD>REF(∑MACD,1),RGB(250,0,0),∑MACD<REF(∑MACD,1),RGB(0,0,250));