Master please help, this is a bot from @Fruitfella that I changed, but it still doesn't work.
I want the bot:
if win - compound 2x (according to payout results)
if you lose - martingale (always starts multiplied by the initial stake to level 4)
so the point is for example: if you win - compound - win - compound - lose - martingale (according to the initial stake, not based on losing after compoun & max to level 4) - if after Martin wins / loses to level 4, then return to the initial stake and continue to compoun if you win again
In essence, every time you lose, you always start a martingale according to your initial stake, and if Martin Win goes back to the initial stake and compoun it if you win again (essentially compoun if the initial stake wins, if you win after martingale don't compoun it but return to the initial stake first )
and please correct for the total profit there is still an error
and one more question, why do bots always stop working ?? usually after more than 100 stakes suddenly stop, even though there are no error messages ... so I can't test all day.
I attach this bot file, please help me
martingale + compound .zip

Sorry for my bad english.
Thank You very much.