Announcement

Collapse
No announcement yet.

Partner 728x90

Collapse

Bracket Orders

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

    Bracket Orders

    I would like to enter a bracket order in my strategy. I thought I would be able to use

    EnterLongStopLimit(
    1, lowerprice, upperprice)

    unfortunately, I can't seem to get it working. I have a conditional that when met will draw a line across the chart at the points where the orders should be placed. the next line in the logic is the EnterLongStopLimit but the orders aren't place nor is there an error in the log. So, would you please clue me in to what may be going on?

    Thanks,
    Mike

    #2
    This method places a buy stop limit order. There is currently no way to submit two entry orders. You could write code to determine when the entries trigger and submit market orders.
    RayNinjaTrader Customer Service

    Comment


      #3
      ok let me ask this which is the greater issue that i was trying to convey in my previous post regardless whether it's a EnterLongStopLimit or something eles. same scenario i described earlier so won't include that here. why won't the order get placed? i have also tried EnterLongLimit but it doesn't ever show up.

      Thanks,
      Mike

      Comment


        #4
        Let me try this in a more direct way. I thought I asked the correct question originally but I didn't so here we go. When I enter trades on the chart using ChartTrade and I am anticipating an entry at a point higher than where price currently is, I right click on the chart at the price I want to place the order and select "Buy Stop..." and if I want to place an long order below where price currently is I select "Buy Limit..." That's the behavior I want to mimic in my strategy.

        I want to place a limit or stop order at a specific price when a certain condition is met. That's really what i'm trying to do but can't seem to get it to work.

        Thanks,
        Mike
        Last edited by Mike Winfrey; 04-27-2008, 04:06 PM.

        Comment


          #5
          Not sure I follow. Have you tried using TraceOrders = true to see what is happening? If the order is ignored you generally will get a message here. You may also be running into one of these: http://www.ninjatrader-support.com/H...verview36.html
          Josh P.NinjaTrader Customer Service

          Comment


            #6
            Originally posted by Mike Winfrey View Post
            Let me try this in a more direct way. I thought I asked the correct question originally but I didn't so here we go. When I enter trades on the chart using ChartTrade and I am anticipating an entry at a point higher than where price currently is, I right click on the chart at the price I want to place the order and select "Buy Stop..." and if I want to place an long order below where price currently is I select "Buy Limit..." That's the behavior I want to mimic in my strategy.

            I want to place a limit or stop order at a specific price when a certain condition is met. That's really what i'm trying to do but can't seem to get it to work.

            Thanks,
            Mike
            My answer still applies, you can not do this in NinjaScript currently. Only one entry order at a time.
            RayNinjaTrader Customer Service

            Comment


              #7
              This function is critical for breakout strategies. Why Ninjatrader 6.5 does not allow place two opposite side orders at same time?

              Comment


                #8
                Please see here: http://www.ninjatrader-support.com/v...ead.php?t=8035

                No need to post the same issue in different threads.

                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