forex numerical analysis martingale strategy trading