Close all trades except latest two
-
If I have a number of buy trades open (say 5). How can I close all of them except the two that was last opened?
-
one of ways can be this (but I have not tried) ... :

-
Thanks for the help Miro, much appreciated.
-
In that "For each Trade" block these "Loop settings" you see "Skip n trades". If you have 2 there, then the block will skip the first 2 trades that it founds, so "close" would run for all other trades.
The other option "Not more than n trades" means that this is the total number of trades that could be affected (closed, in this case). I think you want to set this to 0 (or empty)