Announcement

Collapse
No announcement yet.

Partner 728x90

Collapse

strategy setstoploss setprofittarget oco entries

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

    strategy setstoploss setprofittarget oco entries

    Hello i just want to confirm SetStopLoss() SetProfitTarget() OCO behaviour when using

    EnterLongStop and EnterShortStop - if there is slippage on the market order when price is reached the SetStopLoss and SetProfitTarget will be based on the fill price and not the stopPrice specified as parameter to EnterLongStop & EnterShortStop.

    If there is slippage on entry that is understood and i just want to ensure stop and profit targets are set as expected.

    thanks and hope this is clear.

    #2
    Hello soulfx,

    Thank you for your post.

    Correct, the SetStopLoss() and SetProfitTarget() will be set the number of ticks or the percent away from the average entry price (filled price). If you use price for the calculation mode it will stay the same no matter the fill price.

    Comment

    Latest Posts

    Collapse

    Topics Statistics Last Post
    Started by Geovanny Suaza, 02-11-2026, 06:32 PM
    0 responses
    558 views
    0 likes
    Last Post Geovanny Suaza  
    Started by Geovanny Suaza, 02-11-2026, 05:51 PM
    0 responses
    324 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
    545 views
    1 like
    Last Post Geovanny Suaza  
    Started by RFrosty, 01-28-2026, 06:49 PM
    0 responses
    547 views
    1 like
    Last Post RFrosty
    by RFrosty
     
    Working...
    X