Want to draw a line on 5 Minute chart which is 200 period monthly SMA current value. For do that calculation we can not add secondary data series via Add(PeriodType.Month, 1). Because period is too high and no broker supports this much historical data. So if there is a global variable support on ninjatrader. I can open monthly chart for 200 bars, add my custom indicator on it which is calculating current SMA(200) value and store to global variable. Then open another chart which is 5 Minute period and add my other custom indicator on it which is reading global variable and draw a line on a chart.
Shortly is there a support for gloval variables in NinjaTrader? Or are you have any suggestion that solve my problem.
Thanks,
Aytac
Comment