I have been trying to establish if it would be possible to programme the VWMA (Volume Weighted Moving Average) in ProRealTime. My view is that the volume data is not available so I’m thinking it’s not possible however if anybody thinks differently I would be very interested to hear from them.
The VWMA calculation is as follows:
There are five steps involved in the VWAP calculation. First, compute the typical price for the intraday period. This is the average of the high, low and close {(H+L+C)/3)}. Second, multiply the typical price by the period’s volume. Third, create a running total of these values. This is also known as a cumulative total. Fourth, create a running total of volume (cumulative volume). Fifth, divide the running total of price-volume by the running total of volume.
The VWAP indicator is already included into the platform. However, this embedded indicator cannot be used in screener or automated strategy, that’s why you can also find codes about VWAP in the library:
To help us continually offer you the best experience on ProRealCode, we use cookies. By clicking on "Continue" you are agreeing to our use of them. You can also check our "privacy policy" page for more information.Continue