Digital Filters

1
From Mladen Rakic:

Some of the digital filters in one place :

Hanning
Hamming
Blackman
Blackman / Harris
And (simply in order to demonstrate that almost anything can be a digital filter) :

rectangular - simple moving average
linear weighted moving average
triangular moving average

Image


Image


Recommendations:
Use it as any other moving average
These users thanked the author mrtools for the post (total 5):
太虚一毫, newbie4ever, Krunal Gajjar, RodrigoRT7, eduarescobar


Re: Digital Filters

2
From Mladen Rakic:

This is a variation of a digital filter using Hann windowing for filtering

with "speed up" factor set to 0, it is the same as original filter
any speed up factor > 0 makes it a bit more responsive
Image

The difference between the default (the green/red line) and the same period but with "speed up" factor set to 5
Image
Recommendations:
*Use it as any digital filter / average
*When using speed up factor, the greater the speed up factor the "faster" the filter will be but you might lose the smoothness. Some balance in this has to be found by experimenting with the speed up factor
These users thanked the author mrtools for the post (total 4):
newbie4ever, Krunal Gajjar, RodrigoRT7, eduarescobar

Re: Digital Filters

5
FTLM

FTLM - Fast Trend Line Momentum
STLM - Slow Trend Line Momentum

(FTLM and STLM show rate of changing (falls or growing) of FATL and SATL calculated similarly with Momentum indicator
but using smoothing as a result of filtrations of the price)

Please put both files "FTLM Candle.mq5" and "FTLM.mq5" in the same directory because "FTLM Candle.mq5" is calling "FTLM.mq5".

----------------------------------------------------------------------------------------------------
And put "SmoothAlgorithms.mqh" in the MQL5 > Include folder

Also, watch the divergences.

For STLM, please go over here:
post1295383612.html#p1295383612
These users thanked the author Banzai for the post:
josi


Who is online

Users browsing this forum: BeatlemaniaSA, RodrigoRT7 and 3 guests