Announcement

Collapse
No announcement yet.

Partner 728x90

Collapse

Strategy Analyzer vs Real World

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

    Strategy Analyzer vs Real World

    Hello,
    I am analyzing a strategy, and while it works well for me and gives me a very good positive profit—for example, for CL with NinZaRenko 4,1 bars—when I apply this strategy in a backtest, the result is the complete opposite, showing a negative outcome.

    How should I configure the Strategy Analyzer to return results that are closer to the real world? And what are the tools to improve the strategy in real-world conditions?

    Thank you very much in advance.

    #2
    Hello getaramb,

    Thank you for your post.

    With standard Renko bars, a backtest is very challenging because the bars have a function that removes the last bar and replaces it with a new Open price. This is difficult to simulate historically vs. how it occurs in real time.

    You may get more realistic backtest results by using High Order Fill Resolution or by coding your strategy to submit orders on a single tick data series by adding intrabar granularity.

    Order Fill Resolution - https://ninjatrader.com/support/helpGuides/nt8/index.html?understanding_historical_fill_.htm#Unde rstandingOrderFillResolution

    Example script - Adding intrabar granularity - https://ninjatrader.com/support/help...ipt_strate.htm

    That said, you are using custom Renko bars so we aren't familiar with their functionality. I would reach out to the developer to ask if they have suggestions on their accuracy when backtesting in the Analyzer.


    Another option would be to backtest your strategy using the Playback Connection so that the bars may be built more realistically as if they were in real time.

    Playback - https://ninjatrader.com/support/help...connection.htm


    There is a section on the "Discrepancies: Real-Time vs Backtest" page in our help guide about backtesting Renko bars here:
    https://ninjatrader.com/support/help...ime_vs_bac.htm

    Please let us know if we may be of further assistance.​

    Comment

    Latest Posts

    Collapse

    Topics Statistics Last Post
    Started by Mindset, 04-21-2026, 06:46 AM
    0 responses
    87 views
    0 likes
    Last Post Mindset
    by Mindset
     
    Started by M4ndoo, 04-20-2026, 05:21 PM
    0 responses
    128 views
    0 likes
    Last Post M4ndoo
    by M4ndoo
     
    Started by M4ndoo, 04-19-2026, 05:54 PM
    0 responses
    65 views
    0 likes
    Last Post M4ndoo
    by M4ndoo
     
    Started by cmoran13, 04-16-2026, 01:02 PM
    0 responses
    117 views
    0 likes
    Last Post cmoran13  
    Started by PaulMohn, 04-10-2026, 11:11 AM
    0 responses
    67 views
    0 likes
    Last Post PaulMohn  
    Working...
    X