Announcement

Collapse
No announcement yet.

Partner 728x90

Collapse

Strange behavior when forward testing a strategy

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

    Strange behavior when forward testing a strategy

    Hello everyone,

    I am currently testing the strategy “EagleEyePeakHoursTradingNQ”, which shows a great performance in the backtest. The strategy also performs well in backtest in the YT videos of various testers.

    When I activate and test (Demo-Account) the strategy on the NQ 15-minute chart with exactly the same settings, it opens countless trades in a row per candle during testing and closes them again very quickly.
    In the backtest it opens only about 2-6 trades per day.

    I also noticed that it aims for a take profit of 6 ticks, whereas the strategy is set to 24 ticks.

    What could be the reason for these errors?

    Details can be found in the attached pictures.
    I am grateful for any help.

    Best regards,
    BoostTraderDE​

    #2
    Hello BoostTraderDE,

    It's possible the strategy is not implementing 1-tick intra-bar granularity and TickReplay and causing different behavior in real-time or backtest.

    To understand what specifically is different it is necessary to write out the condition, bar, and order information to file to compare.

    Below is a link to a support article with directions and a video.


    And a link to the example script linked from the article.


    Please provide the debugging output from real-time and backtest and I can assist with analyzing to see what is causing differences.
    Chelsea B.NinjaTrader Customer Service

    Comment


      #3
      Hi Chelsea,

      I have implemented the Strategie now with Calculation = On BarClose, as that is exactly, what the Backtest is doing also and it works.
      Thank you for your answer.

      Best regards,
      Tim

      Comment

      Latest Posts

      Collapse

      Topics Statistics Last Post
      Started by NullPointStrategies, Today, 05:17 AM
      0 responses
      49 views
      0 likes
      Last Post NullPointStrategies  
      Started by argusthome, 03-08-2026, 10:06 AM
      0 responses
      126 views
      0 likes
      Last Post argusthome  
      Started by NabilKhattabi, 03-06-2026, 11:18 AM
      0 responses
      67 views
      0 likes
      Last Post NabilKhattabi  
      Started by Deep42, 03-06-2026, 12:28 AM
      0 responses
      42 views
      0 likes
      Last Post Deep42
      by Deep42
       
      Started by TheRealMorford, 03-05-2026, 06:15 PM
      0 responses
      46 views
      0 likes
      Last Post TheRealMorford  
      Working...
      X