Announcement

Collapse
No announcement yet.

Partner 728x90

Collapse

Back testing

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

    Back testing

    Hello,

    I have thoroughly confused myself trying to understand Tick Replay and Back Testing.


    Running a Strategy at the Close of a Bar or Tick by Tick
    • During backtest, strategies can ONLY be processed at the close of each bar.
    Is this statement always true, even if Tick Replay has been enabled and my Indicator and Strategies are set to calculate on each tick?

    If so, is this a behavior different between indicators and strategies during back testing? Based off the Tick Replay documentation, I would expect the indicator to be updated on each individual tick replay event.
    Last edited by NickyD; 12-11-2017, 03:35 PM.

    #2
    Hello NickyD,

    Thanks for opening the thread.

    Tick Replay will allow the strategy (or indicator) to process historical data tick by tick.

    I understand where confusion could be drawn. I'll request that the documentation gets updated to better reflect this.

    If there are further items that would need clarifying between comparing data results between Historical, Realtime, Market Replay, and using Tick Replay, I suggest to check out my colleague Chelsea's thread and videos here: https://ninjatrader.com/support/foru...d.php?t=102504

    Please let me know if you have any additional questions.
    Last edited by NinjaTrader_Jim; 12-11-2017, 03:43 PM.

    Comment


      #3
      Ok, I think it's making more sense now. So my entry and exit triggers will in fact happen on a tick by tick basis, however the order execution engine does not/may not operate tick by tick. Is that right?

      That's why Chelsea recommends adding a second 1 tick data series as outlined here?

      Comment


        #4
        Yes, that would be correct.

        For the thread's reference, an example for intra-bar granularity in backtesting can be found here: https://ninjatrader.com/support/foru...ead.php?t=6652

        Comment

        Latest Posts

        Collapse

        Topics Statistics Last Post
        Started by CaptainJack, 05-29-2026, 05:09 AM
        0 responses
        477 views
        0 likes
        Last Post CaptainJack  
        Started by CaptainJack, 05-29-2026, 12:02 AM
        0 responses
        317 views
        0 likes
        Last Post CaptainJack  
        Started by charlesugo_1, 05-26-2026, 05:03 PM
        0 responses
        255 views
        1 like
        Last Post charlesugo_1  
        Started by DannyP96, 05-18-2026, 02:38 PM
        1 response
        340 views
        0 likes
        Last Post NinjaTrader_ChelseaB  
        Started by CarlTrading, 05-11-2026, 05:56 AM
        0 responses
        306 views
        0 likes
        Last Post CarlTrading  
        Working...
        X