Announcement

Collapse
No announcement yet.

Partner 728x90

Collapse

backtest on loaded days for market replay data

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

    backtest on loaded days for market replay data

    Hey there,
    I want to trade on market replay data, but to draw indicators I need to load 100 days before and merge them, but when I start the strategy on LineBreak chart, it "makes" a lot of backtested trades on historical static data (not market replay data as those has not started yet). Is there any option to prohibit NT to do those silly and unrealistic trades?
    Do not think why we need that, we simply need that (we do log all the trades to csv files we analyse further with our developed tools, but NT7 saves into that csv also these backtested unrealistic trades which render our final results toally unusable). We could use a variable of start or end date or date time variable, but is there any simple streamlined solution in options or settings of NT7?
    N.

    #2
    N,
    Market replay is a simulated real time feed so you can check Historical property for this.

    Use: if (Historical) return; to prevent processing on historical bars.
    Ryan M.NinjaTrader Customer Service

    Comment


      #3
      Thank you, we will check that option out

      Comment

      Latest Posts

      Collapse

      Topics Statistics Last Post
      Started by Mindset, 04-21-2026, 06:46 AM
      0 responses
      105 views
      0 likes
      Last Post Mindset
      by Mindset
       
      Started by M4ndoo, 04-20-2026, 05:21 PM
      0 responses
      145 views
      0 likes
      Last Post M4ndoo
      by M4ndoo
       
      Started by M4ndoo, 04-19-2026, 05:54 PM
      0 responses
      71 views
      0 likes
      Last Post M4ndoo
      by M4ndoo
       
      Started by cmoran13, 04-16-2026, 01:02 PM
      0 responses
      125 views
      0 likes
      Last Post cmoran13  
      Started by PaulMohn, 04-10-2026, 11:11 AM
      0 responses
      79 views
      0 likes
      Last Post PaulMohn  
      Working...
      X