blackcat1402

[blackcat] L2 Ehlers Super Smoother (2 poles)

Level:2

Background

The second-order super smoother low-pass butterworth filter (2 pole) is a classic J.F Ehlers indicator.

Function

I have found many places where the algorithms are not uniform and some are even wrong. So, I did some research and wrote a low pass filter that I think is correctly defined. This indicator is often used as one of the basic elements of other trading systems.

When you are using it, you need to enter the Period setting period.

The key difference from other places is that, they use :
Filt2 := coef1*(Price+Price)/2 + coef2*nz(Filt2) + coef3*nz(Filt2)
which introduces extra lag

My version keep the original meaning from Ehlers and use:
Filt2 := coef1*Price + coef2*nz(Filt2) + coef3*nz(Filt2)

A little improvement on lag issue.

Remarks

Free and Open Source

Avoid losing contact!Don't miss out! The first and most important thing to do is to join my Discord chat now! Click here to start your adventure: discord.com/invite/ZTGpQJq 防止失联,请立即行动,加入本猫聊天群: discord.com/invite/ZTGpQJq
Skrip sumber terbuka

Dalam semangat TradingView yang sebenar, penulis skrip ini telah menerbitkannya dengan menggunakan sumber terbuka supaya pedagang-pedagang dapat memahami dan mengesahkannya. Sorakan kepada penulis! Anda dapat menggunakannya secara percuma tetapi penggunaan semula kod ini dalam penerbitan adalah dikawalselia oleh Peraturan Dalaman. Anda boleh menyukainya untuk menggunakannya pada carta.

Penafian

Maklumat dan penerbitan adalah tidak dimaksudkan untuk menjadi, dan tidak membentuk, nasihat untuk kewangan, pelaburan, perdagangan dan jenis-jenis lain atau cadangan yang dibekalkan atau disahkan oleh TradingView. Baca dengan lebih lanjut di Terma Penggunaan.

Ingin menggunakan skrip ini pada carta?