Reply

Move SL to multiple Orders ?

1 replies

Uwe6000

Subscriber, bbp_participant, community, 27 replies.

Visit profile

4 years ago #257466

Hello, i like to use multiple orders trail with “Move SL to” conduction.
My EA counts up magic number … variable  “magicLong + 2”  for every new long Position.

Now i like to move SL all orders. How can i do that ?

regards

0

tomas262

Administrator, sq-ultimate, 2 replies.

Visit profile

4 years ago #257477

It is not possible to move like 10 stop-losses at once.

You could make a workaround like “hidden stop-loss” meaning the original stops would remain the same but you would setup a condition to protect open profit.

The condition can be set like a classic trailing stop or move-to-breakeven. For example you can add a variable “minProfit (int)” and setup a condition:

If (Open P/L $ (magic = 0)) > 100 Then minProfit = 0;

Now setup another conditions like

If (Open P/L $ (magic = 0)) <= minProfit Then Close All Positions;

This way all trades (positions) will be exited when profit falls to zero or breakeven

Let me know if you need any other help with this

0

Viewing 1 replies (of 1 total)