OPEN-SOURCE SCRIPT

ADX weighted ma

6958
As the first in a series of weighted moving averages I propose I present to you the ADX Weighted Moving Average .


The ADX Weighted Moving Average (ADXwma) calculates the average price over a certain period,
contrary to the well known Volume weighted ma, it is weighted by the ADX value,
the ADX value gives an indication of the "strength" of the market.

In this indicator the ADX is factored in to calculate the ma behaviour, meaning the stronger the market, the more price is factored in,
while price moves with a weak market are not as impactfull.

Feel free to experiment!!!

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

Gr, JD.

#NotTradingAdvice #DYOR

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.