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
Jiacky
3 years ago
Kalman Filter
Kalman Filter
0
Indicators
Sever
3 years ago
zilliq Thanks @Nicolas. I tried to use it as Trend in a proorder system, but don't know why, it doe...
Suzu Yuk He is right. MT and mavgMT are not defined and causing errors.....
Roland57800 Bonjour Noobywan, si je comprends bien l'utilisation de ce code que je trouve particulièr...
Noobywan Bonjour, quand la question a été posée dans le forum à celui qui avait fait la requête en am...
Fabian This Code draws only a retangle if the condition has been confirmed and NOT before (in that ...
RakeshPoluri I have a question about the bands on the candles. Is it bollinger bands or something else?
Nicolas I think that's 2 Bollinger Bands
Emperor.it "style(line,2)" C'è una guida ai parametri che si possono modificare ? Tipo stile della lin...
IV Mcm https://www.prorealcode.com/programming-with-prorealtime/
fazel53 How do i attach this indicator to my mt5 platform?
Nicolas You can't! All indicators here are for ProRealTime trading platform: https://www.prorealtime...
Nicolas
4 years ago
Nicolas La définition des couleurs se situent entre les lignes 94 et 118. Selon le type de bougie (h...
Manu35250 Bonjour Nicolas, Est il possible de convertir cet indicateur en screener ? J'essaie depui...
Nicolas Bien sûr, merci de formuler la demande dans le forum approprié en respectant les règles de p...
Nicolas c'est exactement ce que je fais entre les lignes 58 et 64 pour pouvoir tracer la ligne complète
Italo Fabian Nicolas, Ces matrices sont-elles des vecteurs unidimensionnels ou multidimensionnels? Depu...
Denis Bonjour Nicolas et RicLg, Merci Nicolas pour cet indicateur intéressant et merci RicLg pour...
Nicolas Il faut l'ajouter sur le prix avec l'icône de la clé situé en haut à gauche du graphique du ...
jerome777 merci de ta réponse
jerome777 bonjour c est bon il fonctionne parfaitement merci beaucoup
Nicolas Check your custom trading hours and use the default market ones.
fj_pastor Hello Nicolas, Thanks again for all your support. Finally I debugged the problem. The sim...
kallistos Hi Nicolas, Thank you very much indeed for this indicator (and all the others you are provi...
Ciccarelli Franco Per lasciare che la strategia venga eseguita (dopo aver importato il file): Basta eliminare...
JADINVEST Hello Jan, hello everyone, Thanks Jan for this strategy! Since 2020, have any of you found a...
Alessandro Furlani Hi Ian, hope you still use PRT and so you can read this post. I have tested a lot your work ...
FXmike hey my friends, thank you for this great code. my problem is he make no trade open. backtest...
FXmike Can i put a Action that my start contract is smaller than 1 ? 0.3 or 0.5 ? In wich Position...
phoentzs I wrote the code for M15 back then and also variants in H1 and M1. Everything works so far....
Morrissey38 Muchísimas gracias Nicolás , muy amable.
Bruno Carnazzi extrèmement pertinent
Bruno Carnazzi Is that beatable ?
Alps007 Hi Nicolas. Happy New Year. Can you please program me several MACD divergence screeners ...
Arlei Zanin Hello Nicolas, would it be possible to convert the Cloud to Pascal language? Thank you.
ashee i want it in MT4
Marie-Eve Vergoz Bonsoir - Voici l'erreur qui est signalée lorsque je souhaite utiliser cet indicateur : il...
Sapo Thank you for your indicators. As always it's perfect, I thank you for your help it's preci...
Vonasi Sure that is possible. I will code it and make a post in the English ProBuilder forum and pu...
Vonasi Vama v2 with Hull moving average included can be found here: https://www.prorealcode.com/top...
JMat45 Thank you, Vonasi.
Nicolas
6 years ago
LRMA
LRMA
0
Indicators

Top