ICKLINE(C>0,-100,200,8,0),COLOR444444;N:=1.5;M:=3;P:=64;DIFF:=E((EMA(CLOSE,N*12)-EMA(CLOSE,N*26))/EMA(CLOSE,N*26)*1000,M);DEA:=EMA(DIFF,N*9),COLOR000088;:=2*(DIFF-DEA);MDX:=MACD;MACDO:=EMA(MACD,5),COLORFF77FF;DIFFO:=EMA(DEA,P)*1.8;B:=MACD-REF(MACD,1);(MACD>0 AND B>0,0,MACD,0,1),COLOR0000CD;STICKLINE(MACD>0 AND B<0>0,0,MACD,0,1),COLORCYAN;STICKLINE(MACD<0>DEA,DIFF,DEA,4,0),COLOR0089FF;STICKLINE(DIFF
=REF(DIFF,1) AND DEA[REF(DEA,1),DIFF,DRAWNULL),COLORYELLOW,LINETHICK4;IF(DIFF>=REF(DIFF,1)
]