Low Frequency Filter Moving Average (LFFMA)

v10.3
Low Frequency Filter Moving Average (LFFMA)

This Moving Average is based on RC filter commonly used in electronic. I needed some sort of Moving Average able to cut waves below defined frequencies and with lower intensity. This Moving Average uses one filter based on amplitude (ATR) and one filter based of frequency (all the waves with period smaller than 3.5 times the period of the filter will be cut). The result is a Moving Average that gives some good trend indications. We go long on the blue line and short on the red.

Blue skies!!

Share this

Risk disclosure:

No information on this site is investment advice or a solicitation to buy or sell any financial instrument. Past performance is not indicative of future results. Trading may expose you to risk of loss greater than your deposits and is only suitable for experienced investors who have sufficient financial means to bear such risk.

ProRealTime ITF files and other attachments : How to import ITF files into ProRealTime platform?

PRC is also on YouTube, subscribe to our channel for exclusive content and tutorials

  1. Kris V • 04/12/2017 #

    Hi Gabri,
    Thanks for this interesting indicator, I am not a programmer and have a small problem as I work with a black background and it is difficult to see the dark blue line, could you explain how to modify colors in your program please? Thanks a lot.
    Kris

  2. gabri • 04/12/2017 #

    Kris, let me know which color you want to use. The lines to change are the 22,23,24.

  3. paulon • 04/12/2017 #

    Hi Gabri.  Very interesting indicator.  I changed the colours to if v>=v[1] thenr=0g=255b=0elser=255g=0b=0endif
    and the lines move! I am puzzled why changing the colours should also move the lines!   Any ideas why?

  4. gabri • 04/12/2017 #

    Paulon,
    you are right, I used the variable b in too many places 🙂
    Try to change the following lines and thanks for the input!!
    if v>=v[1] then
    r=0
    g=0
    blu=255
    else
    r=255
    g=0
    blu=0
    endif

    return v coloured (r,g,blu), close as \"close\"
     

  5. Leo • 04/12/2017 #

    Hi Gabri, have you ever try this in a trading system?

  6. gabri • 04/12/2017 #

    Leo, I used to crosscheck this indicator a long time ago. For the trading I was doing at that time I found it quite useful.

  7. Nolubok • 04/12/2017 #

    Bonjour Gabri, merci pour l’ensemble de vos publications, serait il possible d’avoir le screener qui indiquerait les changements (couleurs) pour mio-lffma.itf ? je ne connais pas grand chose en programmation, ce que j’ai tenté ne marche pas. Merci, bonne fin de journée

avatar
Register or

Likes

avatar avatar avatar avatar avatar avatar avatar avatar avatar
Related users ' posts
Nicolas
8 years ago
Holt EMA
Holt EMA
1
Indicators
robertanthonyuk Hi,What do the each colour represent? Rob
Nicolas You'll need to preload bars to get the good calculations of you indicators. I did not test i...
David Nicolas I tried DEFPARAM Preloadbars = 5000 And still the same drawn output of entries/exit...
marcara Hi, Thank you very much for the Moving Average Daily indicator, I am using it as indicator i...
Nicolas Je l'ai converti depuis un code pinescript. De mémoire il s'agit bien d'une variation d'une ...
Captain_Walker @Nicolas, I've copied your code into PRT indicator panel to create it. When I attempt to sav...
Nicolas Download the itf file and import it.
Nicolas Please post any question on forums, thanks.
Lavallette Bonjour Nicolas. J'utilise la version 11 et moi aussi j'ai une ligne horizontale malgré l'a...
Nicolas il faut modifier la ligne 20 avec: if adaptive=1 and averagePeriod > 1 and barindex>(...
dakaodo Hi, Wilko. Acc to the original FRAMA paper by Ehlers, Ehler's own code only takes inputs for...
dakaodo For reference, here is Ehlers' original paper: http://www.mesasoftware.com/papers/FRAMA.p...
dakaodo Here is the code with only SC included, per ETFHQ. pri=customclose //len>=4, even on...
Nicolas The code is correct, don't know if the label and color are the same as other trading softwar...
peppe novellino Hi Nicolas, the settings of the alligators are not editable. How can I change it? Thanks in ...
pabo_swe I got very bad performance with this script, it was slow... it seems like if one breaks out ...
bluetime6 Hello Doctrading.   Can you ask you for something? Can you code a screener screen po...
gianlox I added a simple momentum indicator (MACD). I think much better results:   achat = 0v...
gianlox achat = 0 vente = 0 MACD12M = MACDline[12,26,9](close) MACD12S = ExponentialAverage[9](MA...
Nicolas Thank you for contribution. Please consider that advertising is tolerate as long as you cont...
triss1965@gmail.com  Hi, I cant make it work. And if you doing so much money. Why do you have to sell it? It don...
T-rader Eva... He dosen´t sell anything. He is just a nice guy that want to share on of his strategy...
Fabio Anthony Terrenzio this strategy works only in a well defined trend
brosly Good afternoon I am trying to get the complete code of lex strategy made by adolfo since I s...
dreif123 hi Adolfo, is Alex Auto Trading Botindex working on DAX as well ? if so , can you post the...
phili711 Bonjour Si la moyenne 100 est au dessus de la moyenne 20 le trend est baissier zlors pourqu...
Nicolas La comparaison se fait entre la valeur de la moyenne actuelle et telle qu'elle était il y a ...
Thomas007 we should definitely open a new thread for intraday trading - can we post the link once it's...
Nicolas
9 years ago
Denis Bonjour Nicolas, j'ai une question à propos de ce code, il faut que je la pose en anglais ca...
Nicolas En français pas de problème
robertogozzi Vous ne pouvez pas, car ProBuilder ne prend actuellement pas en charge MTF (Multiple Time Fr...
jeanguy Merci pour ce travail En quoi cette MM est elle différente d’une MM courte ?
Bern latest version pro real time not accepting code, same with Ehler's MAMA indicator. any idea...
Lotech123 This Indicator is very useful if the Risk number is altered to suit the time frame, volume o...
Bern error displaying, code must end with RETURN. Any idea hot to fix it?
j102491 how are you applying it to asc trend
Yantra "i believe this indicator could help any trend followers in trading decision. " I'm wonderin...

Top