Announcement

Collapse
No announcement yet.

Partner 728x90

Collapse

 the stop price is greater than the market price ....order with no stop

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

     the stop price is greater than the market price ....order with no stop

    Hello

    I use a live strategie with 150 Tick Bars (NQ) but sometimes the stop Order is not transmitted .
    This happens in the case of very fast long bars ( < 100ms) against me.

    In this case there is only the pop up message :
    " the stop price is greater than the market price..."
    The stop order gets not transmitted but my long order is filled and has no stop .

    How can i change this behavior ?

    Can i get this pop up message " the stop price is greater than the market price..." in the code an just send a exit order ?
    But i guess the whole strategie would be on status Hold because the are not in sync ?


    #2
    Hello jr123,

    Thanks for your post.

    How are you testing the strategy, on the strategy analyzer, or in Playback with market replay data, or on a live chart?

    What is the calculate setting for the strategy (Calculate.OnBarClose, Calculate.OnPriceChange, or Calculate.OnEachTick)?

    What type of stop order method are you using (SetStopLoss(), ExitStopMarket(), ExitStopLimit()..?

    Paul H.NinjaTrader Customer Service

    Comment


      #3
      this Happens only life
      calculate setting ist OnBarClose

      i use unmanaged orders.
      i always send the longstoporder together with the stoporder

      "
      orderlong = SubmitOrderUnmanaged(0, OrderAction.Buy, OrderType.Limit, Menge, longlimit, 0, "", "long");
      orderlongstop = SubmitOrderUnmanaged(0, OrderAction.Sell, OrderType.StopMarket, Menge,0, longstoplimit, ocolong, "longstop");

      "

      as i say, this hapens only with very fast bars < 100ms (NQ 150 Tickbars are somtimes very fast)
      and only when the price from this next bar is under the stop price

      The price on the exchange is just at this time (after the transfertime to the exchange) under my stop price so i get this message.
      This seems normal but how can i prevent that the whole Strategie is stopped and my long order is filled and without stop ?
      Last edited by jr123; 06-23-2020, 06:31 AM.

      Comment


        #4
        Hello jr123,

        Thanks for your reply.

        Please see this section of the help guide: https://ninjatrader.com/support/help...orhandling.htm which provides an example to illustrate.

        Paul H.NinjaTrader Customer Service

        Comment

        Latest Posts

        Collapse

        Topics Statistics Last Post
        Started by AttiM, 02-14-2024, 05:20 PM
        11 responses
        184 views
        0 likes
        Last Post NinjaTrader_ChelseaB  
        Started by fernandobr, Today, 09:11 AM
        1 response
        3 views
        0 likes
        Last Post NinjaTrader_Erick  
        Started by timmbbo, Today, 08:59 AM
        1 response
        3 views
        0 likes
        Last Post NinjaTrader_ChelseaB  
        Started by KennyK, 05-29-2017, 02:02 AM
        2 responses
        1,281 views
        0 likes
        Last Post marcus2300  
        Started by itrader46, Today, 09:04 AM
        1 response
        6 views
        0 likes
        Last Post NinjaTrader_Clayton  
        Working...
        X