close last trade with X money
-
Hi guys
I need guidanceLet's say I have 40 open trades and I want to sum the profit of the last 10 trades, if it reaches $10, I will close only the last 10 trades and store the profit in a variable.
Thank you for the advice
-
This will be quite difficult to achieve, but is it always a fixed number (10) or will this change? You could use groups and only place trades with that group number, then change the group for other trades. Use bucket of trades to get the combined value before closing everything in that group.
-
Hi
you can try this