TradingView
RicardoSantos
2016年6月28日晚上9點17分

[RS]Study into sequential probabilitys V0 

U.S. Dollar/Canadian DollarFXCM

描述

EXPERIMENTAL:
just some experimentation to check results, putting it out there. :P
odds of the next bar being up or down bar.
評論
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.
更多