Range Filter: Smoothed Breakout Signals on Crodl
Read Crodl's Range Filter: double-smoothed price changes, target bands, alternating breakout signals, and optional higher-timeframe calculation.
Price is noisy, but not every tick deserves a moving average response. A range filter asks price to travel farther than its recent normal movement before the reference line is allowed to move. Inside that threshold, the line stays flat.
Outside it, the filter steps after price while preserving a volatility-sized buffer.
Range Filter Buy & Sell on the Crodl terminal is the indicator twin of the DonovanWall/guikroth “Range Filter Buy and Sell 5min” formulation. It plots the direction-colored filter, optional target bands, and strictly alternating BUY/SELL breakout labels without placing simulated trades.
How does Range Filter work?
The selected source—Close by default—is compared with its previous value. The absolute change is smoothed twice:
- An EMA over the Sampling Period, 100 bars by default.
- A second EMA over
2 × period − 1bars.
That smooth average range is multiplied by Range Multiplier, 3.0 by default. The two-stage smoothing reduces the influence of one abnormal candle and produces the movement threshold used by the filter.
How the filter moves
The prior filter value is the anchor. When source is above it, the line moves up only if source − smoothed range is also above the old filter. When source is below, it moves down only if source + smoothed range is below the old value.
Otherwise it stays exactly flat.
The line is teal while rising, red while falling, and amber while flat. Upper and lower targets sit one smoothed range above and below the filter. Their fills are visible by default.
The dashed boundary lines are optional.
This is why the tool behaves differently from an EMA: it filters movement by distance, not by averaging every new price into the line.
What creates BUY and SELL labels
A raw long condition requires price above a rising filter. A raw short requires price below a falling filter. The indicator then applies an alternation gate: a BUY can print only when the last accepted signal was SELL, and a SELL can print only after BUY.
Ready to automate your trading?
Connect your exchange, set up automations, and start trading smarter — all from one platform.
Start Trading Free