TradingView
KivancOzbilgic
2020년 2월 11일 오후 9시 47분

Laguerre Filter 

Bitcoin / U.S. DollarGemini

설명

Laguerre Filter is developed by John EHLERS. change alpha coefficient to increase/decrease lag and smoothness.

This is a four element Laguerre Filter derived from Finite Impulse Response (FIR) filter by changing
the relative amplitudes of the samples.

However, the lag of a FIR filter is
approximately half the filter length. The result is that if we want greater smoothing we
must accept the additional lag in conventional filters. Laguerre is the method says EHLERS in one of his articles about Laguerre Filter.

"The FIR filter has a lag of only 1.5 bars and only moderately
smoothes the price data. On the other hand, the Laguerre filter is dramatically
smoother and also has significant lag. You can decrease the smoothing and the lag by
decreasing the damping factor. When the damping factor is reduced to zero, the
Laguerre filter is identical to the FIR filter. This is a simple way to control the action of a
moving average and still use only a few data samples in the calculation."

For further information here is the article about the indicator by the developer John EHLERS.
forex-station.com/download/file.php?id=3326725

kivancozbilgic
코멘트
DjjCI8i2
Thank you. Great translation of Ehlers' genius.
Upgrade to //@version=4 seems straightforward.
Make function input() pass type=input.float and type=input.bool
Also object orientate the color variables: Color = colorchange ? (LagF > LagF[1] ? color.green : color.red) : color.yellow
ICEKI
Hey long time haven't seen your posting, how recently?

Thanks for your posting KivancOzbilgic =D
Finansal_Ozgurluk_Yolculugu
Ellerinize sağlık hocam teşekkürler. @tayfun26 bilgine.
dos32101
Gracias ya lo he encontrado. Correcto
Om3gatrad3r
very cool! thanks Kivan
IBOBI
formulu kopyalayarak hallettım
Nihasvioo7
Hi sir.. how to add alert on color changing..? please give code thank u
mater
Hi @KivancOzbilgic

I use this combined with the adaptive filter and get good trend signals. But I face an issue for IPOs where it really messes up the charts.. I was wondering if there's a way to fix it and skip plotting it for first few candles? thanks.

JasonMandel
Keep it up
necmi67
Teşekkür ederiz.
더보기