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?

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

  1. Marie-Eve Vergoz • 10/24/2019 #

    Bonsoir –
    Voici l’erreur qui est signalée lorsque je souhaite utiliser cet indicateur : il est demandé de définir “lenght” – Pouvez-vous m’aider ? Merci infiniment

avatar
Register or

Likes

avatar avatar avatar avatar avatar avatar avatar avatar avatar avatar
Related users ' posts
steffen_burat Hello Nicolas, I have a cumulative histogram update problem, the indicator often updates ...
taklause Hello Nicolas, if I try to use your indicator in a trading system, the error on prc pops up ...
Gio56 Bonjour Nicolas J'ai le meme souci que steffen , l'indicateur ne cumule qu'après avoir redé...
Nicolas
2 years ago
FXtonio Bonjour Nicolas, merci pour cette merveille, je l'utilise en compl2ment du "magical buy sell...
xpe74 Bonjour Nicolas, quelle est la valeur de MA que l'on doit prendre en compte pour intégration...
Nicolas Il faut faire un CALL de l'indicateur et y placé en paramètre les valeurs des périodes souha...
supertiti Bel outil si on ne se tape pas sur les doigts avec ! Comment ajoute-on une image avec le co...
magnus59 Hi Nicolas, thaks for your great work here, I need a scanner for the swedish OMX when ma...
Nicolas Yes, sure please open a new topic in the ProScreener forum section, thank you.
paullyons Hello! Thanks for post your indicators. I'd like you to let me know how to draw lines for ...
Rafa Hi Nicolas! I can´t install this indicator. it installs in a separate window not as an av...
Nicolas Add it on the price, see how: https://www.prorealcode.com/blog/video-tutorials/how-to-add-an...
Frankyslo1 No consigo instalarlo en el precio en PRL-version 10
Khaled As this section of the forum is in English, I'll reply in English. I'm using PRT v11, so I d...
sal157011 Don't understand where it says: "Volume Pressure Histogram: Columns plotted in positive are ...
Khaled Not sure to understand the question. However, the columns (Histogram) represent the variable...
Alai-n Cela fonctionne très bien !!! Super Merci
andreabarbuscia Ciao Nicolas, molto bello questo indicatore, l'ho apprezzato molto. Lo sto testando insieme...
Alai-n Je poste ici un lien afin de mieux appréhender le CVD-Cumulative Volume Delta : https://www....
Nicolas
3 years ago
DELBERT Bonsoir , Nicolas , j'ai transféré votre indicateur sur ma PRT 10,3 et j'ai un méssage d'ére...
Nicolas Vous pouvez essayer en remplacant la ligne avec: vwapsd = sqrt(average[lengthz](square(clo...
DELBERT Bonsoir , merci Nicolas , a bientôt .
Dest
3 years ago
DIDI Index
DIDI Index
0
Indicators
ChemaGeek Bonjour Nicolas, j'ai récemment découvert cet indicateur (Regularized Momentum 2017) et je l...
YvesRobert Bonjour, nouveau sur PRT (qq jours), j'essaie un peu de voir quel type d'indicateur me convi...
Roland57800 Bonjour Noobywan, si je comprends bien l'utilisation de ce code que je trouve particulièr...
Noobywan Bonjour, quand la question a été posée dans le forum à celui qui avait fait la requête en am...
Fabian This Code draws only a retangle if the condition has been confirmed and NOT before (in that ...
RakeshPoluri I have a question about the bands on the candles. Is it bollinger bands or something else?
Nicolas I think that's 2 Bollinger Bands
Emperor.it "style(line,2)" C'è una guida ai parametri che si possono modificare ? Tipo stile della lin...
IV Mcm https://www.prorealcode.com/programming-with-prorealtime/
Ichimoku Reading I don't know in this case, I just downloaded it again and no problem for me. Try to downloa...
Ichimoku Reading What's the error that appears ?
Suzu Yuk Yes, it worked with 1Tick with 200 K . Thank you very much.
Monobrow Hi Daniele Thank you for the indicator, it looks very good. However, I have a problem so...
avatar
Anonymous Thanks very much for sharing, look forward to testing this idea out.
mathiasKN Thank you Daniele for making this script, I know its been some time since the release but wo...
Barrabas15 Apparently, according to the attached data, there is an error in the indicator code. Attach...
Barrabas15 The files are at the end of the following link: https://www.prorealcode.com/topic/time-seg...
robertogozzi Thank you Barrabas15, the correct code is at https://www.prorealcode.com/topic/time-segmente...

Top