Announcement

Collapse
No announcement yet.

Partner 728x90

Collapse

Backtest: 3 min candles- Multi timeframe - OnTickUpdate

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

    Backtest: 3 min candles- Multi timeframe - OnTickUpdate

    How can I genuinely (and as accurately as possible) backtest a strategy that relies on ES-3mins candles. Has multi timeframe checks. Logic written on OnTickUpdate.

    If i use the regular backtest it gives me flawed results, as NT only has High-Low-Open-Close values for each bar. I cant use ontickreplay, because it has Multiple timeframes.

    Any help or suggestions?

    #2
    Hello GauthamK,

    Are the hosted indicators using added series or just the host strategy?

    Adding a 1 tick series for accuracy with order fills, and to trigger intra-bar actions is possible. However, indicators would not update their prices on each tick or price change unless TickReplay is enabled.

    Below is a link to a forum post about intra-bar granularity.
    Chelsea B.NinjaTrader Customer Service

    Comment


      #3
      Thanks Chelsea.

      Yes i have added a series for 2nd timeframe. That is why i cant use the tick replay. Any other suggestions?

      Comment


        #4
        Hello GauthamK,

        If the hosted indicator has multiple series it would not be possible for these series to work with TickReplay.
        The indicator would need to be designed to run using a 1 tick series as the primary series.
        Or you would need to accept the indicator will only be updating when the bar closes.
        Or you can use Playback to test the script on a chart in real-time playback using MarketReplay data or historical 1 tick data, without taking advantage of the Strategy Analyzer.
        Chelsea B.NinjaTrader Customer Service

        Comment

        Latest Posts

        Collapse

        Topics Statistics Last Post
        Started by CarlTrading, 03-31-2026, 09:41 PM
        1 response
        79 views
        1 like
        Last Post NinjaTrader_ChelseaB  
        Started by CarlTrading, 04-01-2026, 02:41 AM
        0 responses
        40 views
        0 likes
        Last Post CarlTrading  
        Started by CaptainJack, 03-31-2026, 11:44 PM
        0 responses
        63 views
        2 likes
        Last Post CaptainJack  
        Started by CarlTrading, 03-30-2026, 11:51 AM
        0 responses
        63 views
        0 likes
        Last Post CarlTrading  
        Started by CarlTrading, 03-30-2026, 11:48 AM
        0 responses
        54 views
        0 likes
        Last Post CarlTrading  
        Working...
        X