@raveon Hello,
Did you need that variable to close the trades at a certain pips in profit? If so, then you can use the [check profit (unrealized)] block.
@raveon Hello,
Did you need that variable to close the trades at a certain pips in profit? If so, then you can use the [check profit (unrealized)] block.
@khalids222 you're welcome. I hope things work out for you 
@vonmunchy
I was thinking something like this image. Here you will have an initial trade size and the reset be 0.01 and then with every opened trade, it will be multiplied with the multiplier.

@khalids222
Actually the blocks I sent will close 1 trade. but the way you have it set up, it will mean that it will close one trade alternating between buys and sells but close a trade once per bar. because it will close the most profitable trade only which is 1, and since you start your chain with a (once per bar) block then only 1 trade can be closed per pass
@khalids222
If you see the last example i sent, the blocks i used will close only 1 trade.
Sorry but I still may not have understood what is required correctly. Have a look at the screenshot. Wouldn't something like this work?

@vonmunchy If I understand what you mean here correctly, to add it in a loop, the only ways I know would be to add or multiply the previous lot size by a number. Meaning that at the end of the block chain, place a formula that will multiply the variable lot size lets say by 2 as an example. What this will do is multiply the current trade size by 2 to set the next trade size.
then you will still need to place (no trade) linked to a (modify variable) block that resets the lot size to the first.
@max-c hello,
I think that not all block are compatible with MT4 and 5 at least that was with the older versions of fxdreema. Now they may work because I do that at times but I do test to be sure. You can try copying them and then do a quick backtest. If it works then it works.
@khalids222 so you mean that when the sell is in profit, you close the buy and a sell?
So in your case, if 10 buys and 1 sell are in profit, the EA once per bar should close trades in this order?
buy
sell
buy
buy
buy
buy
buy
buy
buy
buy
buy
which will take 10 bars to close them all?
Creo que FXDREEMA está dirigido por una sola persona. Es por eso que la respuesta puede demorar un poco. Espero que se solucione su problema.
@lmolgocu
Hola
También obtengo este error a veces, pero no es tan consistente. ¿Intentaste usar otra conexión al mismo tiempo?
@khalids222 Hello,
I'm not sure I totally understand what you need but if all you need is to close 1 of the trades regardless of which one, try one of the following blocks:
@andrew-b you're welcome 
In the (buy now) block, next to the trade size you have it ticked. You will need to remove that tick cuz now its a variable and not a constant.
@6ixpappi
I'm using a mobile browser right now so I'm not able to check each block, but there is one problem that is obvious ... just disconnect block 4 from 5 and keep the chains as 2 separate ones. One to open a trade, and one to close.
So for now just disconnect block 4 from block 5 and run it.
@6ixpappi could you please share the link to see where the error may be?
Because this is supposed to be a simple thing.
All you need is a condition block with the demarker indicator and value, followed by a close trades block
@6ixpappi Hello,
The link doesn't seem to lead anywhere.
Did you want the EA close all the trades that were opened manually by you or opened automatically by the EA?