OPEN-SOURCE SCRIPT

MA Filter

1 597
MA Filter is a volatility indicator inspired by the Braid Filter and WAE indicators.

Calculation:

Is absolute value of [close - sma(close,n)] > m*ATR(n2) ?

where...
n - sma length
m - atr multiplier
n2 - atr length

If yes, high volatility, histogram is orange, trading is allowed.
If no, low volatility, histogram is grey, trading is not allowed.

Enjoy ;)

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.