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

WaitForClosingOcoBracket

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

    WaitForClosingOcoBracket

    When I try to enter "WaitForClosingOcoBracket = true;" in the Initialize() section, I get the following error:

    The name "WaitForClosingOcoBracket" does not exist in the current context CS0103.

    I use TD Ameritrade. What am I doing wrong?

    #2
    Which NinjaTrader version do you use? You can check under Help > About.
    BertrandNinjaTrader Customer Service

    Comment


      #3
      6.5.1000.9

      Comment


        #4
        Ok, then please upgrade to 6.5.1000.10 by going to Help > Download Site in the software. Then recheck your script.
        BertrandNinjaTrader Customer Service

        Comment


          #5
          I am using 6.5.1000.10 now but I still have the same problem.

          Comment


            #6
            Hi,

            Can you please send a note to support at ninjatrader dot com and refer to this post.

            We will send you a link for a custom build version for TDA.
            Vince B.NinjaTrader Customer Service

            Comment


              #7
              wrong spelling

              please type

              this.

              as soon as the dot is typed
              intellisense will then propose all the member functions and you choose the function you need.

              for example:

              this.WaitForOcoClosingBracket
              and it compiles without error


              (your spelling was different)

              Comment

              Latest Posts

              Collapse

              Topics Statistics Last Post
              Started by llanqui, Yesterday, 10:29 AM
              4 responses
              23 views
              0 likes
              Last Post NinjaTrader_BrandonH  
              Started by TAJTrades, Today, 11:03 AM
              1 response
              5 views
              0 likes
              Last Post NinjaTrader_Clayton  
              Started by Dziu-Dziu, 02-04-2018, 07:46 AM
              26 responses
              1,767 views
              0 likes
              Last Post mochibocchi  
              Started by DawnTreader, 05-08-2024, 05:58 PM
              19 responses
              78 views
              0 likes
              Last Post NinjaTrader_Gaby  
              Started by cshox, Today, 11:11 AM
              1 response
              6 views
              0 likes
              Last Post NinjaTrader_Jesse  
              Working...
              X