3 moving average trading strategy EURUSD

3 moving average trading strategy EURUSD

EN/ A small strategy that seems to be working. It is based on three moving average. in 5 minutes it is ok. I encourage you modify and test in other timeframes and pairs. It is made for Eur-Usd. Thank you.

ES/ Una pequeña estrategia que parece que puede funcionar. Se basa en tres medias mobiles. en 5 minutos va ok. Animo a que modifiqueis y proveis en otros tiempos y pares. A Eur-Usd. gracias.

 

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. MikeGC • 05/16/2016 #

    Hi Pablo,
    I have optimised this beautifully simple strategy for the GBPJPY and changed the CumulateOrders to “true”.  This has produced a rather spectacular result over the course of 12 months on the – too good to be true?
    With the same optimised settings, it produces 68% gain on the EURUSD over 12 months.
    Many thanks.
    Best regards,
    Mike
    // Condiciones para entrada de posiciones largas
    DEFPARAM CumulateOrders = true
    mm3= average[100]
    mm2= average[80]
    mm1= average[90]

    if mm1<mm2 and mm2<mm3 then
    sellshort 1 contract at market
    endif

    if mm1>mm2 and mm2>mm3 then
    buy 1 contract at market
     

  2. Pablo Carmona del Moral • 05/16/2016 #

    Hello MikeGCwhen you put “defparameters = true” in each candle you put an order, it is important when you put so many orders know if you put the corresponding spread the pair in which these testing strategy. I’m glad you like my little work. the spread in Gbp / Jpy is 2.5 pips. and Eur / Usd 1.5 which is the typical spread, not the minimum spread. If ahun with the strategy that works I would give as valid. It is important to play with the money management not as a monkey with a revolver. if not everyone knows how you can finish the game.

  3. Pablo Carmona del Moral • 05/16/2016 #

    tonight will schedule more fun moneymanagement, programming strategy through profit the number of lots. seguros.Lo good results more important is the security of your account, that being able to spend what people do not like that happens, we lose never will be 0

  4. Doctrading • 05/16/2016 #

    Hello,
    Cumulating orders isn’t VERY risky ?
    Best Regards,

  5. Pablo Carmona del Moral • 05/16/2016 #

    Sorry for my english. I never cumulating orders. Always I made programs with defparam = False

  6. Pablo Carmona del Moral • 05/16/2016 #

    Doctor how do you make to made a good riskmananagement?

  7. Nicolas • 05/16/2016 #

    Cumulative orders can be very powerful with a good risk control. There’s an interesting thread about a nice risk/reward management system here: http://www.prorealcode.com/topic/grid-orders-with-one-combined-stop-loss-and-limit-can-it-be-done/

  8. Pablo Carmona del Moral • 05/16/2016 #

    // Condiciones para entrada de posiciones largasDEFPARAM CumulateOrders = falseonce n=2q= strategyprofit[0]mm3= average[297]mm2= average[99]mm1= average[50]n=(q/1000)+5if mm1<mm2 and mm2<mm3 thensellshort n contract at marketendifif mm1>mm2 and mm2>mm3 thenbuy n contract at marketendif

  9. Pablo Carmona del Moral • 05/16/2016 #

    I made a simple risk management twice varying breakdown i max up or down in this program the number of lots according to the strategyprofit entered. Bring us and try it, thanks.
    // Condiciones para entrada de posiciones largas
    DEFPARAM CumulateOrders = false
    once n=2
    q= strategyprofit[0]
    mm3= average[297]
    mm2= average[99]
    mm1= average[50]
    n=(q/1000)+5
    if mm1<mm2 and mm2<mm3 then
    sellshort n contract at market
    endif

    if mm1>mm2 and mm2>mm3 then
    buy n contract at market
    endif

  10. demoz • 05/16/2016 #

    Did anyone test this live?

  11. Gaby333 • 05/16/2016 #

    Hello every one hope everyone ok)) I was just traying to maximize the strategy by closing with the stochastic. Any idea how the code my sound))

avatar
Register or

Likes

avatar avatar avatar avatar avatar avatar avatar avatar avatar
Related users ' posts
Adolfo Onrubia Ups! Sorry. Variable "S" is to set an specific Spread if needed. Could be "0", or the distan...
GraHal Hi Adolfo, big thank you for your code, but I am a bit confused. Spread is the difference b...
Meta Signals Pro Hi, For me there is a mistake here L32 maxriesgo = round(equity*riesgo) => round(equ...
zilliq I think the "best"  method to backtest is  to do a simplier Walk forward backtest (and we ho...
volpiemanuele Hi, I have modified and optimized the strategy on FTSE 100 CASH Eur 1 on IG demo account. B...
Doctrading Defparam cumulateorders = false n=1 // Plus le "ratio" monte, moins il y a de positions ...
Malloc Bonjour :) Je sais que cette stratégie a été partagée il y a de ça plusieurs années mais ...
lilo789 Hi guys! Do you know if it is possible to set the buy size to a relative % of the available...
JR1976 Sembra performare molto bene   
giulomb E' tanto tempo che non lo guardo , non so neanche se il trading system soffre di iperottimiz...
giulomb E' tanto tempo che non lo guardo , non so neanche se il trading system soffre di iperottimiz...
luigiR Hallo doc, thank again for your strategy but can you suggest me  an example of the optimizat...
Wilko Do NOT take this system live! The backtest results will never be repeated live due to a shor...
mrripley99 So I've played around with this just recently and have achieved some good results in an IG d...
TradSuz C'est étrange, je note donc à nouveau les deux horaires achat et vente =9H/17H, le iRSI de l...
TradSuz Merci à Doctrading pour cette trame de code super et qui marche sur d'autres supports aussi....
Bibi83 Bonsoir à tous Juste pour vous informer que j'ai enlever les conditions short et que cela ...
Doctrading Yes, nice improvement ! You should test it with 20 points spread (common spread on IG Marke...
bandido Ho provato questa strategia anche sul dax, a causa dell'elevato spread IG sul ftse mib. Con...
gianlox con quale timeframe hai provato sul dax ?
Doctrading Maybe you can also change the hourly beginning of the day (not 23PM but 12AM, OOH in french)...
Duccio Hi Doctrading,there is a way to control the max loss of the positions in this code? For exa...
Doctrading Hello, Yes, there is a command I think, but I don't know it. Nicolas knows it. You can als...
verdi55 Strategies for sale usually are not worth their money, 'cause if they were, the author would...
triss1965@gmail.com Thats not cool at all.
demha sak Hello, I improved your algorithm by adding long positions: ``` DEFPARAM CumulateOrders = ...
giulomb Non capisco dove sta la strategia reversal
gianlox L'allegato Reversal-AUDNZD-4H.itf lo vedi ? Comunque la strategia è la stessa che vedi nel l...
entony salve qualcuno l ha provata in reale come sta andando??? bel lavoro comunque grazie  
Dave Hi, I'm new to coding and have been trying to modify the code a little to backtest an idea I...
Nicolas Better use the forums for coding assistance please. You'll get more results there for sure.
Dave Apologies - only just learning the site layout. Maybe you could delete the post?
Pierreee That a realy great strategy !!!  It's realy profitable in daily trade. I'm gonna put some ...
entony hello timeframe on what works best and how couples ??grazie
111111dw i am running this on the cac 5m time frame but the results are very different from the backt...
Nicolas RSI is an oscillator made for price centering. This strategy bet on mean reverting phenomena...
air Good start. Works decently during stock runaway bull market. I have tested it over 80 year p...
TheHovisTrader Hi - the way Larry trades it does not work - discovered that over 10 years ago! BUT If you ...
Nicolas You can try this code for buy and hold curve line: capital = 10000 mylot = 2 i1 = capi...
soukenson Bonjour Nicolas, Je ne comprends pas où ajouter le code que tu as a donné dans le code initi...
Nicolas Tu veux parler du code pour comparer avec le "buy and hold" ? Si oui, tu as tout ce qu'il fa...
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...
Glen Marquis I wonder how this fairs on 5 or 15 mins. Maybe 21 or 25 instead of 14 .
Doctrading Hello, you can test it. It's not my best strategy... but I think someone can improve it.
Nicolas FR/Bonjour Steftonio, non pas de frais overnight calculé sur la durée du backtest, c'est une...
avatar
Anonymous Any reason why in 2016 this system is doing very bad respect the previous years?
Nicolas "very bad" is relative to the account equity. I do not forward test this strategy since I po...
Nicolas Aucune immobilisation du capital. Quel est le drawdown du buy & hold ? Je ne l'ai pas ca...
jctrader ok pour le codage mais le choix "indice" n'est pas le bon : moins de 5%/an pour le meilleur ...
Thomas Hi Nicloas nice one i do understand :D im trying to put in MA200 as a criteria so it only go...
DonDollar ...and I do not see any opened positions...strange...
DonDollar I found the answer by myself for the second question. But still no idea about the False and ...
Nicolas The line 12 of the code is the answer of your question. Before launching a new trade, the co...

Top