OPEN-SOURCE SCRIPT
已更新 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)
版本注释
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.
开源脚本
本着TradingView的真正精神,此脚本的创建者将其开源,以便交易者可以查看和验证其功能。向作者致敬!虽然您可以免费使用它,但请记住,重新发布代码必须遵守我们的网站规则。
免责声明
这些信息和出版物并不意味着也不构成TradingView提供或认可的金融、投资、交易或其它类型的建议或背书。请在使用条款阅读更多信息。
开源脚本
本着TradingView的真正精神,此脚本的创建者将其开源,以便交易者可以查看和验证其功能。向作者致敬!虽然您可以免费使用它,但请记住,重新发布代码必须遵守我们的网站规则。
免责声明
这些信息和出版物并不意味着也不构成TradingView提供或认可的金融、投资、交易或其它类型的建议或背书。请在使用条款阅读更多信息。