OPEN-SOURCE SCRIPT
Atualizado Volume Accumulation Percentage Indicator (0-100)

This indicator is the same as LazyBear's indicator with the same title. I simplified it and changed the range to 0-100 so that it can be stacked with RSI indicator. 50 cross is the equivalent of zero cross in the original indicator.
PS: Drag and drop the indicator on RSI for stacking. Go to the settings and scale it to right.
More explanation on the original indicator:![Volume Accumulation Percentage Indicator [LazyBear]](https://s3.tradingview.com/k/kVk6pN9z_mid.png)
PS: Drag and drop the indicator on RSI for stacking. Go to the settings and scale it to right.
More explanation on the original indicator:
![Volume Accumulation Percentage Indicator [LazyBear]](https://s3.tradingview.com/k/kVk6pN9z_mid.png)
Notas de Lançamento
After looking into CMF indicator equation, I realized that LazyBear's VAPI is identical to Chaikin's Money Flow. It seems, I am not the only one re-inventing the wheels :DI changed the indicator name to Chaikin Money Flow (CMF) Percentage. I think CMF is the most useful volume-price-based indicator especially for detecting divergences.
Note that TV's built-in CMF is set to 20 length by default.
Usage Note:
Since this indicator includes close, high and low in its equation, it should be fine to measure divergences relative to candle high and low, altho candle close would be the ideal one. This is not the case in most other indicators such as RSI. In RSI, indicator's input source should match with price source, otherwise, you will find too many false divergences.
Script de código aberto
Em verdadeiro espírito do TradingView, o criador deste script o tornou de código aberto, para que os traders possam revisar e verificar sua funcionalidade. Parabéns ao autor! Embora você possa usá-lo gratuitamente, lembre-se de que a republicação do código está sujeita às nossas Regras da Casa.
Aviso legal
As informações e publicações não se destinam a ser, e não constituem, conselhos ou recomendações financeiras, de investimento, comerciais ou de outro tipo fornecidos ou endossados pela TradingView. Leia mais nos Termos de Uso.
Script de código aberto
Em verdadeiro espírito do TradingView, o criador deste script o tornou de código aberto, para que os traders possam revisar e verificar sua funcionalidade. Parabéns ao autor! Embora você possa usá-lo gratuitamente, lembre-se de que a republicação do código está sujeita às nossas Regras da Casa.
Aviso legal
As informações e publicações não se destinam a ser, e não constituem, conselhos ou recomendações financeiras, de investimento, comerciais ou de outro tipo fornecidos ou endossados pela TradingView. Leia mais nos Termos de Uso.