EURUSD – a daily Timeframe simple trading strategy

EURUSD – a daily Timeframe simple trading strategy

This EURUSD daily timeframe strategy is a simple code based mostly on the current trend detected by the difference of the Close with a simple moving average.

If the Close is above the SMA and the candlestick is green then we have a buy trading signal.

If Close is below the SMA and the candlestick is red, then this is a sell trading signal.

Seasonality parameters act as filters to prevent or not the launch of new orders at market, some days and months are not allowed to be traded.

Attached result is with 2 pips of spread. The strategy has no “0 bar” issue and could be backtested without the tick by tick mode to get a longer-term view of performance.

 

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. andtot • 02/13/2018 #

    Thanks for sharing. This does not give positive results n the daily timeframe (although it doers on the 4 hour). Am I missing something?

    • Nicolas • 02/13/2018 #

      Change your timezone to the default one for forex.

    • andtot • 02/13/2018 #

      Thanks!

  2. Dalsim • 02/13/2018 #

    great but… why don’t work on tick by tick mode?
    is impossible to trade for real?

  3. Francesco78 • 02/13/2018 #

    Hi Daisim, there is no need for tick to tick backtesting as there are no zero bars trades.

  4. Elperu • 02/13/2018 #

    Thanks!!

  5. JanWd • 02/13/2018 #

    You might try to use this strategy for platinum, looks good for the short run. (I only found a few months of data history, at IG.com)

  6. PaulFM • 02/13/2018 #

    Hi Francesco, nice strategy. Do you know if there are any members on this site that sell profitable automated trading systems?

  7. ALE • 02/13/2018 #

    Hello Paul,
    please visit my website : http://www.automatictrading.it
    Thanks Ale

  8. Michaldst • 02/13/2018 #

    Hi! thanks for sharing! Could you tell something about TP and SL conditions?

  9. cryptotips tips • 02/13/2018 #

    Its horrible !!

  10. Jan Wind • 02/13/2018 #

    Hi Francesco
    Just a question, how do you deal with interest costs of your broker, do you increase the spread to take the interest costs into account when being on the market all the time ?

  11. Jan Wind • 02/13/2018 #

    Hi Francesco,
    and where do you get the information of non trading months and non trading days of the week ? Thanks in advance !
    once dayforbiddenlong =4
    once dayforbiddenshort = 2
    once monthforbiddenlong =1
    once monthforbiddenshort =4

  12. Francesco78 • 02/13/2018 #

    Jan Wind, I obtain it from the backtest

    • Kris75 • 02/13/2018 #

      Hi Francesco,
      The results are totally different with the tickbytick mode; it becomes a losing strategy; I don’t get why we should not use systematically this mode?
      Thanks for your advice!

  13. UkDownUnder • 02/13/2018 #

    Takes to long!

avatar
Register or

Likes

avatar avatar avatar avatar avatar avatar avatar avatar avatar avatar avatar avatar avatar avatar avatar avatar

+1 more likes

Related users ' posts
murre87 No Stoploss?
bousalahane Hi Rajesh Deshpande, Thank you for this code, I see that the code is perfect, but the posit...
Bibi83 Bonsoir à tous Je viens de backtest la stategie sur EUR/USD en graphique 1H sur 1 mois et ...
Janfi Hello, I'm new to ProRealCode and I do not understand the following summation[n](indicator...
Kaci It seems he's just checking that the previous MACD is < 0 for maximum one period ? I'...
Daniel Martin Hi do you know how have and entry after the second cross? There is crosses below 0 and cross...
Maik2404 es sind leider nur long Positionen und keine Short zu erkennen.
Maik2404 Vytautas: es bleibt aber nur bei long Auslösungen
ullle73 this one is not a winner, have backtested it on almost all pairs, does not have an edge
JanWd Tried the code, nice concept, seems to work quit well for US/EUR 2hrs, Other markets seems n...
JR1976 Simple and nice code , congrats !!! Seems work well with TIme frame 1 h
phanz Hi all, Sorry revisiting an old post. This algo is simple, and simplicity is the ultimate ...
juanj And the point of violation is the close of the candle that violates the line by generating a...
juanj For the latest version of the strategy or to follow updates and developments see the thread ...
phanz i backtested it with 10K units of EURUSD 1 hour i get an equity curve that is going one way ...
poonsl2828 Hi! Francesco I have test it on GBP/USD but it only have a trade on 9 Jun which i backtes...
ullle73 why not use 1h chart? has 95% hitrate
ullle73 i see most of positions are only 1 pip before exit?
imokdesign Hi Everybody, when I look at the strategy I felt the need to implement a Moneymanagement-Sy...
Inertia newlevel then multiplier=multiplier+1 oldlevel=newlevel newlevel=strategyprofit+startequi...
Inertia Hi Bjoern, I was playing around with your code this morning (EUR/USD 5'). Thank you to the...
victormork Hi, I would just like to share my own take on this strategy. I'm using 30 min on EURUSD but ...
mckubik Thanks. I will run a Test. 
poonsl2828 Hi! bjoern May i know what timing should i change for time zone (Singapore (GMT +8:00) ...
Samitha Prasanna Hi ALE, would you be able to provide the values for the below part of the code (time >=1...
Player Bonjour, J'ai testé cette stratégie sur EurUSD en 1 heures sur 10000 unités et le résultat ...
Player Vue du rapport du Backtest https://ibb.co/8BMrBz6
Dimi.A Awesome mate.
mora87 Hi David and Nicola, I'd like to share idea with you guys which is related to David's Idea. ...
Nicolas Please ask for custom coding in forums instead.
Naren Yanan what is    diplus  diminus  please
Barney Has anyone tested this algon now when PRT 10.3 was released?
Yngve does anyone know if the issue with the TP/SL is resolved ?
JakeDB Answered my own question....Sorry about this question. 5 positions, take profit at 15, loss ...
maxxb sto facendo girare in demo questa strategia modificata a 10 minuti con stop e profit ottimiz...
Manuel9z Hello, this strategy improves with the SL 30 and the TP 10. I have done backtesting and it w...
miguel33 Grazie filippo. sto facendo dei backtest per valutare meglio in diverse situazioni. se tro...
DerPat Hello, If you google, you will find a lot of articles and block posts that clearly show expe...
jens_kittner I would like to inform you that these strategies tested till today (03.05.2019) generates en...
GraHal Ooops got that excited I sent that last one twice! ha (and can't delete it, sorry) I got it...
Eric n = 3  dont forget to allow 3 contract in proorder
UkCoopDownUnder Tried EURUSD GMT and GMT -1, as far back as I can go, Nov 2018 on 15mn Tf, 22% loss
Doctrading Hello, Someone asked me something (his results seemed to be different) on my email, but it ...
Glen Marquis Not your best..So what is your best strategy? :)
Doctrading It works on ProRealTime CFD, but backtest begins since May 2014
alex224 Hola Andres, buen trabajo. Algun problema por usar la estrategia con acciones en time frame ...
Andres Hola Alex, no lo he probado en otros timeframes, pero con esta configuración específica no c...
Francesco78 does anyone still use this strategy? Seems like it doesnt work anymore
GraHal Hi Francesco78   doesn't work as in not great results? I was just going to give it another g...
GraHal Works good on the DAX @ 30 Sec TF over 100,000 bars ... maybe everything has speeded up by a...
verdi55 At least there should be some moving average that has also reverted into the opposite direct...
verdi55 In addition to the moving average, wait until at least one bar is completely back inside the...
rama This works excellent on range bound I tried , give 90% win rates on dax , 3 min chart. can s...
Doctrading Bonjour, Tu as raison, il faut faire attention à la fiabilité de certains backtests. Le pro...
Duccio Hi DocTrading, I've backtested your strategy and I notice that 75% of position have been cl...
Doctrading Hello,  No, I don't use this strategy on real account, because my own strategies (that you ...

Top