Close Least Profitable Position
-
How can I use the block called Close Least Profitable Position in ontrade tab and have it close only the least profitable position? I see that it closes multiple positions. So if there are multiple losing trades, logically it should only close only least profitable. As its inside ontrade tab, shouldn't it run once? Any suggestion would be great

-
Interesting. It should close just one trade only. What settings did you select on the block exactly?
-
The blue block might only work correctly on tick, the purple block should work once when a trade has just opened. Blue is probably a loop, so it loops through all running trades.
-
@jstap Interesting. You're right. It is a loop block. I'm still learning new things after 7 years here!

-
I gave up on thinking I knew how things worked on FX a while ago. people amaze me with how things work all the time
