snip
is not a Martingale
You said it is not a martingale but it is martingale. You increase your betsize by 11.2% every time you lose and reset it to 10 if you win. That is no different to martingale, only modified a bit. This is bound to lose like any other martingale there is.
var loseMultiplier = .112;
betSize += (betSize * loseMultiplier);