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 Felix Reichert, 04-26-2024, 02:12 PM
      6 responses
      41 views
      0 likes
      Last Post Felix Reichert  
      Started by MrForgetful, Today, 01:28 AM
      3 responses
      21 views
      0 likes
      Last Post NinjaTrader_Zachary  
      Started by cmtjoancolmenero, 04-29-2024, 03:40 PM
      16 responses
      49 views
      0 likes
      Last Post cmtjoancolmenero  
      Started by ETFVoyageur, Yesterday, 06:05 PM
      6 responses
      39 views
      0 likes
      Last Post ETFVoyageur  
      Started by rbeckmann05, Today, 02:35 PM
      1 response
      7 views
      0 likes
      Last Post NinjaTrader_BrandonH  
      Working...
      X