Announcement

Collapse
No announcement yet.

Partner 728x90

Collapse

Buy at Price

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

    Buy at Price

    I set up a strategy in the strategy wizzard to buy a numver of shares at a specific price when that price is triggered,
    Why is it that sometimes it sells short in liew of buy?
    Thanks

    #2
    designer,

    Please show us screenshots of what you mean along with the code so we can determine what the behavior of your code should be.
    Josh P.NinjaTrader Customer Service

    Comment


      #3
      Please see attachment
      Attached Files

      Comment


        #4
        And where does it sell short? Thank you.
        Josh P.NinjaTrader Customer Service

        Comment


          #5
          It sells short when it hits the BuyPrice I set.

          Comment


            #6
            Hi designer, can you hit "view code" in the strategy wizard for your strategy and then copy + paste that code here? It seems like you're running into some peculiar problem and the code could help us solve the issue.
            AustinNinjaTrader Customer Service

            Comment


              #7
              Please provide reproducible steps with the strategy. Thank you.
              Josh P.NinjaTrader Customer Service

              Comment


                #8
                Attached find code
                Attached Files

                Comment


                  #9
                  designer,

                  We do not have this Chandelier stop indicator and will need it to be able to test.

                  Please post a screenshot of where you see it placing a sell short order and then steps to reproduce this behavior. From what we see right now it is not possible to have a sell short from your code ever.
                  Josh P.NinjaTrader Customer Service

                  Comment


                    #10
                    I will try testing it again in my demo account and describe the behavior to you.
                    Thanks

                    Comment

                    Latest Posts

                    Collapse

                    Topics Statistics Last Post
                    Started by Geovanny Suaza, 02-11-2026, 06:32 PM
                    0 responses
                    656 views
                    0 likes
                    Last Post Geovanny Suaza  
                    Started by Geovanny Suaza, 02-11-2026, 05:51 PM
                    0 responses
                    371 views
                    1 like
                    Last Post Geovanny Suaza  
                    Started by Mindset, 02-09-2026, 11:44 AM
                    0 responses
                    109 views
                    0 likes
                    Last Post Mindset
                    by Mindset
                     
                    Started by Geovanny Suaza, 02-02-2026, 12:30 PM
                    0 responses
                    574 views
                    1 like
                    Last Post Geovanny Suaza  
                    Started by RFrosty, 01-28-2026, 06:49 PM
                    0 responses
                    579 views
                    1 like
                    Last Post RFrosty
                    by RFrosty
                     
                    Working...
                    X