Is it possible for AddRenko() to work with TickReplay in BackTesting? I'm getting the following:
Time Category Message
24/05/2021 10:48:54 PM Default Failed to call 'Add' method: System.InvalidOperationException: RemoveLastBar() not supported for tick replay. See 'IsRemoveLastBarSupported' property at NinjaTrader.Data.Bars.RemoveLastBar() at NinjaTrader.Data.BarsType.RemoveLastBar(Bars bars) at NinjaTrader.NinjaScript.BarsTypes.RenkoBarsType.On DataPoint(Bars bars, Double open, Double high, Double low, Double close, DateTime time, Int64 volume, Boolean isBar, Double bid, Double ask) in c:\Users\username\Documents\NinjaTrader 8\bin\Custom\BarsTypes\@RenkoBarsType.cs:line 104 at NinjaTrader.Data.BarsSeries.Add(Bars bars, Double open, Double high, Double low, Double close, DateTime time, Int64 volume, Double tickSize, Boolean isBar, Double bid, Double ask)
Thanks for the help.
Comment