Announcement

Collapse
No announcement yet.

Partner 728x90

Collapse

Backtesting strategy tick by tick

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

    Backtesting strategy tick by tick

    Hi,

    I have a strategy that runs in a 1-min chart tick-by tick (COBC = false). Is there a way to simulate/backtest the strategy with historical data so that it also processes each tick?

    I have live (and also historical) data from Kinetick.

    Thanks,
    NutFlush

    #2
    Hello NutFlush,

    Yes, you may add a secondary data series so that you can have intrabar data like a 1 tick data series.

    Here is a thread that has an example of this that you may view.
    You can submit orders to different Bars objects. This allows you the flexibility of submitting orders to different timeframes. Like in live trading, taking entry conditions from a 5min chart means executing your order as soon as possible instead of waiting until the next 5min bar starts building. You can achieve this by


    Happy to be of further assistance.
    JCNinjaTrader Customer Service

    Comment


      #3
      Hi,
      Lets say on a chart of M1 timeframe, I add an additional 1 tick data source ( BarsInProgress= 1 ).
      With this setup would'nt the M1 ( BarsInProgress = 0 ) still be called every minute and the OHLC updated once per min?

      Regards

      Vivek

      Comment


        #4
        Hello Vivek,

        Yes, that is correct the BarsInProgress 0 ( the 1 Minute ) time frame will still be called and updated the OHLC every 1 minute.
        JCNinjaTrader Customer Service

        Comment

        Latest Posts

        Collapse

        Topics Statistics Last Post
        Started by Geovanny Suaza, 02-11-2026, 06:32 PM
        0 responses
        648 views
        0 likes
        Last Post Geovanny Suaza  
        Started by Geovanny Suaza, 02-11-2026, 05:51 PM
        0 responses
        369 views
        1 like
        Last Post Geovanny Suaza  
        Started by Mindset, 02-09-2026, 11:44 AM
        0 responses
        108 views
        0 likes
        Last Post Mindset
        by Mindset
         
        Started by Geovanny Suaza, 02-02-2026, 12:30 PM
        0 responses
        572 views
        1 like
        Last Post Geovanny Suaza  
        Started by RFrosty, 01-28-2026, 06:49 PM
        0 responses
        573 views
        1 like
        Last Post RFrosty
        by RFrosty
         
        Working...
        X