TradingView
UnknownUnicorn508364
8 Mac 2019 pukul 08.32

Average Bar Direction 

Euro / U.S. DollarFOREX.com

Huraian

This script shows the average count of 'up bars' vs. 'down bars'. It is intended for statistic and probability purposes only. It does not include high or low price in the calculation - only the open and close prices are used.

Under settings, click "show difference" to see the difference between the two averages. This can also be called positive/negative drift. Switch to weekly/monthly S&P 500 to witness positive drift. The general direction over longer time span is up, while shorter time span is more random (like a coin flip).

Nota Keluaran

Corrected formula so that doji bars do not affect the averaging.
Lebih