Announcement

Collapse

Looking for a User App or Add-On built by the NinjaTrader community?

Visit NinjaTrader EcoSystem and our free User App Share!

Have a question for the NinjaScript developer community? Open a new thread in our NinjaScript File Sharing Discussion Forum!
See more
See less

Partner 728x90

Collapse

TrailStop get rejecteded

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

    TrailStop get rejecteded

    Hello,

    with a strategy I get a message at my TraiLStops that it will be rejected. With the message as can be seen in the attached picture. Why is this rejected? Usually this should just be done.

    thanks.
    Attached Files

    #2
    Hello Lopat, thanks for your post.

    Please check the log tab of the Control Center for any errors. Are you seeing anything along the lines of "order can be placed above/below the market"? If the stop or target are too close to the current market price, it's possible to get this error, so increasing the distance of your stop or target from the current market price can help. If you do not see any errors in the log, turn on TraceOrders for the strategy and see what that is outputting.

    I look forward to assisting you.
    Chris L.NinjaTrader Customer Service

    Comment


      #3
      Hi Chris,

      his strategy become sell orders (trailing stop) even if the order has been in the market for some time. The screenshot shows that the trailing stop is active at 13110, but is not executed and is rejected at 13108.5. There is a difference of 2 minutes between them.

      Thanks
      regards
      Robin
      Attached Files

      Comment


        #4
        Hello Lopat, thanks for your reply.

        What do the trace orders say about the strategy? There should be a reason given for the order rejection in the Trace Order output.

        I look forward to hearing from you.
        Chris L.NinjaTrader Customer Service

        Comment

        Latest Posts

        Collapse

        Topics Statistics Last Post
        Started by arvidvanstaey, Today, 02:19 PM
        4 responses
        11 views
        0 likes
        Last Post arvidvanstaey  
        Started by samish18, 04-17-2024, 08:57 AM
        16 responses
        60 views
        0 likes
        Last Post samish18  
        Started by jordanq2, Today, 03:10 PM
        2 responses
        9 views
        0 likes
        Last Post jordanq2  
        Started by traderqz, Today, 12:06 AM
        10 responses
        18 views
        0 likes
        Last Post traderqz  
        Started by algospoke, 04-17-2024, 06:40 PM
        5 responses
        47 views
        0 likes
        Last Post NinjaTrader_Jesse  
        Working...
        X