Maximum Size to Open Deal should also be relative to the previously closed deal

Hello,

I’ve encountered the problem several times:

The bot had successfully closed the deal, for example, at 100$, and within 4 minutes, the price surged to 130$, and one minute later, it fell back to 100$.

As a result, I have this picture:

So, the bot uselessly bought the pumped coin.

This could be solved by adding a base order condition like “Open a new deal at the price not greater than the previous deal closure +10%”

Currently, we can only set a fixed limit with the Maximum Size to Open Deal option in the Advanced Settings which is not feasible to manipulate manually when having >10 bots