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 cmoran13, Yesterday, 01:02 PM
                    0 responses
                    30 views
                    0 likes
                    Last Post cmoran13  
                    Started by PaulMohn, 04-10-2026, 11:11 AM
                    0 responses
                    22 views
                    0 likes
                    Last Post PaulMohn  
                    Started by CarlTrading, 03-31-2026, 09:41 PM
                    1 response
                    160 views
                    1 like
                    Last Post NinjaTrader_ChelseaB  
                    Started by CarlTrading, 04-01-2026, 02:41 AM
                    0 responses
                    95 views
                    1 like
                    Last Post CarlTrading  
                    Started by CaptainJack, 03-31-2026, 11:44 PM
                    0 responses
                    148 views
                    2 likes
                    Last Post CaptainJack  
                    Working...
                    X