You still haven't said how you know when to not double down, when you perceive you have a disadvantage, when your martingale system calls for a double.

Go with your own advice: The Martingale system cannot beat blackjack.