How to optimize martingale strategy for binary options