As described in article Gain Probability Index by Mike B. Siroky, MD ,
June 2017 edition of the S & C magazine
Payoff odds = [UP/DN] * [d/u]
UP = sum of up price changes and
u = number of up bars.
DN = sum of down price changes and
d = number of down bars.