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 NullPointStrategies, Yesterday, 05:17 AM
    0 responses
    56 views
    0 likes
    Last Post NullPointStrategies  
    Started by argusthome, 03-08-2026, 10:06 AM
    0 responses
    132 views
    0 likes
    Last Post argusthome  
    Started by NabilKhattabi, 03-06-2026, 11:18 AM
    0 responses
    73 views
    0 likes
    Last Post NabilKhattabi  
    Started by Deep42, 03-06-2026, 12:28 AM
    0 responses
    45 views
    0 likes
    Last Post Deep42
    by Deep42
     
    Started by TheRealMorford, 03-05-2026, 06:15 PM
    0 responses
    49 views
    0 likes
    Last Post TheRealMorford  
    Working...
    X