Move Stop Loss for all open trades to a specific price

Created at 04 Dec 2022, 00:16
How’s your experience with the cTrader Platform?
Your feedback is crucial to cTrader's development. Please take a few seconds to share your opinion and help us improve your trading experience. Thanks!
JW

jwandia2022

Joined 30.09.2022

Move Stop Loss for all open trades to a specific price
04 Dec 2022, 00:16


Hi,

I am trying to come up with a logic that will move the stop loss for all open positions to a certain price once a specific condition is met. 

Kindly assist.

Joyce.


@jwandia2022
Replies

ncel01
16 Dec 2022, 11:41

RE:

Hello jwandia2022,

Do you want to apply the same stop loss to all open positions or only to some of the positions based on their label, symbol, etc?

Be careful if you have open positions with different symbols since, in this case, different stop loss prices apply.

 

jwandia2022 said:

Hi,

I am trying to come up with a logic that will move the stop loss for all open positions to a certain price once a specific condition is met. 

Kindly assist.

Joyce.

 


@ncel01