OPEN-SOURCE SCRIPT

Volatility weighted ma

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

Thông báo miễn trừ trách nhiệm

Thông tin và ấn phẩm không có nghĩa là và không cấu thành, tài chính, đầu tư, kinh doanh, hoặc các loại lời khuyên hoặc khuyến nghị khác được cung cấp hoặc xác nhận bởi TradingView. Đọc thêm trong Điều khoản sử dụng.