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
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
1 year 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...
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
Madrosat I Have not see a fully functioning automated strategy on your site?? Really have you???
juanj Hi Madrosat, why would it be on my site? I have developed it for my personal use and also to...
Madrosat ok I understood you are using prorealcode to hack the fish
jaginho Bonjour Vivien, je n'arrive pas à comprendre ce screener... En tout cas merci pour tes contr...
avatar
Anonymous Superb, merci!

Top