OPEN-SOURCE SCRIPT

CMO with ATR and LagF Filtering - RevNR - 12-27-22

Rev NR of the CMO ATR, with LagF Filtering - Released 12-27-22 by hockeydude84
This code takes Chande Momentum Oscillator (CMO), adds a coded ATR option and then filters the result through a Laguerre Filter (LagF) to reduce erroneous signals.
This code also has an option for self adjusting alpha on the Lag, via a lookback table and monitoring the price rate of change (ROC) in the lookback length.
Faster ROC will allow the LagF to move faster, slower price action will slow down LagF reaction. Pausing of signals is also present based on Rate of Change of the LagF Curve
Aggressive signals and Base signaling is allowed - aggressive bases signals on increase/decrease of previous LagF curve value point, Base is greater or less than 0

Original Code credits; Lost some of this due to time and multiple script manipulations, I believe the CMO origin code is from TradingView House Code, and the LagF from KIvançÖzbilgiç
Chande Momentum Oscillator (CMO)sentimentTrend 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