Basic Momentum Strategy MA100

Basic Momentum Strategy MA100

A very simple and nice code , I got the idea spontaneously.

This is a long-term strategy, where we take positon with the momentum.

This momentum is defined here by the 100 moving average. If it goes above the moving average 20 days (1 month) before, we go to buy.

We also take short positions with opposite condition.

Therefore, we are constantly in position, buy or sell.

The backtest is very profitable on some indices, with a profit factor greater than 2 : including the DAX, CAC40. It also works on forex on many pairs. But the results are mixed for others.

Test and improve it !

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. Nicolas • 03/27/2016 #

    Hello Doc, you should combine 2 momentum for better entries and exit. Look for “dual momentum” strategies on internet. Cheers.

  2. Doctrading • 03/27/2016 #

    Ok, I will try it.
    I have some nice daily strategies, I’m looking to create a code for intraday trading… such as the “Breakout ProOrder” for the CAC40.
    But later I will backtest some of those “Dual momentum” strategies, which I did use myself manually.

    • Nicolas • 03/27/2016 #

      Ok Doc, beware of intraday, it’s a battlefield full of random noises 🙂 Maybe we can work together on something, let’s open a new thread on forum for intraday trading research!

    • Thomas007 • 03/27/2016 #

      we should definitely open a new thread for intraday trading – can we post the link once it’s done? Thanks

  3. phili711 • 03/27/2016 #

    Bonjour
    Si la moyenne 100 est au dessus de la moyenne 20 le trend est baissier zlors pourquoi on achete?
    Je nai pas compris ?
    Bravo pour ce site
    Philippe

    • Nicolas • 03/27/2016 #

      La comparaison se fait entre la valeur de la moyenne actuelle et telle qu’elle était il y a 20 périodes de cela. Il n’y a pas de moyenne mobile 20 périodes dans la stratégie.

avatar
Register or

Likes

avatar avatar avatar avatar avatar avatar
Related users ' posts
P. Marlowe Muy bueno. ¿Podría hacerse para señalar extremos por el lado bajista? Lo mismo a la inversa....
Miro Esta es una versión del indicador, para ambos extremos. //-------------------------------...
P. Marlowe Muchas gracias ¡¡
jordan //---settings MAmode=0 Period=150 NumberOfMA=100 //---end of settings MA2=undefined ...
jordan dites moi si cela correspond à ce que vous cherchez
kats bonjour merci de ta reponse mais non ca fonctionne pas sympa quand même d'avoir essayé cdlt
Jean2139 Bonjour Yvan, Merci pour ton indicateur que je trouve très intéressant. Je suppose que tu ...
Suffi Hier eine kleine Korrektur: //-----Inputs-----------------------------------------// MALengt...
Stenozar Ciao mi restituisce errore line 1; forse è perchè utilizzo la versione 11 ? in questo caso d...
Stenozar Ciao IVAN , mi da errore per la riga 49 "print tema low"; puoi suggerirmi la modifica da met...
Iván Avete provato a scaricare il file .itf?
Gio56 Super idée. j'ai juste un souci. j'ai pas de barre verte mais plusieurs lignes de couleurs.....
DeathMetal change line in histgram, (click on indicator name, click on tool (
Gio56 Super merci.
jacquesgermain Bonjour non pas de soucis car src=customclose donc dans le menu configuration/propriété me...
geroniman Merci Jacques , indic tres utile. J'ai un indic à programmer avec du price action. es tu dis...
jacquesgermain ok pour regarder ...
Gianluca Amazing, thank You for your contribution!
Alex Spioglou Thank you for featuring my work, and I hope you found it useful. Mind the paper was publ...
Nicolas
2 years ago
f1_maik Ein sehr schöner Indikator, vielen Dank. Wenn ich den Indikator importiere und starte hat d...
Nicolas das ist in der Tat normal, Sie müssen die Auf- und Abwärtsfarbe direkt im Parameterfenster d...
FXtonio Bonjour Nicolas, merci pour cette merveille, je l'utilise en compl2ment du "magical buy sell...
supertiti Bel outil si on ne se tape pas sur les doigts avec ! Comment ajoute-on une image avec le co...
magnus59 Hi Nicolas, thaks for your great work here, I need a scanner for the swedish OMX when ma...
Nicolas Yes, sure please open a new topic in the ProScreener forum section, thank you.
paullyons Hello! Thanks for post your indicators. I'd like you to let me know how to draw lines for ...
Rafa Hi Nicolas! I can´t install this indicator. it installs in a separate window not as an av...
Nicolas Add it on the price, see how: https://www.prorealcode.com/blog/video-tutorials/how-to-add-an...
Frankyslo1 No consigo instalarlo en el precio en PRL-version 10
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...

Top