Announcement

Collapse
No announcement yet.

Partner 728x90

Collapse

Multi-session multi-timeframe strategy backtest bug

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

    Multi-session multi-timeframe strategy backtest bug

    Hi NinjaTrader support,

    I found one bug at strategy backtesting. This happens at multi-session instruments, like Wheat (ZW), session CBOT Agricultural ETH. If your primary bars is Minute and secondary bars is Day, the strategy bars flow act this way:
    • First goes bars from first Minute session UTC-06 [18:00, 7:15],
    • then goes Day bar
    • and after that goes bars from second Minute session UTC-06 [9:30, 13:15]

    In another words, in second session I simply know, where the price is going to close, so I simply may decide if go long or short.

    Let's consider, that my timezone in PC is set to UTC+01, so my sessions are [01:00, 14:15] and [16:30, 20:15]

    I attach strategy, which demonstrate this problem. In my case the strategy is not 100% as should be expected because of some incoherence between minute data and day data, but hope that equity speaks for itself.
    Attached Files

    #2
    Hello,

    Thank you for the report.

    I am checking into this.

    -Brett
    BrettNinjaTrader Product Management

    Comment


      #3
      dalisdj,

      Thanks for your note.

      I am unable to replicate this with Kinetick. Who is your data provider?

      I changed my timezone to UTC + 1, used the session template you did, loaded a 15 minute chart of ZW ##-##. I am getting orders with losses as well as profits. I see nothing abnormal when comparing to Daily chart.

      It is suggested you try this with a data series set to minute 1440 and see if it remedies the issue.
      Adam P.NinjaTrader Customer Service

      Comment

      Latest Posts

      Collapse

      Topics Statistics Last Post
      Started by Hwop38, 05-04-2026, 07:02 PM
      0 responses
      166 views
      0 likes
      Last Post Hwop38
      by Hwop38
       
      Started by CaptainJack, 04-24-2026, 11:07 PM
      0 responses
      320 views
      0 likes
      Last Post CaptainJack  
      Started by Mindset, 04-21-2026, 06:46 AM
      0 responses
      246 views
      0 likes
      Last Post Mindset
      by Mindset
       
      Started by M4ndoo, 04-20-2026, 05:21 PM
      0 responses
      350 views
      0 likes
      Last Post M4ndoo
      by M4ndoo
       
      Started by M4ndoo, 04-19-2026, 05:54 PM
      0 responses
      179 views
      0 likes
      Last Post M4ndoo
      by M4ndoo
       
      Working...
      X