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 mattbsea, Today, 05:44 PM
      0 responses
      3 views
      0 likes
      Last Post mattbsea  
      Started by RideMe, 04-07-2024, 04:54 PM
      6 responses
      31 views
      0 likes
      Last Post RideMe
      by RideMe
       
      Started by tkaboris, Today, 05:13 PM
      0 responses
      2 views
      0 likes
      Last Post tkaboris  
      Started by GussJ, 03-04-2020, 03:11 PM
      16 responses
      3,282 views
      0 likes
      Last Post Leafcutter  
      Started by WHICKED, Today, 12:45 PM
      2 responses
      20 views
      0 likes
      Last Post WHICKED
      by WHICKED
       
      Working...
      X