Stop loss in my main problem really, Stop loss closs all trades
-
Hello guys,
Stop loss in my main problem really,
I've bulid EA with Grid and I want if the grid reach losses for sevral trade for example 4 or 5 trades to closs all trades before kill all money in gridsI'm tried below solution but not effecting
-
You can use a grid with a stop loss, on the first trade put the stop loss price into a variable.
Any new grids, use the variable stop loss price so every trade has the same stop.
You can specify the stop loss is x5 of your take profit for example so only 5 trades will open or control it on pip distances or ADR values whatever you want.
-
@haitham You can select a maximum loss you are ready to accept for all open trades (EUR 50.00, for example) and then do this:

All open trades will be closed when that global loss is hit.
-
@l-andorrà thanks dear for your support, what about if I need to make it by pips, I mean firest trade losing 100 pips and second 200 pips and third 300 pips, is it possible to make it if reach total 600 pips los to closs all trades?
-
Yes, but then you need to create a loop with with an array that can store the ticket numbers of the selected trades. That is not possible with fxDreema. You will need a programmer that can create that array first and then incorporate it into your bot via custom code block.