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 kinfxhk, 07-14-2026, 09:39 AM
          0 responses
          92 views
          0 likes
          Last Post kinfxhk
          by kinfxhk
           
          Started by kinfxhk, 07-13-2026, 10:18 AM
          0 responses
          93 views
          0 likes
          Last Post kinfxhk
          by kinfxhk
           
          Started by kinfxhk, 07-13-2026, 09:50 AM
          0 responses
          71 views
          0 likes
          Last Post kinfxhk
          by kinfxhk
           
          Started by kinfxhk, 07-13-2026, 07:21 AM
          0 responses
          88 views
          0 likes
          Last Post kinfxhk
          by kinfxhk
           
          Started by kinfxhk, 07-11-2026, 02:11 AM
          0 responses
          67 views
          0 likes
          Last Post kinfxhk
          by kinfxhk
           
          Working...
          X