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 argusthome, 03-08-2026, 10:06 AM
      0 responses
      80 views
      0 likes
      Last Post argusthome  
      Started by NabilKhattabi, 03-06-2026, 11:18 AM
      0 responses
      46 views
      0 likes
      Last Post NabilKhattabi  
      Started by Deep42, 03-06-2026, 12:28 AM
      0 responses
      29 views
      0 likes
      Last Post Deep42
      by Deep42
       
      Started by TheRealMorford, 03-05-2026, 06:15 PM
      0 responses
      32 views
      0 likes
      Last Post TheRealMorford  
      Started by Mindset, 02-28-2026, 06:16 AM
      0 responses
      66 views
      0 likes
      Last Post Mindset
      by Mindset
       
      Working...
      X