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 Brevo, Today, 01:45 AM
          0 responses
          3 views
          0 likes
          Last Post Brevo
          by Brevo
           
          Started by aussugardefender, Today, 01:07 AM
          0 responses
          3 views
          0 likes
          Last Post aussugardefender  
          Started by pvincent, 06-23-2022, 12:53 PM
          14 responses
          239 views
          0 likes
          Last Post Nyman
          by Nyman
           
          Started by TraderG23, 12-08-2023, 07:56 AM
          9 responses
          384 views
          1 like
          Last Post Gavini
          by Gavini
           
          Started by oviejo, Today, 12:28 AM
          0 responses
          6 views
          0 likes
          Last Post oviejo
          by oviejo
           
          Working...
          X