Announcement

Collapse
No announcement yet.

Partner 728x90

Collapse

Updating Trail stop order

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

    Updating Trail stop order

    Hi,

    I'm trying to set a trail stop order in percent mode. What I want is to diminish this percent following a criteria.

    When I set the main SetTrailStop() the order appears in the Orders tab of the Control Center. But, when I call SetTrailStop() again to update the percent it disappears.

    Can I update the order? I have to cancel it and set it again? How can I cancel the order?

    thanks

    #2
    guillembm, do you call SetTrailStop again on the same position / entry signal name? If it 'disappears', what would the TraceOrders output tell you?



    You could not cancel the Set() method generated orders unfortunately, you would use the Exit() methods with IOrder returns then.
    BertrandNinjaTrader Customer Service

    Comment


      #3
      I call it in the same position.

      Comment


        #4
        I saw that is not possible to update or cancell SetStopTrail in a post.

        I'm trying to use ExitLongStop but the order doesn't appear in the Control Panel.

        I use:
        EnterLong(NumContracts);
        ExitLongStop(StopPrice);

        Comment


          #5
          Correct, you could not unSet() it once it's active on the position - are you attempting to use the Exit and Set methods now together in your strategy?
          BertrandNinjaTrader Customer Service

          Comment

          Latest Posts

          Collapse

          Topics Statistics Last Post
          Started by love2code2trade, 04-17-2024, 01:45 PM
          4 responses
          31 views
          0 likes
          Last Post love2code2trade  
          Started by cls71, Today, 04:45 AM
          2 responses
          10 views
          0 likes
          Last Post eDanny
          by eDanny
           
          Started by proptrade13, Today, 11:06 AM
          0 responses
          5 views
          0 likes
          Last Post proptrade13  
          Started by kulwinder73, Today, 10:31 AM
          1 response
          10 views
          0 likes
          Last Post NinjaTrader_Erick  
          Started by RookieTrader, Today, 09:37 AM
          3 responses
          15 views
          0 likes
          Last Post NinjaTrader_ChelseaB  
          Working...
          X