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.

    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?

          Comment

          Latest Posts

          Collapse

          Topics Statistics Last Post
          Started by argusthome, 03-08-2026, 10:06 AM
          0 responses
          88 views
          0 likes
          Last Post argusthome  
          Started by NabilKhattabi, 03-06-2026, 11:18 AM
          0 responses
          48 views
          0 likes
          Last Post NabilKhattabi  
          Started by Deep42, 03-06-2026, 12:28 AM
          0 responses
          31 views
          0 likes
          Last Post Deep42
          by Deep42
           
          Started by TheRealMorford, 03-05-2026, 06:15 PM
          0 responses
          34 views
          0 likes
          Last Post TheRealMorford  
          Started by Mindset, 02-28-2026, 06:16 AM
          0 responses
          68 views
          0 likes
          Last Post Mindset
          by Mindset
           
          Working...
          X