I think the only formula that may help in gambling is probability for roulette games, but i still believe math cannot affect to gambling games even you used probability because probability is all predicting the chances. I believe it is all about luck, so if you wanted to win you need to have good luck.
You are right about it but you know that probability also involves maths rules and steps going on are of maths. This is more relevant about this statement that only one thing which can help you in gambling is probability and because there is equal chances of winning and losing so you will need to know about the others turns and then you will decide the probable action to take place.