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 CarlTrading, 03-31-2026, 09:41 PM
        1 response
        63 views
        0 likes
        Last Post NinjaTrader_ChelseaB  
        Started by CarlTrading, 04-01-2026, 02:41 AM
        0 responses
        35 views
        0 likes
        Last Post CarlTrading  
        Started by CaptainJack, 03-31-2026, 11:44 PM
        0 responses
        54 views
        1 like
        Last Post CaptainJack  
        Started by CarlTrading, 03-30-2026, 11:51 AM
        0 responses
        61 views
        0 likes
        Last Post CarlTrading  
        Started by CarlTrading, 03-30-2026, 11:48 AM
        0 responses
        48 views
        0 likes
        Last Post CarlTrading  
        Working...
        X