Announcement

Collapse
No announcement yet.

Partner 728x90

Collapse

SetTrailStop & SetStopLoss question

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

    SetTrailStop & SetStopLoss question

    I understand from the documentation that you cannot use SetStopLoss will take precidence over SetTrailStop. Is there anyway to cancel a SetStopLoss order and then set a SetTrailStop?

    What I'm trying to do is, once a position reaches a certain level of profit, I want to cancel the setstoploss and then use the settrailstop. Any ideas?

    #2
    Unfortunately this is not possible.

    If you are an experienced programmer, what is possible with NT6.5 is to use the new OnOrderUpdate() method to submit your stop as soon as the entry is filled and then modify yourself.

    See the following reference sample - http://www.ninjatrader-support.com/v...ead.php?t=3917

    Beta 6.5 will be re-released tomorrow here - http://www.ninjatrader-support.com/v...9265#post19265
    RayNinjaTrader Customer Service

    Comment

    Latest Posts

    Collapse

    Topics Statistics Last Post
    Started by Geovanny Suaza, 02-11-2026, 06:32 PM
    0 responses
    566 views
    0 likes
    Last Post Geovanny Suaza  
    Started by Geovanny Suaza, 02-11-2026, 05:51 PM
    0 responses
    330 views
    1 like
    Last Post Geovanny Suaza  
    Started by Mindset, 02-09-2026, 11:44 AM
    0 responses
    101 views
    0 likes
    Last Post Mindset
    by Mindset
     
    Started by Geovanny Suaza, 02-02-2026, 12:30 PM
    0 responses
    547 views
    1 like
    Last Post Geovanny Suaza  
    Started by RFrosty, 01-28-2026, 06:49 PM
    0 responses
    548 views
    1 like
    Last Post RFrosty
    by RFrosty
     
    Working...
    X