← Script Vault

Indicator | Published 2022-12-27

CMO with ATR and Laguerre Filtering

Adds ATR options and a Laguerre filter to the Chande Momentum Oscillator to help smooth its signals.

CMO with ATR and Laguerre Filtering chart screenshot

Indicator

CMO with ATR and Laguerre Filtering — Indicator Signal Lynx | Free TradingView Scripts | Pine Script v5 Original release: December 27, 2022

1. Overview This indicator takes the Chande Momentum Oscillator (CMO), adds an ATR-based option, and applies Laguerre filtering to smooth changes in momentum. The goal is a less noisy view of oscillator direction while retaining useful changes in price behavior.

2. Controls and signals The Laguerre filter includes an optional adaptive alpha influenced by the rate of change (ROC) over a configurable lookback. Faster movement can increase the filter's responsiveness; slower movement can reduce it. The script also includes a way to pause signals based on changes in the filtered curve.

Two signal approaches are available: - Aggressive: reacts to increases or decreases relative to the preceding Laguerre value - Base: uses the curve's position above or below zero

3. Notes and credit More smoothing can reduce noise but also introduce lag. Compare settings across different market conditions rather than assuming any one configuration works universally.

The original development notes tentatively credit earlier CMO implementations from TradingView and a Laguerre Filter from Kıvanç Özbilgiç; some historical upstream attribution was not fully retained through the original revisions. The Pine source preserves the available third-party credits.

Signal Lynx — Automation for the Night-Shift Nation. https://www.signallynx.com

Get the Pine Code

Copy the full Pine code or download the .pine file. You don't need an account.

Indicator (Pine Script v5)

The source files include their author credits and license notices. Please follow those terms when you reuse the code.