Martingale is well known as a strategy that doesn't work. You can find a lot of information in Internet in that regard (in Wikipedia without going any further) or look for it in Taleb's Black Swan for a more detailed explanation.
The variants mentioned by Oshosondy can work in the short term, but as I said it is a losing strategy in the long term, if you keep applying it ad perpetuum, as nobody has enough bankroll to recover from a losing spree that sooner or later will happen.
No matter how many times we have explained it on this forum, my friend Porfirii, every now and then we have someone saying that they have found a variant of the martingale that works or threads like this one where the author has not realised that the martingale has been known not to work since at least the 19th century. But hundreds of years go by and people still believe that they have found a system to win at the casino, be it this one or others.
In fact, and you know it well too, in Spain we have this expression, "una martingala", which literally means according to the Spanish Royal Academy:
1. An artifice or a cunning to deceive someone, or for some other purpose.
So when we say (in Spanish) "don't come with martingales", the martingales would be little cheats to distort victim's reality.
Anybody could think that the author of the martingale would be the wise man according to the expression, but according to science it would be more on the contrary like: you were deceived because you thought the martingale was a winning strategy.
Either way, what is clear is that the expression has a pejorative meaning, for one reason. So, those who say that the martingale works, at least you are warned.