Friday, June 19, 2015

Finally...... Here is VPA Version 3

Finally, I am ready with the working version of the upgraded VPA, version 3.0. Of course the usual prolonged testing has not been done yet. For the version 1.0 I had my friend CAS who did the through testing before we released for the public. He was the one who introduced me to VSA. It is the right time to acknowledge his contribution to the VPA. Anyways I am releasing the version 3.0 directly now and we can collect all the feedback and make the debugging if any.

Obviously the first question that would arise in everyone’s mind is what is new in version 3.0. Let us look at the various changes as below

Code: The code itself had undergone a big change. Now it is more organized and easily understandable. Also the formula for each condition have been studied and updated.

Background color choice: There is option to select the background color.  There is option to have two different colors for the upper and lower parts of the pane providing a gradient colors.

Trend Analysis: One of the major changes is the way the trend evaluation is done. In the earlier version trend evaluation was done using Linear Regression Slope. In the new version we are using the “Random Walk Index” to evaluate the Trend. This method is much more accurate compared to the earlier one. It uses the Inbuilt RWI functions of the Amibroker. The AFL has some parameter variables and if one is not sure about the Random Walk Index it is better to leave the parameters at default values. The RWI index and trend analysis deserves a separate dedicated post which I will do later.

Bar coloring: Two choices for bar coloring are provided, VSA based and Trend Based. The method is selectable from the parameter window.

Support and Resistance lines:  The support and resistance lines can be plotted on the chart. Maximum of 20 lines can be plotted. One can also adjust the sensitivity for the selecting the support and resistance lines. All the selection can be performed from the parameter window.

 Also commentary is provided about the support and resistance lines. Messages are displayed as the price approaches a support or resistance lines. Also messages are displayed when the price cross a support or resistance line.

 High Volume Lines:  In Volume price analysis high Volume bars deserve a lot of attention. The high volume Bars of the past  also play significant role in current Bar analysis as well. So I have provided the facility to plot the high volume lines just  like the support and resistance lines.  One can plot up to 20 lines. Also one can adjust the volume factor that determines the high volume areas.  All the adjustments and selection are done from the Parameter window.

The Parameter setting window

The AFL can be downloaded from the below link

Volume Price Analysis VPA 3.0


  1. This comment has been removed by the author.

  2. Thanks for yet another great contribution in the field of TA

  3. What a selfless person you are for sharing this great work.
    It is beyond my own coding capabilities so I am grateful for your generosity.

    Thank You.

  4. Hi Rajeev, Nice to see you here. Been a long time now. Good Old Traderji days :)

  5. Thank you for another great contribution to VPA/VSA. I have noticed that their is no exploration code within the .afl of version 3. Is that to come in the future, or should I just continue using version 1.2 for my explorations? Thank you once again for all of your hard work and your generosity.


  6. thank u sir, this code is very helpful ! Can u build some code about harmonic pattern ?

  7. Thank u Sir., Awesome Indicator

  8. Thank you so much.This is very helpful to trader community and this is awesome effort.......

  9. Thanks for sharing nice Information for Commodity trading . There is a lot of important information on your site

    real time stock BUY SELL

  10. heloo friend can any one guide me how to use this vpa. there is too much yellow and green arrows coming for buy and sell..can any one pls help me how to use this afl.

  11. Hi sir I want to start my day trading so which one will be help ful to me my name is nirav Thakkar and m from ahmedabad 9909540404

  12. This comment has been removed by a blog administrator.

  13. All of your blogs are up to date, i appreciate your work. Keep going and update us with your latest and fresh blogs. Thankyou.
    share tips india
    NSE Stock Advice
    best stock advice