A forex trend breakout code

A forex trend breakout code

Hello,

At the request of Ashley, I tried to backtest a strategy.

It was a failure on M15 and H1.
But the code works well for these conditions :

  • H4 timeframe
  • EUR/USD
  • only long positions (works not great with shorts)

On H1, we must use “sell limit” instead of “buy stop”, it works with it !

So this code isn’t my best strategy of course, but the equity curve is sexy 🙂

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. Doctrading • 05/22/2016 #

    Hello,
    Someone asked me something (his results seemed to be different) on my email, but it was a “donotreply” adress.
     
    Here is my answer :
    Hello,
    There is no error, your backtest is true.
    But you backtested it from april 2012, my backtest begins before 2000.
    So the equity curved seemed to be different, but it’s the same for the same period.
     
    See my picture here : 
    http://www.doctrading.fr/wp-content/uploads/2016/05/Ashley-1024×617.png
     
    Best regards,
    Marc

  2. Glen Marquis • 05/22/2016 #

    Not your best..So what is your best strategy? 🙂

avatar
Register or

Likes

avatar avatar avatar avatar avatar avatar avatar
Related users ' posts
Nicolas
2 years ago
Lucas0000 Hello, Congratulations on this programming, it seems incredible to me, I am new to this but ...
plbourse Hello, I am trying to use this singal (in fact I have converted it to an indicateur giving B...
manfeber Buenos dias,alguien me podria decir como se descargar el archivo o el indicador Q-Trend??,ya...
Emil
2 years ago
Nicolas
2 years ago
5 main forex pairs average
5 main forex pairs average
5
Calculated instruments
MaoRai54 many thanks. IG doesn't know when they'll release it :(
MaoRai54 Hi Nicolas, I'm here again. Today I got the v.12 in my demo account. I started it, I downlo...
financier Hi Nicolas, I have just discovered the Calculated Instruments tool and think it would be ver...
BriceE Bonjour Nicolas, Je suis a la recherche d'indicateurs pour me donner la meilleure indicatio...
Nicolas
2 years ago
Maxime Baudin Well done Nicolas, creative!
Stenozar Hi Nicolas, please can you explain how to read/use this indicator? thanks!
JC_Bywan For people interested in the screener: https://www.prorealcode.com/topic/screener-buy-sell-m...
octum Gracias NJicolas. Las lineas 35 y 36 dan fallo. (¿Es adrede para iniciados?) Puedes co...
mortezaali14 Salut Nicholas, comment exécuter ce fichier dans les métadonnées
Nicolas Yes, Magic if the variable that contains the value of the line, you can test if it goes up o...
dadah1987 Bonjour Nicolas, merci pour cet indicateur. Utilisant pour l'instant la création simplifié p...
Nicolas Merci d'ouvrir un sujet sur le forum avec une description complète du système.
GustavoLoboOrenstein Is it possible to add histogram with only increasing bars?
YvesRobert Bonjour Nicolas, en effet ca marche, je me suis trompé, j'ai bien tout le tracé. C'est parce...
oliTR Bonjour, les conditions longCond et shortCond ne contiennent-elles pas une condition qui s'a...
xpe74 Utilitaire vraiment top, d'autant qu'ajouter des filtres de seuil peux aider a limiter le no...
Jiacky
3 years ago
Kalman Filter
Kalman Filter
0
Indicators
Jiacky
3 years ago
Range Factor
Range Factor
0
Indicators
JohnScher Postscript: It's running in the live right now. One position after the other is opened. ...
ullle73 nice!! how's it been since your last post on going live? :)
thomas2004ch Hi, Is this strategy suitable for daily SPY? Regards
AndPar Buongiorno Nicolas, vorrei provare questo indicatore, ma quando lo inserisco in PRT mi vengo...
Nicolas Basta aggiungerlo al prezzo https://www.prorealcode.com/blog/video-tutorials/how-to-add-an-i...
Aragorna hello Nicolas, this indicator works with the last Beta version of PRT? Ive seen tha many in...
Darren Nash I found this works well on the DOW
thomas2004ch Hi John, Is your strategy suitable for daily SPY? Regards
gatowman Hi, ich bin leider Anfänger, habe den Code zwar importiert, aber scheinbar läuft er nicht au...
Stephane0174 Bonjour et merci pour le Screener. Je suis nouveau ici et je ne connais rien en programmati...
Nicolas Je pense que c'est le copier/coller des guillemets qui pose problème, il faudrait les retape...
KAMJKAZE thanks, really interesting!
2c95 thanks, why do U prefer average than lowest ? to close under average does'nt mean another...

Top