Re: Digital Filters

13
Banzai wrote: Fri Apr 19, 2024 1:46 pm 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".

----------------------------------------------------------------------------------------------------
IncludeMe.png


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

Also, watch the divergences.

For STLM, please go over here:
post1295383612.html#p1295383612
(on/off button)
These users thanked the author Banzai for the post (total 2):
alexm, mahdinik200

Re: Digital Filters

14
Banzai wrote: Sun Apr 21, 2024 11:23 am RSTL = Reference Slow Trend Line

RSTL (Reference Slow Trend Line) is a response "slow" trend line. It is a response of FLF-1 and FLF-2 digital filters to the input discrete sequence. The filters are set with the delay equal to the Nyquist TNi range.

RSTL reference line is an equivalent of simple moving "averages" from the viewpoint of their delay relative to the current prices. Mentioned similarity would have been complete, in case we use an impulse parameter having 1/N weights that corresponds to the procedure of the dotted moving smoothing instead of the complicated FLF impulse parameters.

It's a big cycle like the one in the image below.
If a candle is above the line, go long.
Vice versa for short.
BT = on/off button
with gradient colors