Volume Weighted Moving Average (VWMA)

Volume Weighted Moving Average (VWMA)

I know the Volume Weighted Moving Average indicator is available in PRT as an indicator but the code is not available for strategy building so I created the code.

Formula: 3-Day VWMA = (C1*V1 + C2*V2 + C3*V3) / (V1+ V2+ V3)

Where C is close and V is volume

Basic strategy as from “https://www.tradingsetupsreview.com/volume-weighted-moving-average-vwma/

To fully make use of the Volume Weighted Moving Average (VWMA), compare it with a SMA that does not include volume.

The SMA is a benchmark. This means that you should choose the same look-back period for both the SMA and the VWMA.  The only difference between the two moving averages is volume weighting.

What matters here is the gap between the VWMA and the SMA. Their difference shows the effect of volume weighting.

Generally, volume should increase along with the trend and decrease against it. Hence, generally, if the VWMA is above the SMA, it means that volume has been higher on up days. When the VWMA is below the SMA, it shows that down days had higher volume.

The Volume Weighted Moving Average has the ability to help discover emerging trends, identify existing ones and signal the end of a move.

What it does is to incorporate not only the last x periods of price into its calculation but also the average volume during those x periods. That means when the volume is stronger, the VWMA will follow price more closely, and when volume falls off, it will mimic a simple moving average. The VWMA does not make a difference between buying and selling volume, only the strength of volume itself, so it will simply get closer to the close of the day when volume increased on that day, no matter whether it is a bearish or a bullish close.

Important is – if the VWMA is above the SMA, we are moving in an uptrend, and when it is below, we do have bearish implications. Or even simpler, as long as the VWMA is between price and the SMA, we are trending in that direction.

Share this

Risk disclosure:

No information on this site is investment advice or a solicitation to buy or sell any financial instrument. Past performance is not indicative of future results. Trading may expose you to risk of loss greater than your deposits and is only suitable for experienced investors who have sufficient financial means to bear such risk.

ProRealTime ITF files and other attachments : How to import ITF files into ProRealTime platform?

New! PRC is also now on YouTube, subscribe to our channel for exclusive content and tutorials

avatar
Register or

Likes

avatar avatar avatar avatar avatar avatar
Related users ' posts
Nicolas I uploaded a v10.3 compatible version. It works now!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
bolsatonimora2 Hola Nicolas, gracias por crear este indicador, serĂ­a posible crear un screener de este indi...
Nicolas esta possible
Demon Bonjour, je n'ai pas téléchargé le code mais je l'ai lu et comme je ne comprenais pas la con...
Vivien René Tout a fait demon, cela depend de ce que tu recherches personnellement je ne souhaite enlev...
jaginho Bonjour Vivien, je n'arrive pas Ă  comprendre ce screener... En tout cas merci pour tes contr...
samsampop Superb, merci!
Vonasi There are actually two ways to calculate standard deviations and I seem to have used the ver...
larouedegann
5 months ago
VWMA-SMA Map
v10.3
VWMA-SMA Map
0
Indicators
segie Can something similar be done with Supertrends?
Vonasi Not sure I fully understand what you are asking for. Are you asking for MTF Supertrend level...
Kris75 very interesting; thanks !
Rory Dryden Thank you. Experimenting with it now.
Jan Also the variables on top ( var1 0-69 and var2 0-69), those variables are needed to determin...
Jan It might be a good idea to reduce the average to 15 instead of 30 to reduce market noise eff...
oliverkeim Hello, Please can you help. I use 10.3 and are not able to set the strategy live. "Folgend...
19Tom85 Good evening, I am new here and quite interested in Volume Price analysis. may I ask you if ...
angelpero Me alegra ver que has vuelto a programar en Proreal, me gustarĂ­a poder acceder a tu blog, si...
Fulminant Merci pour tout ce travail.
Stockastiss Can this code be simply transferred into Backtestingcode so one doesnt need to use call ? (i...
Vonasi Sorry for the late reply. Add the code to your strategy and remove line 5 and line 39. Chang...
swedshare You got some potential here. A couple of things I think about: 1, The opening hours in this...
phoentzs Ich habe hier mit Spread 2 gerechnet, also etwa dem Mittelwert zwischen Tag und Nacht. Das G...
phoentzs Hab festgestellt, das US500 fast noch besser funktioniert als der Dax. Was aber auch daran l...
leofi https://www.prorealcode.com/topic/simple-average-with-visual-color/
leofi Go visit www.prorealcode.com/topic/simple-average-with-visual-color/ and watch 2em post
Dritan Hi,I am new on Prorealtime and coding.I downloaded the indi but I have it on a separate wind...
Maxime Baudin Very useful! Thanks Mat, and Happy New Year
Alps007 Hi Nicolas. Happy New Year. Can you please program me several MACD divergence screeners ...
Arlei Zanin Hello Nicolas, would it be possible to convert the Cloud to Pascal language? Thank you.
ashee i want it in MT4
JayD Dans "modifier" Il faut ajouter les variables en cliquant sur la clé dans le bar en haut. Vo...
Kris75 Merci Jeanguy, suis très preneur de vos stratégies profitables avec cet indicateur !!
Screw27 Salut je vient d’installer ton indicateur mais il fonctionne pas ça m’indique un message d’e...
Om Hello, thanks for sharing! Getting a message that Variable P is undefined?
Vonasi Sure that is possible. I will code it and make a post in the English ProBuilder forum and pu...
Vonasi Vama v2 with Hull moving average included can be found here: https://www.prorealcode.com/top...
JMat45 Thank you, Vonasi.

Top