Here decimal separator is , instead of . this can cause some problems?
That would indeed cause the problem, seems that I missed running the balance through the conversion method. I will fix this ASAP.
The deal is , martingale doesnt work , you eventually lose enough in a row to bust. Thats why it is unneccesary to make a bot like this , use your coding skills for something like CAT for trading purposes.
I agree with the math that plain martin will always lose, but by modifying it, a larger variance can be caused, giving you a slight edge. Its not perfect, and i'm always looking for new ways to improve the bot and increase the variance, if you have any suggestions, i'm open to them