OPEN-SOURCE SCRIPT

Volume Weighted Balance of Power

Atualizado
As always, this is not financial advice and use at your own risk. Trading is risky and can cost you significant sums of money if you are not careful. Make sure you always have a proper entry and exit plan that includes defining your risk before you enter a trade.

I have modified the Balance of Power indicator that measures the difference between the open and the close and the high and low of the current bar to incorporate volume information as well. Further, I have smoothed the indicator, which is usually very choppy and difficult to read with a 21 period Least Squares Moving Average to create a Volume-Weighted Balance of Power. Since we are all aware that volume precedes price I figured this could be a neat little trend-confirmation indicator.

Uses:

1) The indicator is fairly straight forward, when it crosses below its zero line, this signals that there is more selling pressure in the current market vs. buying. Conversely, when it crosses above its zero line, this means more buyers have stepped up and are pushing prices higher.

2) It is sensitive enough to volume and price shifts that it produce divergences, which are often thought to be some of the most powerful trading signals in any market.

3) Use this tool to confirm breaks from trendlines or trading ranges to see if there is enough pressure and volume to support the move.

Enjoy and trade responsibly!
Notas de Lançamento
Fixed code to take into account volume for the entire bar instead of just incorporating volume from the highs and the lows of the bar.
Balance Of PowerbalanceofpowervolumeOscillatorsVolume Indicator

Script de código aberto

No verdadeiro espírito do TradingView, o autor desse script o publicou como código aberto, para que os traders possam compreendê-lo e analisá-lo. Parabéns ao autor! Você pode usá-lo gratuitamente, mas a reutilização desse código em publicações é regida pelas Regras da Casa. Você pode favoritá-lo para usá-lo em um gráfico.

Quer usar esse script no gráfico?

Aviso legal