OPEN-SOURCE SCRIPT

[BCT] Identify BULL / BEAR regimes - Laguerre Filter

The Adaptive Laguerre is based on the Laguerre filter, described by John Ehlers in his paper “Time Warp – Without Space Travel”
forex-station.com/download/file.php?id=3326725

MAs obtained using a Laguerre filter tend to have much lower lag than MAs obtained from an SMA or EMA.

Use cases:
- Identify market regime (BULL vs BEAR)
- Smooth out a noisy signal (e.g. apply to RSI, prices, log returns, variance, etc) without adding excessive lag

Highlight based on:
- Smoothed indicator > or < 0
- Derivative of the indicator ("speed") > or < 0
- Second derivative of the indicator ("acceleration" or "momentum") > or < 0

[BCT]
Bearish PatternsBullish PatternsMoving AveragesTrend 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?


[BCT]

Disclaimer