Duyck

Volatility weighted ma

The next in my series of weighted moving averages is the Volatility Weighted Moving Average.


The Volatility Weighted Moving Average (Volwma) calculates the average price over a certain period,
contrary to the well known Volume weighted ma, it is weighted by volatilty,
meaning big price moves don't always need big volume but also have a lot of importance!

In this indicator these big price moves are factored in to calculate the ma behaviour.

As the ma is quite biased on price moves it can quickly give an indication of a ranging vs trending market by angle of the ma.
In ranging market it quickly flattens out and could be used to filter out insignificant low volatility moves
compared to regular ma's or the standard volume weighted ma

Another use of it could be as entry/exit signals or
as a means of a trailing stop or a hard exit for a strategy or
as a "baseline" to combine with other signals

feel free to experiment!!!

If you use the Volwma in your scripts or your work, a shoutout would be nice!!

Gr, JD.

#NotTradingAdvice #DYOR

Disclaimer.
I AM NOT A FINANCIAL ADVISOR.
THESE IDEAS ARE NOT ADVICE AND ARE FOR EDUCATION PURPOSES ONLY.
ALWAYS DO YOUR OWN RESEARCH!
JD.

You can contact me for info/access in PM or on Telegram: @jduyck
PLS, DON'T ASK FOR ACCESS IN THE COMMENT SECTION!
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.

Disclaimer

The information and publications are not meant to be, and do not constitute, financial, investment, trading, or other types of advice or recommendations supplied or endorsed by TradingView. Read more in the Terms of Use.

Want to use this script on a chart?