It works always if the odds are not against you (as in favour of your bet configurations).
You will still need to adapt the way you martingale and make up several new strategies.
As long you don't hit those probabilistics red streaks you will end up fine.
Using martingale in bets number 1 to 100 and then change to some other strategy type and return back at roll number 110 to martingale does change your odds of losing and you might end up profiting even more with martingale still.
Although you are using martingale, your still gamble you bet by not continuing every bet. Your still relying on pure luck to take profit with this strategy. Meaning, in gambling you should not only use one strategy to take profit because of the red streaks and trust your full instinct .

How many times do we see losing streak inside our gambling activities, we need to get used to it and overcome such emotions, martingale will not do anything unless you are lucky aside from that same will keeps on happening if you won't quit and realized everything.