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 6):
太虚一毫, newbie4ever, Krunal Gajjar, RodrigoRT7, eduarescobar, josi


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 5):
newbie4ever, Krunal Gajjar, RodrigoRT7, eduarescobar, josi

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


Re: Digital Filters

6
Range Bound Channel Index

RBCI = Range Bound Channel Index

Range Bound Channel Index is an overall sum of all main market cycles.
Range filter parameters are selected from the current market spectrum.
In simplified formula RBCI (k) = FATL (k)-SATL (k).
RBCI is a quasi-stationary process that is a process with bound spectrum.
When RBCI approaches its local maximum the prices approach the upper border of the trading channel and
when RBCI approaches its local minimum the prices approach the lower border of the trading channel.

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

----------------------------------------------------------------------------------------------------
Image

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

Also, watch the divergences.


Who is online

Users browsing this forum: Ricstar_8 and 12 guests