TradingView
RicardoSantos
28 juin 2016 21:17

[RS]Study into sequential probabilitys V0 

U.S. Dollar/Canadian DollarFXCM

Description

EXPERIMENTAL:
just some experimentation to check results, putting it out there. :P
odds of the next bar being up or down bar.
Commentaires
shev72
Hello, this is an interesting idea, I am playing with the script and noticed that : up_odds = (up_bars/n)*100
down_odds = (down_bars/n)*100
are currently not used I think these should be substitued in the line
forecast_up_odds = ((up_bars/n) * pow((up_bars/n), up_sequence))*100
which could then read
forecast_up_odds = (up_odds * pow((up_bars/n), up_sequence))

This is just for clarity it works even without this.
RicardoSantos
yes that is correct, thx.
Plus