When we use this code in Ninja Trader 8, it will Shows the following error.(see the ScreenShot)
‘NinjaTrader.Gui.Chart.ChartControl’ does not contain a definition for ‘BarSpace' and no extension method ‘BarSpace’ accepting a first argument of type ‘NinjaTrader.Gui.Chart.ChartControl ’ could be found(are you missing or using directive or an assembly reference?)
So Instead of BarSpace which definition is needed to use in NinjaTrader 8 ?
Comment