loxx

Variety MA Cluster Filter [Loxx]

Variety MA Cluster Filter is one method of creating a low-lag digital filter. This is done by calculating two moving averages and then comparing their output to the past value of the combined output and then choosing the max and min between the two moving averages to then determine the combined output. I've included standard deviation filtering for smoothing.

What is a Standard Deviation Filter?
If price or output or both don't move more than the (standard deviation) * multiplier then the trend stays the previous bar trend. This will appear on the chart as "stepping" of the moving average line. This works similar to Super Trend or Parabolic SAR but is a more naive technique of filtering.

Included
  • Bar coloring
  • Signals
  • Alerts
  • Loxx's Expanded Source Types
  • Loxx's Moving Averages

Public Telegram Group, t.me/algxtrading_public

VIP Membership Info: www.patreon.com/algxtrading/membership
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 a publication is governed by House Rules. You can favorite it to use it on a chart.

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.

Want to use this script on a chart?