VPA - 5.0

This is a upgraded version of the vpa analysis script which basically implements Volume Spread Analysis ( aka Volume Price analysis). It has been rechristened as VPA 5.0 to be inline with version released for Amiboker package so that all future upgrades will go hand in hand. All most all featured of the Amibroker version has been incorporated in this version. Some important additions are as follows
1. A status window for the bar and Trend Description added. No need to plot the trend bands or additional trend Indicator any more.
2. The most important upgrade would be the addition of a Alert window which provides description of the VSA signals. It is also a log window which provides up to 10 last signals
(Credits to Quantnomad for this wonderful piece of code. This feature is an adaptation of his public code)
3. Added facility to plot EMAs / PEMAs with changable parameters
4. Added facility to plot VWAP
5. Facility to switch on and Off the VSA signals. Also tool tip provides description of the signals
6. Facility to plot Resistance and Volume Lines (Credits to @margepadu)

Hope this script will be helpful to everyone. Please do provide your feedback and suggestions for improvements
Open-source script

In true TradingView spirit, the author of this script has published it open-source, so traders can understand and verify it. Cheers to the author! You may use it for free, but reuse of this code in a publication is governed by House Rules. You can favorite it to use it on a chart.

Want to use this script on a chart?


Thanks for sharing
500 coins
+1 Reply
@TedPham, Thanks
great work
500 coins
One quick query Sir. And thanks for sharing this. Regarding line 191 of this code, shouldn't we add a condition for it to factor in Volume?? Please advise and thanks again.
What do the bar colors signify? Thanks!
Thank you so much for the indicator. From the backtest, it prevents a lot from losing trade and whipsaw. Can't wait to use it live.
Thank you sir for this wonderful and selfless effort. KUDOS SIR
Thanks sir.
Thank you sir for this wonderful and selfless effort.
Brilliant. Thanks.