OPEN-SOURCE SCRIPT

Auto-Filter

Updated
A least squares filter using the Auto line as source, practical for noise removal without higher phase shift.

Its possible to create another parameter for the auto-line length, just add a parameter Period or whatever you want.

r = round(close/round)*round
dev = stdev(close,Period)


Hope you enjoy :)
Release Notes
  • No longer need to round
  • Color change
  • Color change based on indicator direction discontinued
auto-filterfilterfilteringLinear RegressionLeast Squares Moving Average (LSMA)Moving AveragesrenkosmoothingTrend 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?


Check out the indicators we are making at luxalgo: tradingview.com/u/LuxAlgo/
Also on:

Disclaimer