Announcement

Collapse

Looking for a User App or Add-On built by the NinjaTrader community?

Visit NinjaTrader EcoSystem and our free User App Share!

Have a question for the NinjaScript developer community? Open a new thread in our NinjaScript File Sharing Discussion Forum!
See more
See less

Partner 728x90

Collapse

Can AddRenko() work with BackTesting + TickReplay?

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

    Can AddRenko() work with BackTesting + TickReplay?

    Hi,

    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.

    #2
    Should I move to Historical Fill Processing instead of using Tick Replay? Will AddRenko() work with Historical Fill Processing?

    Comment

    Latest Posts

    Collapse

    Topics Statistics Last Post
    Started by Richozzy38, Today, 01:06 PM
    0 responses
    1 view
    0 likes
    Last Post Richozzy38  
    Started by snoussi, Today, 12:26 PM
    4 responses
    11 views
    0 likes
    Last Post snoussi
    by snoussi
     
    Started by reynoldsn, Today, 12:42 PM
    1 response
    5 views
    0 likes
    Last Post NinjaTrader_Jesse  
    Started by f.saeidi, Today, 12:35 PM
    1 response
    7 views
    0 likes
    Last Post NinjaTrader_LuisH  
    Started by Italohispanico, Today, 12:39 PM
    0 responses
    4 views
    0 likes
    Last Post Italohispanico  
    Working...
    X