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 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 patrickmlee007, Today, 09:33 AM
            2 responses
            17 views
            0 likes
            Last Post patrickmlee007  
            Started by magnatauren, 08-15-2020, 02:12 PM
            5 responses
            206 views
            0 likes
            Last Post RaddiFX
            by RaddiFX
             
            Started by rene69851, 05-02-2024, 03:25 PM
            1 response
            21 views
            0 likes
            Last Post rene69851  
            Started by ETFVoyageur, Yesterday, 07:05 PM
            5 responses
            45 views
            0 likes
            Last Post ETFVoyageur  
            Started by jpeep, 08-16-2020, 08:31 AM
            13 responses
            487 views
            0 likes
            Last Post notenufftime  
            Working...
            X