P:=13;S:=5;M:=1;DIFF:=EMA(C,S)-EMA(C,P);DEA:=EMA(DIFF,M),COLORRED;:=2*(DIFF-DEA),COLORSTICK;P1:=P;S1:=S;DIFF1:=EMA(C,S1)-EMA(C,P1);DEA1:=EMA(DIFF,M),COLORRED;MACD1:=2*(DIFF1-DEA1),COLORSTICK;MACD2:=DEA;STICKLINE(MACD2<=REF(MACD2,1)AND MACD2>0,0,MACD2,3,0 ),COLOR00AAFF; STICKLINE(MACD2<=REF(MACD2,1)AND MACD2>0,0,MACD2,1.8,0 ),COLOR00BBFF;STICKLINE(MACD2<=REF(MACD2,1)AND MACD2>0,0,MACD2,1.3,0 ),COLOR00CCFF; STICKLINE(MACD2<=REF(MACD2,1)AND MACD2>0,0,MACD2,1.2,0 ),COLOR00DDFF;STICKLINE(