EURUSD trend following strategy MACD Time frame : H2

EURUSD trend following strategy MACD Time frame : H2

A simple trend following strategy built with MACD default settings and ADX.
Orders are launched when the MACD cross the 0 level line and with ADX minimal value condition.
Orders have stoploss and takeprofit.

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. FREDNC • 01/14/2019 #

    Hi Francesco,
    Maybe I didn’t undersdant well your strategie but it’s looks like have a mistake In the short part : “cs = indicator crosses under 0 and summation[n](indicator[1]>0)=n and adx[14]>adxmin”
    Should be for adx[14]
    Isn’t it ?

  2. FREDNC • 01/14/2019 #

    Well, I just checked the Adx advices And I understand the meaning of your code (trend) , did you try with: “Adx Adxr” ?

  3. Francesco78 • 01/14/2019 #

    Hi, no I didnt try with ADXr but you are more than welcome to post some results of your ideas based on my strategies.
    Thank you

  4. juanj • 01/14/2019 #

    DId some tests using MACD validations on higher timeframes using MTF functionality and unfortunately couldn’t get improved results without tweaking other parameters (i.e. SL and TP) as well. Leading me to believe that either higher timeframe validations on MACD are not beneficial or the TP and SL parameters are too optimized. Either way, I like the simplicity of the strategy.

  5. FREDNC • 01/14/2019 #

    Hi Francesco I tried with :

  6. FREDNC • 01/14/2019 #

    adx[14]>adxmin and adx[14] > adxr[14] and adx[14]>adxmin and adx[14] DIminus[3](close) and DIplus(close)>adxmin and DIplus[1](close)adxmin and even with optimisation of “adxmin ” not better than your code

  7. Janfi • 01/14/2019 #

    Hello,
    I’m new to ProRealCode and I do not understand the following
    summation[n](indicator[1]<0)=n
    Can you explain it to me please ?
    Thanks

  8. Kaci • 01/14/2019 #

    It seems he’s just checking that the previous MACD is < 0 for maximum one period ? I'm new too so I may be wrong

  9. Daniel Martin • 01/14/2019 #

    Hi do you know how have and entry after the second cross? There is crosses below 0 and crosse about 0 I am looking to have an entry when we have a cross below and after about

avatar
Register or

Likes

avatar avatar avatar avatar avatar avatar avatar avatar avatar avatar
Related users ' posts
MaoRai54 Thanks, now it's OK. in your first code at line 15-16 it's missing.
Madrosat Hello Ivan Did you try a strategy with this indicator
Iván Hi. No I didn't. This is a code translation requested by an user a few days ago.
Bateson
5 months ago
MACD Reloaded
MACD Reloaded
2
Indicators
NEOMKEY Nada nuevo
Carlose I love your version of the MACD, if you use it you can get a lot of use out of it, for me ma...
Matriciel Very nice job ! Is it possible to do the opposite because what interests me is to have the ...
YvesRobert Hi Matriciel, how can we do this, because stochastic is limited between 0 and 100 but price ...
Traderfox06 Dear zeiiermantrading, I really like your approach combining adaptive averages with MACD in...
jacquesgermain Hello IASD it's normal , when this occurs, uncheck RSI and MFI line and click then the MAC...
emiliobercial Thank you very much for sharing!
Carlose estoy de acuerdo con IASD Esta muy bien el MAD y el indicador en el precio no se ven bien...
Gianluca Amazing, thank You for your contribution!
Alex Spioglou Thank you for featuring my work, and I hope you found it useful. Mind the paper was publ...
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
Nicolas
2 years ago
DELBERT Bonsoir , Nicolas , j'ai transféré votre indicateur sur ma PRT 10,3 et j'ai un méssage d'ére...
Nicolas Vous pouvez essayer en remplacant la ligne avec: vwapsd = sqrt(average[lengthz](square(clo...
DELBERT Bonsoir , merci Nicolas , a bientôt .
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...
wally Hola soy nuevo en el mudo robots. Alguien seria tan amable de poner el archivo itf.file ya q...
Darren Nash I found this works well on the DOW
thomas2004ch Hi John, Is your strategy suitable for daily SPY? Regards
KAMJKAZE thanks, really interesting!
2c95 thanks, why do U prefer average than lowest ? to close under average does'nt mean another...
Stenozar Hi Sever, how can I visualize the coloured areas?
Sever Hi Stenozar, You need to add the color zones yourself , just go to Add Color Zone To set ...
Nicolas change the last line with: return v coloured(r,g,b) style(line,2), v+band coloured(168,168,1...
Paolo.B Thanks ... works as i wanted.
Kanamax Bonjour Nicolas, comme Paolo.B je souhaiterais utiliser cette indicateur au sein d'un code. ...
Boris Hi IVMcm, thanks for your amazing work. I have tested all of your indicators and use some of...
IV Mcm With pleasure and thanks!
ashiash how to use this indicator can i use tradingview platform
zilliq Thanks @Nicolas. I tried to use it as Trend in a proorder system, but don't know why, it doe...
Suzu Yuk He is right. MT and mavgMT are not defined and causing errors.....
Maxime Baudin Super travail !
Yanic c'est top j'adore
Maxime Baudin Merci l'ami, passe une bonne semaine
IV Mcm Merci de même ;)
poldoposta si potrebbe trovare una soluzione per sovrapporlo al prezzo?
robertogozzi Basta che tu clicchi sull'etichetta (tag) PREZZO del grafico (appena sotto l'angolo in alto ...

Top