Announcement

Collapse
No announcement yet.

Partner 728x90

Collapse

NT8B10: A Valid ExitLongStopMarket ignored but should NOT BE.

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

    NT8B10: A Valid ExitLongStopMarket ignored but should NOT BE.

    I`ve uploaded a sample strategy that will reproduce the error. Pls see screen print of the Strategy Analyzer that ran strategy “UsrMKTOdrFails”

    The strategy submits a EnterLongStopMarket order @ High + Ticksize, to buy immediately after a green candle. It then uses even OnExecutionUpdate to submit ExitLongStopMarket stoploss 4 ticks below execution.Order.AverageFillPrice

    The error occurs when Strategy Analyzer uses Order Fill Resolution = High, Type = Minute, Value = 1.

    The strategy prints to the output window every order action:
    01-03-2016 19:30:00 ***Buy Stop Entry Order Submitted at Price=17387
    01-03-2016 19:30:00 ***Buy Stop Entry Order Filled at 17387 Close[0]=17386 SL=17383 PT=17395
    01-03-2016 19:30:00 ***SL Order Filled at 17383

    01-03-2016 20:00:00 ***Buy Stop Entry Order Submitted at Price=17390
    01-03-2016 20:00:00 ***Buy Stop Entry Order Filled at 17390 Close[0]=17386 SL=17386 PT=17398
    Strategy 'UsrSTOPOdrFails/-1': A Sell stop order placed at '1/3/2016 8:00:00 PM' has been ignored since the stop price is less than or equal to the close price of the current bar. This is an invalid order and subsequent orders may also be ignored. Please fix your strategy.


    The second Market order was filled at 17390 as NT refuses to submit stoploss of 17386 because the price is equal to or less than the previous close, aka Close[0].


    This error does NOT violate the NT “Internal Order Handling Rules”, because the Stoploss order is an “Exit Order” of an existing position that is submitted dynamically on event OnExecutionUpdate and not on event OnBarUpdate


    Can you please reproduce this using the strategy I`ve uploaded and let me know ?
    Attached Files

    #2
    Hello Support,

    I am getting this error in a real strategy that I am working on to use in my trading.

    I created this simple sample only so you can replicate the problem I am experiencing with my actual strategy, on your side.

    Can you please look into this.

    Thank you.

    Comment


      #3
      Hello rayko,

      Thank you for your patience.

      I am seeing the same behavior on my end. I am investigating this with development.

      Please keep in mind NinjaTrader 8 is still in beta testing at this time. You can find more information on the beta process at the following link: http://ninjatrader.com/support/helpG...en-us/beta.htm

      Comment


        #4
        Hello rayko,

        The incorrect message has been given the id NTEIGHT-9640 for tracking by development.

        Comment

        Latest Posts

        Collapse

        Topics Statistics Last Post
        Started by XXtrader, Yesterday, 11:30 PM
        2 responses
        11 views
        0 likes
        Last Post XXtrader  
        Started by Waxavi, Today, 02:10 AM
        0 responses
        6 views
        0 likes
        Last Post Waxavi
        by Waxavi
         
        Started by TradeForge, Today, 02:09 AM
        0 responses
        11 views
        0 likes
        Last Post TradeForge  
        Started by Waxavi, Today, 02:00 AM
        0 responses
        2 views
        0 likes
        Last Post Waxavi
        by Waxavi
         
        Started by elirion, Today, 01:36 AM
        0 responses
        7 views
        0 likes
        Last Post elirion
        by elirion
         
        Working...
        X