// Downloaded From https://www.WiseStockTrader.com _SECTION_BEGIN("CTM"); SetForeign("TICK.Z", True, True ); Price=(H+L+C)/3; MALeng=1560; MAleng1=12; Avg=MA(Price,MALeng); AdjTick=Price-Avg; CMT=Price + AdjTick; Avg1=MA(CMT,MAleng1); CMTColor = IIf(Avg1 < 0,colorYellow ,IIf(Avg1 > 450,colorWhite,colorBlue)); Plot(Avg1,"{TICK.Z} CumulativeTick MA",CMTColor,styleDots); r=Avg1; PlotOHLC( r,r,0,r, "", IIf( r < 0, 32, 12 ), styleCloud |styleNoLabel | styleClipMinMax, -500, 500); _SECTION_END();