<aside> ☝ No need to change the algorithm, strategy, or indicator of the existing bot. Do not touch any other part of code. Only need to fix the Dry Mode and remove long tooltip on hover.
</aside>
https://www.loom.com/share/578281cf797445d5b21be82b3d81a893?sid=0c941ed9-9217-494b-821c-dde39638a7f7
Dry Mode is designed to complete trading with the bot and withdraw all profits without losses. Since the bot constantly opens and closes multiple trades across all active pairs, it is very difficult to catch the exact moment when it closes the latest trade sequence and turn it off at that precise moment to prevent further trading in that direction.
That's why Dry Mode was created. When activated, it allows the bot to close all open trades in profit, regardless of how many averaging steps or how much time it takes. However, once it closes the entire order ladder in profit, it should no longer open any new trades in that direction. This way, we can be sure that the bot has stopped trading and is not opening new initial trades, without worrying about auto-trading being enabled.
However, currently, Dry Mode is not working correctly. As I showed in the video, it still opens one trade in both directions (buy and sell) even when Dry Mode is activated. But once these trades are closed, it does not open anything else. This is a bug. It should not be opening any trades at all from the start since Dry Mode was already activated before the first trades were opened.
Important! Dry Mode should not interfere with the bot's averaging process for already open trade sequences. For example, if the bot has already opened one sell trade and averaged it three times, then after Dry Mode is activated, it should continue to average according to its algorithm. However, once the entire order ladder is closed (either by reaching take profit or by pressing the Close All button or by closing trades in terminal), the bot should not open any new trades in that direction.
Additionally, we need to ensure that Dry Mode remains activated even after restarting the terminal.
When hovering the mouse cursor over the chart at any point, a very long tooltip appears, which is extremely distracting. It needs to be removed.
