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 NullPointStrategies, Yesterday, 05:17 AM
        0 responses
        62 views
        0 likes
        Last Post NullPointStrategies  
        Started by argusthome, 03-08-2026, 10:06 AM
        0 responses
        134 views
        0 likes
        Last Post argusthome  
        Started by NabilKhattabi, 03-06-2026, 11:18 AM
        0 responses
        75 views
        0 likes
        Last Post NabilKhattabi  
        Started by Deep42, 03-06-2026, 12:28 AM
        0 responses
        45 views
        0 likes
        Last Post Deep42
        by Deep42
         
        Started by TheRealMorford, 03-05-2026, 06:15 PM
        0 responses
        50 views
        0 likes
        Last Post TheRealMorford  
        Working...
        X