EURUSD Mini overnight trading strategy 3 minutes TF

EURUSD Mini overnight trading strategy 3 minutes TF

Good afternoon,

This strategy is designed for the Eur / Usd mini 1 € with a 3-minute timeframe and a spread of 0.6 pips. It only works in the evenings. Let’s see what you think and if anyone is encouraged to improve it. 😉 I have already put it with real money for a month and the backtest corresponds to what the robot does in real.

Buenas tardes,

Esta estrategia esta diseñada para el Eur/Usd mini 1€ con un timeframe de 3 minutos y un spread de 0,6 pips. Exclusivamente funciona por las noches. A ver que os parece y si alguno se anima a mejorarlo. 😉 Ya lo tengo puesto con dinero real desde hace un mes y el backtest se corresponde a lo que hace el robot en real.


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?

New! PRC is also now on YouTube, subscribe to our channel for exclusive content and tutorials

  1. Nicolas • 12/21/2016 #

    Thank you Raul for sharing your strategy with the community. Every code sharing is appreciated. I have successfully backtest your strategy with new backtest engine of the new PRT version, and results are accurate. I found that you use averaging down to compensate loosing orders, even if you cut all orders at the beginning of a new day, the drawdown of the money equity can be huge sometimes. Maybe you could de-leverage a bit or avoid stacking orders at each new candle if the takeprofit was not met at the first glance. This is just my own thoughts by now, will be happy to discuss more. 

  2. Raul Vg • 12/21/2016 #

    Thanks Nicolas, I’m sorry, my English is bad, I will translate it in google hehe. In the code, I have put that it does not operate the night of the brexit or of the elections of the usa,These days better not have automatismes. In the code you can change the number of contracts as the benefits of the strategy increase, currently limited to a contract.

  3. Joachim Nilsson • 12/21/2016 #

    Great code but those drawdowns is huge! 

  4. mbaker15 • 12/21/2016 #

    Could somebody translate this code into english for me?
    Regards, Mark

    • Nicolas • 12/21/2016 #

      I think Google Translate can do this job for you 🙂

  5. iramirez55 • 12/21/2016 #

    Hola, gracias primero de todo.
    Por la mañana entre 7 y 12 también fuciona.

  6. Jesús • 12/21/2016 #

    Hola Raul VG, muchas gracias por compartir la estrategia, parece muy interesante el concepto.

  7. jonjon • 12/21/2016 #

    Hi Raul. Thanks for this code. I understand it all apart from the stop and target code. Can I ask a stupid question: where do you get the 300000 and the 80000 numbers from? I understand what the ATR is but I can’t get my head around why you then multiply by these numbers. Thanks

  8. Raul Vg • 12/21/2016 #

    Hi jonjon, these figures are the most appropriate for the strategy. Atr is an average true range indicator, in eur / usd it has values of 0.001, so multiply by that amount. Anyway is a very risky strategy, to accumulate orders, can be all night accumulating orders without stopping and produce large losses

  9. barbagio • 12/21/2016 #

    Hola Raul,gracias por compartir sistema, muy interesante. Tengo unicamente una duda sobre el spread que me parece verdaderamente muy bajo. Has probado otra combinaciòn aumentandolo? A la noche normalmente no està tan bajo.Otra pregunta: el sistema ya està optimizado?

  10. jonjon • 12/21/2016 #

    Hi Raul. Just a thought, is there a way to limit the maximum number or orders that can be accumulated? This could help a little with risk? With the following:
    DEFPARAM CumulateOrders = true
    is it possible to limit it to a maximum to 4 accumulated orders, for example? If so do you, or anyone else, know the code as I’m being a little slow today? Thanks 

  11. Petrus • 319 days ago #

    Hi jonjon. If you want to exit at the 4th bar only if the trade is losing money, you have to add following code (for exiting long):
    IF POSITIONPERF<0 THENperd=(Barindex-Tradeindex)=3ELSEperd=0ENDIF
    For exiting short:

  12. emadimarco • 262 days ago #

    Hi, I would like to do a test by doing it by day, but I’m not able to change the start and end times. Someone could help me to set up for example: start time 9.30 am, late at 7 pm Thanks to who will help me

Register or


avatar avatar avatar avatar avatar avatar avatar avatar avatar avatar avatar avatar avatar avatar avatar avatar
Related users ' posts
matger51 Thanks for this strategy, simple but efficient as i see
Daniel da Costa Thankyou! It would be nice to have this as a screener.
juanj If I run the backtest with a zero spread the backtested result look similar to your screensh...
Eric If you have a high percentage winners and the trades are closed with take profit the spread ...
Casenova I Agree with you JaunJ, and Yes Eric, what you say makes sense too. Optimizing the Stop Loss...
apachx Hi. Please, describe the algorithm in words. I want to understand how it works, but for now...
Daniel da Costa Thanks Doc! Where can you find a service for Dax with a 1 point spread?
Doctrading Hello. I suggest you : ProRealTime CFD, or IG. Best regards,
lumarino No penultimo minuto do Dow (20:58h) a simulação apresenta melhores resultados que no ultimo ...
lumarino Hello Leo. Good evening. Being a programming apprentice and in the PRT I would appreciate a ...
Leo Hi Luminario, b0 is a condition that the curve SMA1 is below SMA2. As long as this conditi...
JanWd Mr Beep, nice strategy you have build ! I played around with your code, and made my own...
noisette Thank you for this code that seems to work well. But, if i'm not wrong, we can have buy and...
noisette sorry, I was wrong in my previous message: it's not possible to have both conditions at the ...
Dalsim great but... why don't work on tick by tick mode? is impossible to trade for real?
Francesco78 Hi Daisim, there is no need for tick to tick backtesting as there are no zero bars trades.
Elperu Thanks!!
juanj This gets me thinking about creating a strategy on the 5min timeframe that only takes trades...
GraHal I noted above does okay on DAX 10 min with even a reduction to 30 of the Stop Loss. I've s...
verdi55 You can find me at Ahh. So i got it ? 4 different supertrends without th...
juanj What? This has nothing to do with the website. The site is simply a service to help people ...
Nicolas Advertising is allowed,as long as people are helping others and if provided services are abo...
Yannick TradingDayLong = dayofweek = 1 or dayofweek = 2 or dayofweek = 3 or dayofweek = 4 or dayof...
Marlon Hey JohnScher, your code works fine, but my results aren't as good as yours. Even if I use ...
DarioMazza Bha... this code dont work. gg
lumarino Bom dia Ale. Obrigado pela partilha. Você tem alguma das suas estratégias operando em Modo R...
lumarino Qual é então a sua Estrategia de eleição ALE??
Yannick Hello There is a mistake in trailing stop code, I think that this should fix the problem s...
Paul About the trailing-stop the way it's coded. That works for backtesting only, just look at th...
Jonny sorry paul, but system says that is not possible to put many stop order combined...what have...
5 months ago
TempusFugit Thanks Bin, nice code, I can use several ideas of the way you build it
DarioMazza Thanks Bin, great concentration, i understand the first idea, but may u indicate me the asse...
Bin Hi Mazza This robot is optimized for DAX30.
victormork Hi! No I don't have 200k history.
Yannick There is a huge drawdown from 2012 to 2013 after it keeps rising
victormork Thanks for sharing the 200k test!
BiggestNoob Duh. Should learn to read above post :p
ProContra It seems that after publishing it started drawdown.
GraHal Please forgive the daft question, but why is 3-bars-trailing-stop-williams-3.itf included a...
gabri Non sono un genio ma so fare qualcosa. Posso provare ad aiutarti ma se e' troppo complicato ...
TempusFugit Masala, thanks for your contribution. I don´t like the offmarket spreads neither ;) I unders...
Uveus Tempus, me da un error al validar el codigo, sobre la variable N. Al crear el indicador me ...
TempusFugit Hi Uveus, I am guessing you inserted the code of the indicator into the system code, is ...