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]
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]
Open-source script
In true TradingView spirit, the creator of this script has made it open-source, so that traders can review and verify its functionality. Kudos to the author! While you can use it for free, remember that republishing the code is subject to our House Rules.
[BCT]
Disclaimer
The information and publications are not meant to be, and do not constitute, financial, investment, trading, or other types of advice or recommendations supplied or endorsed by TradingView. Read more in the Terms of Use.
Open-source script
In true TradingView spirit, the creator of this script has made it open-source, so that traders can review and verify its functionality. Kudos to the author! While you can use it for free, remember that republishing the code is subject to our House Rules.
[BCT]
Disclaimer
The information and publications are not meant to be, and do not constitute, financial, investment, trading, or other types of advice or recommendations supplied or endorsed by TradingView. Read more in the Terms of Use.