Announcement

Collapse
No announcement yet.

Partner 728x90

Collapse

Changing SetStopLoss

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

    Changing SetStopLoss

    Using script, what is the best approach to change a stop for an order?

    a) Change the stop value
    OR
    b) Change the stop method from SetStopLoss to SetTrailStop


    If I am correct, here are the order of events.
    1) Order placed (with a stop) using EnterLongStop()
    2) Order filled and stop order created
    3) How do you cancel the stop order
    4) How do you submit a new stop value/trailstop

    #2
    TradingDreamer, you can just call the SetStopLoss again to change the stop order price, unfortunately you can't switch from SetStopLoss to SetTrailStop for the same position, but you can trail the value with subsequent SetStopLoss calls to modify the price -

    Comment

    Latest Posts

    Collapse

    Topics Statistics Last Post
    Started by argusthome, Yesterday, 10:06 AM
    0 responses
    20 views
    0 likes
    Last Post argusthome  
    Started by NabilKhattabi, 03-06-2026, 11:18 AM
    0 responses
    18 views
    0 likes
    Last Post NabilKhattabi  
    Started by Deep42, 03-06-2026, 12:28 AM
    0 responses
    14 views
    0 likes
    Last Post Deep42
    by Deep42
     
    Started by TheRealMorford, 03-05-2026, 06:15 PM
    0 responses
    9 views
    0 likes
    Last Post TheRealMorford  
    Started by Mindset, 02-28-2026, 06:16 AM
    0 responses
    40 views
    0 likes
    Last Post Mindset
    by Mindset
     
    Working...
    X