If it's martingale, how exactly is it your algorithm you claim to have come up with? Martingale is a simple strategy that while the odds of multiple losses in a row past a certain amount is unlikely, is still able to happen and if you don't have the funds to double the loss on next bet you're done. I'd be more interested in how you took a gambling strategy for coin flip and 50/50 chance games and applied it to forex...doesn't seem like that's how that works, but I can't say I've tried forex or applying martingale to anything it wasn't designed for.