When SL of one position hit, exit all other positions.
Created at 12 Jul 2022, 07:11
When SL of one position hit, exit all other positions.
12 Jul 2022, 07:11
Hello,,
How do I build the code for exiting all other positions when SL of one of the positions get hit.?
PanagiotisCharalampous
12 Jul 2022, 08:48
Hi Alfie,
You can check the position closed reason in Position.Closed event and act accordingly. Check here for an example.
Best Regards,
Panagiotis
Join us on Telegram and Facebook
@PanagiotisCharalampous