OPEN-SOURCE SCRIPT

Distance From-22-Moving Averages over CMOODYwilliamsVIXFIX

This script is a mean reversion script where each of the moving averages represent the price and Chris Moody's Williams Vix Fix ZERO line represents the moving averages. There are 4 moving average types included: EMA , SMA , WMA , HMA .

You can set up to your liking by having all of the averages as any or all of the 4 options.

This script is a great way to spot bearish/bullish divergences in price action.

This script is also excellent at indicating periods of price action when volatility is extremely low - all the plots get very tight instead of spread out.

I have copy/pasted a public script by Chris Moody which is the Williams Vix Fix. This indicator shows a white circle as a "top" or "bottom" based on the current price distance off the mean (in simple terms).

Thank you Chris Moody!
Moving AveragesOscillatorsTrend Analysis

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 publication is governed by House rules. You can favorite it to use it on a chart.

Want to use this script on a chart?

Disclaimer