Closing losses without a SL
-
Hiya all,
I am trying to make an ontick condition that when the loss on trades get to a specified amount it will close all open trades.
Here is the link to the project -
https://fxdreema.com/shared/cMotyOKueI am looking at these blocks in specific and need some help in working the condition correctly. Anybody have experience with this?

-
Light pink blocks only work under a for each block.
-
thanks, I amended the blocks, formula and conditions as well, but it looks like it cannot be tested on the backtester and I will need to test it on a demo to confirm if its working
thanks for the input
-
Can be tested on back test
-
Thank you, this works to close the trade off, however it only closes the trade when one of the trades make the specified loss.
I am trying to work it so that the loss of all trades are taken as a group for that specified amount either in deposit currency or in a percentage of the balance and then it should close all the trades.eg. On a balance of $100k if total loss reaches $10k close all trades
currently its working that only if one of the trades reaches $10k it will close all trades - so 1 trade is closing at $10k but the other trades are also in there own losses and closing at 8k, 5k, 3k, 1k etc for a total loss of over $10kI have tried setting a condition that if the equity drops below a certain amount then it should close all trades but that had not worked
Any suggestions?