Announcement

Collapse

Looking for a User App or Add-On built by the NinjaTrader community?

Visit NinjaTrader EcoSystem and our free User App Share!

Have a question for the NinjaScript developer community? Open a new thread in our NinjaScript File Sharing Discussion Forum!
See more
See less

Partner 728x90

Collapse

Strategy Builder Intra-bar Granularity

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

    Strategy Builder Intra-bar Granularity

    I do not see a setting in Strategy Analyzer to set Use Tick Replay

    Are you talking about in the Options area > Market data > to select under Historical "Use Tick Replay"

    I do see the addition to the Strategy Analyzer for Tick Replay, but when I select It does not ever become Checked

    Thanks
    Last edited by DTSSTS; 01-14-2022, 04:05 PM.

    #2
    Hi, thanks for posting. I moved the question to a new thread since the other one was several years old.

    The strategy analyzer will only run strategies OnBarClose regardless of the default Calculate setting. To get intrabar backtests, you must add a 1 tick series to the strategy and process the OnEachTick logic when processing the 1 ticks series. We have an example implementation here:

    https://ninjatrader.com/support/help...ipt_strate.htm

    Kind regards,
    -ChrisL
    Chris L.NinjaTrader Customer Service

    Comment


      #3
      So to clarify, Once the above is implemented the backtest and the Replay will have the same results.

      And if we do not implement enable Tick Replay in the options. Does the Play Back Connection give results onbarclose or Live

      Comment


        #4
        Hello DTSSTS,

        There can be differences in playback and backtest based on when orders are filled, as these use different engines.

        Below is a link to a forum post that describes these differences.
        https://ninjatrader.com/support/foru...nce#post100192

        And a link to a forum post that details intra-bar granularity.
        https://ninjatrader.com/support/foru...377#post773377

        When TickReplay is enabled, the Strategy Analzyer will use the Calculate setting set in the State.SetDefaults of the strategy.
        Chelsea B.NinjaTrader Customer Service

        Comment

        Latest Posts

        Collapse

        Topics Statistics Last Post
        Started by MatthewLesko, Today, 08:35 PM
        0 responses
        1 view
        0 likes
        Last Post MatthewLesko  
        Started by pjsmith, Today, 04:30 AM
        3 responses
        20 views
        0 likes
        Last Post jeronymite  
        Started by WalterSkinner, Today, 04:40 PM
        0 responses
        7 views
        0 likes
        Last Post WalterSkinner  
        Started by jvanelli, Today, 04:08 PM
        2 responses
        16 views
        0 likes
        Last Post jvanelli  
        Started by eleven, Today, 04:05 PM
        0 responses
        5 views
        0 likes
        Last Post eleven
        by eleven
         
        Working...
        X