Announcement

Collapse
No announcement yet.

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.

    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.

        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 sjsj2732, Yesterday, 04:31 AM
              0 responses
              38 views
              0 likes
              Last Post sjsj2732  
              Started by NullPointStrategies, 03-13-2026, 05:17 AM
              0 responses
              287 views
              0 likes
              Last Post NullPointStrategies  
              Started by argusthome, 03-08-2026, 10:06 AM
              0 responses
              289 views
              0 likes
              Last Post argusthome  
              Started by NabilKhattabi, 03-06-2026, 11:18 AM
              0 responses
              134 views
              1 like
              Last Post NabilKhattabi  
              Started by Deep42, 03-06-2026, 12:28 AM
              0 responses
              95 views
              0 likes
              Last Post Deep42
              by Deep42
               
              Working...
              X