blackcat1402

[blackcat] L2 John Ehlers Undersampled Double MA

Level2
Background

This is a novel "undersampling data" processing trick proposed by John F. Ehlers in his April 2023 article "Just Ignore Them".

Function

In signal processing, undersampling, or bandpass sampling, is a technique whereby a bandpass-filtered signal is sampled at a sample rate below its Nyquist rate (twice the upper cut-off frequency), but the signal can still be reconstructed. When undersampling a bandpass signal, the samples are indistinguishable from samples of a low-frequency alias of the high-frequency signal.

John Ehlers notes that data smoothing is often used to avoid trading spikes. While this can result in fewer trading signals, it can also result in a delay in those trading signals. He describes how undersampling can be used in conjunction with Hann window finite impulse response (FIR) filters to remove high-frequency components in price data, resulting in less delay than traditional smoothing filters.

In this indicator, Hann windowing is applied a a pair of fast/slow moving averages which is used to improve their response perfomrnace. Yellow line is the fast line while fuchsia line is the slow line. You can judge bull bear stattus by checking the status it is in golden cross or in dead cross status.

Remarks
Feedbacks are appreciated.

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
Skript med en öppen källkod

I sann TradingView-anda har författaren publicerat detta skript med öppen källkod så att andra handlare kan förstå och verifiera det. Hatten av för författaren! Du kan använda det gratis men återanvändning av den här koden i en publikation regleras av våra ordningsregler. Du kan ange den som favorit för att använda den i ett diagram.

Frånsägelse av ansvar

Informationen och publikationerna är inte avsedda att vara, och utgör inte heller finansiella, investerings-, handels- eller andra typer av råd eller rekommendationer som tillhandahålls eller stöds av TradingView. Läs mer i Användarvillkoren.

Vill du använda det här skriptet i ett diagram?