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 kinfxhk, 07-14-2026, 09:39 AM
      0 responses
      84 views
      0 likes
      Last Post kinfxhk
      by kinfxhk
       
      Started by kinfxhk, 07-13-2026, 10:18 AM
      0 responses
      90 views
      0 likes
      Last Post kinfxhk
      by kinfxhk
       
      Started by kinfxhk, 07-13-2026, 09:50 AM
      0 responses
      70 views
      0 likes
      Last Post kinfxhk
      by kinfxhk
       
      Started by kinfxhk, 07-13-2026, 07:21 AM
      0 responses
      86 views
      0 likes
      Last Post kinfxhk
      by kinfxhk
       
      Started by kinfxhk, 07-11-2026, 02:11 AM
      0 responses
      61 views
      0 likes
      Last Post kinfxhk
      by kinfxhk
       
      Working...
      X