mks17

Hann Window Amplitude Filter

mks17 Telah dikemas kini   
This script is designed to implement a multi-signal Hann filter, which is essentially a movable Hann window filter. The purpose of this filter is to allow users to select the periods or frequencies that best align with their trading strategy or market analysis.

The Hann window filter operates by enabling the selection of either lower or higher frequencies. The period of the window is twice the number of signals you wish to filter. As you shift the window by the number of your signals, the signal on one side will have an amplitude of 0, while the other side will have an amplitude of 1.

Continuing to shift the window will result in new values of 0. This feature is particularly useful for further filtering the frequencies or periods that you want to focus on for your trading decisions.

In summary, this script provides a flexible and customizable tool for filtering signals based on their frequency or period, which can be a valuable addition to any trader's technical analysis toolkit.
Nota Keluaran:
Inclusion of a minimum base for the filter to test results with all periods having the same amplitude
Nota Keluaran:
Optimize to execute only when necesary, in the first bars and then remain constant
Added the coef variable to maintain the scale of the signal all factors now sum 1 maintaining the scale
Nota Keluaran:
Further optimizations and cleaning

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?