Announcement

Collapse
No announcement yet.

Partner 728x90

Collapse

Strategy Wizard question

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

    #16
    As stated, the nature of backtesting comes with its limitations. NinjaTrader will not allow you to trade in the past and "cheat". When you don't have intrabar granularity the only thing that can be done is trade at the next possible trading location which is the next bar's open. You can try adding more granularity but that will require extensive custom programming outlined here: http://www.ninjatrader-support2.com/...ead.php?t=6652
    Josh P.NinjaTrader Customer Service

    Comment


      #17
      Perfect. I will look into that. Now the only questions left are: if I apply the strategy for a walk forward basis, will it execute at the earliest possible time (intrabar)? And If instead of execution I set up an audio alert, will it also execute on a intrabar basis? Thanks for all your help.

      Comment


        #18
        In real-time it will execute depending what you set CalculateOnBarClose to.
        Josh P.NinjaTrader Customer Service

        Comment


          #19
          Cool, I'll try it again tonight. What should I set calculateOnBarClose to? I know to leave it unchecked on the strategy wizard.

          Comment


            #20
            You need it to be false.
            Josh P.NinjaTrader Customer Service

            Comment

            Latest Posts

            Collapse

            Topics Statistics Last Post
            Started by Geovanny Suaza, 02-11-2026, 06:32 PM
            0 responses
            634 views
            0 likes
            Last Post Geovanny Suaza  
            Started by Geovanny Suaza, 02-11-2026, 05:51 PM
            0 responses
            364 views
            1 like
            Last Post Geovanny Suaza  
            Started by Mindset, 02-09-2026, 11:44 AM
            0 responses
            105 views
            0 likes
            Last Post Mindset
            by Mindset
             
            Started by Geovanny Suaza, 02-02-2026, 12:30 PM
            0 responses
            567 views
            1 like
            Last Post Geovanny Suaza  
            Started by RFrosty, 01-28-2026, 06:49 PM
            0 responses
            568 views
            1 like
            Last Post RFrosty
            by RFrosty
             
            Working...
            X