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
Related users ' posts
JS
10 months ago
Trendilo
Trendilo
0
Indicators
Nicolas
10 months ago
Anthony2A Bjr, j ai des erreurs sur la ligne 69, 74, 78 et 80. sur drawcandle drawtext et endif. si ...
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...
Emil
11 months ago
Nicolas
11 months ago
5 main forex pairs average
5 main forex pairs average
4
Calculated instruments
Nicolas It's only compatible from PRT v12. With the "Calculated instruments" tool, you can know crea...
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...
BriceE Bonjour Nicolas, Je suis a la recherche d'indicateurs pour me donner la meilleure indicatio...
Nicolas
12 months ago
Maxime Baudin Well done Nicolas, creative!
Stenozar Hi Nicolas, please can you explain how to read/use this indicator? thanks!
FXtonio @RICOU en 1 minutes avec un filtre de tendance ZLSMA 200 et eventuellement un rsi 7 , 69% de...
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...
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?
Nicolas Je ne rencontre pas ce problème avec le NASDAQ par exemple, ce serait plus simple d'ouvrir u...
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...
Jiacky
2 years ago
Kalman Filter
Kalman Filter
0
Indicators
Jiacky
2 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...

Top