OPEN-SOURCE SCRIPT

Volatility weighted ma

3 371
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

免責聲明

這些資訊和出版物並不意味著也不構成TradingView提供或認可的金融、投資、交易或其他類型的意見或建議。請在使用條款閱讀更多資訊。