Re: Ehlers Indicators for MT4

911
kvak wrote: Wed Feb 18, 2026 8:55 am Hello my friend, I am not at home, I will look on it...
Hello dear @kvak! Is it possible to improve this indicator with your eAverages please? I mean this part:
ema = ema_prev + alpha * (input - ema_prev)
alpha = 1/period
Think Hann Window Smoothing+ your magical averages could lead to very interesting results! many thanks in advance.
These users thanked the author ixion700 for the post:
kvak
Think out of the box!

Re: Ehlers Indicators for MT4

912
ixion700 wrote: Wed Feb 18, 2026 6:26 pm Hello dear @kvak! Is it possible to improve this indicator with your eAverages please? I mean this part:
ema = ema_prev + alpha * (input - ema_prev)
alpha = 1/period
Think Hann Window Smoothing+ your magical averages could lead to very interesting results! many thanks in advance.
I thought it was a FIR filter lol :D
Scalping the Century TimeFrame since 1999

Re: Ehlers Indicators for MT4

913
RodrigoRT7 wrote: Tue Feb 17, 2026 4:09 pm Good evening Kvak!! How are you?

In my tireless research, I was studying the Savitzky–Golay moving average, where I even tried to create it via hardcoding.

However, in the magazine Technical Analysis Of Stocks & Commodities, March 2026, which our friend Banzai kindly shared, there is an article by John Ehlers, as quoted on page 32: "I tested the Savitzky–Golay filter against a Hann windowed FIR filter of the same length, and found the Hann windowed filter has a significantly smoother output."

Furthermore, I already had the Hann filter on my radar because it is also discussed on Stonehill Forex with some encouraging results in the daily chart.

Therefore, could you please include your eAverages and a filter average + prices on DMH?

Thank you very much in advance, my great friend :D
DMH E-Averages + Price types

Hello my friend.
Here is quick version for tests.
I am added also presmoothing price, in this indicator dont add much lag. I will also add more update it in next version

PS: Additional information on this indicator can be found here: What is the DMH and "Hann Windowing"?
These users thanked the author kvak for the post (total 11):
RodrigoRT7, ROI, Krunal Gajjar, Jimmy, ixion700, Hogwildsavage, Akela, FredericoA, michaelB, elvenso, alexm
"fear moves faster than greed"

Re: Ehlers Indicators for MT4

914
kvak wrote: Thu Feb 19, 2026 7:41 am DMH E-Averages + Price types

Hello my friend.
Here is quick version for tests.
I am added also presmoothing price, in this indicator dont add much lag. I will also add more update it in next version

PS: Additional information on this indicator can be found here: What is the DMH and "Hann Windowing"?
thanks kvak, please don t forget arrows and audio alerts on next iteraction
These users thanked the author FredericoA for the post:
kvak

Re: Ehlers Indicators for MT4

916
Alpha Beta Filter (Kalman Filter Variant)

Hello everyone! I made a simple conversion of indicator Alpha-Beta Filter for MT4. It's comparable to the Kalman filter and I've already included slope and MTF coloring with the open-source code so our coders can review and improve it if they want.

How does the Alpha Beta Filter compare with the Kalman Filter & EMA?

The Alpha-Beta Filter is essentially an EMA enhanced with a velocity prediction component. Alpha controls the traditional EMA smoothing strength, while Beta controls how aggressively the filter estimates and projects trend momentum.

To break it down:
  • An EMA is "Where is price now?"
  • Alpha-Beta Filter is "Where is price now, and where will it probably be next?"
  • Kalman Filter is "How much should I trust the new price bars on the chart?"
Comparing the Alpha Beta Filter, we can be see it as a "Turbocharged" EMA that predicts price's future movement using velocity, but it can also overshoot.

What do the Beta and Alpha options do?

If you were to adjust the Alpha setting, by keeping it at 0.0, there is no filtration on price.
If you set it to 1.0, it would follow price and have almost no smoothing at all.

For Beta, if you set it to 0.0, this indicator becomes an EMA.
If you set it to 0.2 (default), it would be slightly faster than an EMA, have less overshoot and be very stable.

To summarize, as mentioned above, Alpha controls the traditional EMA smoothing "strength". Setting Beta to zero makes the indicator mathematically equivalent to a standard EMA. Increasing Beta reduces lag and allows the filter to track trends closely, but excessive Beta values introduce overshoot and instability during reversals.

So the best setting is it's default which gives us a good mix of reduced lag, good acceleration and only small overshoot.

2026 June Technical Analysis of Stocks & Commodities article
These users thanked the author RodrigoRT7 for the post (total 15):
Jimmy, kvak, ashdays, TransparentTrader, ionone, Cagliostro, Akela, Lucas, Ricstar_8, AntT, thiru, Dimkin, elvenso, alexm, emanuelmb10

Re: Ehlers Indicators for MT4

917
Band Pass Filter with Average Calculations & APB (Average Price Bars)

Band pass filter with also average calculations.
Average calculations working only in order 1 ( where default is as EMA and I am replace it with average choice).
Indicator also have MTF , arrows and alerts.
Added also full pack for prices with APB calculations and weighted prices.
These users thanked the author kvak for the post (total 10):
Tsar, RodrigoRT7, marwilli, Jimmy, ixion700, Krunal Gajjar, FredericoA, Ricstar_8, elvenso, alexm
"fear moves faster than greed"

Re: Ehlers Indicators for MT4

918
Thank You Very Much Kwak...

Thanks.
Krunal.

kvak wrote: Sun Jun 07, 2026 2:44 am Band pass filter with also average calculations.
Average calculations working only in order 1 ( where default is as EMA and I am replace it with average choice).
Indicator also have MTF , arrows and alerts.
Added also full pack for prices with APB calculations and weighted prices.
These users thanked the author Krunal Gajjar for the post (total 3):
kvak, Jimmy, RodrigoRT7

Re: Ehlers Indicators for MT4

919
RodrigoRT7 wrote: Sun May 17, 2026 4:35 pm Hello everyone! I made a simple conversion of indicator Alpha-Beta Filter for MT4. It's comparable to the Kalman filter and I've already included slope and MTF coloring with the open-source code so our coders can review and improve it if they want.
Your version is very faithful to Ehlers' original Alpha-Beta Filter as per article. There's no hidden smoothing or tricks in your code. Hats off to you my friend, you have done a remarkable job creating the Alpha Beta Filter for MT4!

PS: I hope you don't mind but this really fascinates me so I added some extra info to your post.
These users thanked the author Jimmy for the post (total 5):
kvak, Cagliostro, RodrigoRT7, Tradehunter, emanuelmb10
List of our most powerful reversal indicators | Guide to the "All Averages" Filters (ADXvma, Laguerre etc.)
Using Fibonacci "numbers" for indicator settings 💡
How to draw Fibonacci Extensions easily | The best way to draw Support & Resistance

Re: Ehlers Indicators for MT4

920
Jimmy wrote: Mon Jun 08, 2026 8:07 pm Your version is very faithful to Ehlers' original Alpha-Beta Filter as per article. There's no hidden smoothing or tricks in your code. Hats off to you my friend, you have done a remarkable job creating the Alpha Beta Filter for MT4!

PS: I hope you don't mind but this really fascinates me so I added some extra info to your post.
Wow, that makes me so happy, Jimmy!

I hope our forum friends like this indicator!

In partnership with our friend kvak, I also sent him my study averages so he can incorporate them into his already excellent eAverages.

You can count on me here on the forum :D
These users thanked the author RodrigoRT7 for the post (total 3):
Tradehunter, kvak, Jimmy