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 lightsun47, Today, 03:51 PM
          0 responses
          4 views
          0 likes
          Last Post lightsun47  
          Started by 00nevest, Today, 02:27 PM
          1 response
          8 views
          0 likes
          Last Post 00nevest  
          Started by futtrader, 04-21-2024, 01:50 AM
          4 responses
          44 views
          0 likes
          Last Post futtrader  
          Started by Option Whisperer, Today, 09:55 AM
          1 response
          13 views
          0 likes
          Last Post bltdavid  
          Started by port119, Today, 02:43 PM
          0 responses
          8 views
          0 likes
          Last Post port119
          by port119
           
          Working...
          X