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
Gianluca thank you very nice screener
styrke Hello Nicolas, Nice screener, I appreciate the way you always try to condense at maximum th...
Nicolas There's no particular reason. RSI is widely use with its default period and results seems re...
Vonasi I noticed a couple of typo errors in the code. The list of variables lines 4 to 11 should be...
Genotik Thank you for your important contribution this week which is much appreciated! Happy New Yea...
Vonasi No problem. I hope they are useful to someone. Happy and hopefully prosperous New Year to y...
DarioMazza Hi Vonasi, i have a question for you, the comand "pricetype" where did you found it in the ...
Vonasi PriceType is just a variable that I use. The value decides what type of price is used in the...
Vonasi I noticed a couple of typo errors in the code. The list of variables lines 4 to 11 should be...
bazilou pouvez expliquer donchian bias merci
Nicolas Your picture is too small, but for sure the problem is about the fact you are still using v1...
Rory Dryden Thanks. This looks useful.
Edelmiro Un millón... de gracias... me gustaría más, poder ofrecer euros; pero va a ser que no puedo,...
WarningTrading Comment peut on la comparer ? comme ceci ? cela ne me donne plus le message d'erreur manque...
sally31120 Bonjour, je n'arrive pas à créer ce screener close > supertrend extended2[1] la réponse...
Nicolas voir ce sujet pour un screener basé sur Supertrend Extended: https://www.prorealcode.com/top...
TACBOLSA
7 years ago
RB-MACD TIMING
RB-MACD TIMING
0
Screeners
Nicolas https://www.prorealcode.com/topic/ayuda-screener-indicador-perfect-trend-line/#post-51291
Manu L. Bonjour Nicolas, suite a une de mes precedentes demande dans le forum indicateur, j'ai touv...
AntoGH C'est selon moi le meilleur indicateur, que j'ai vu, si vous trouvez mieux dîtes moi car dif...
Lydia1948 Hi I really like this indicator - is it easy to change the colour of the blue dots to say g...
Nicolas Lines 23 and 24 are the Red and Blue value between 0 to 255, you can change the color of the...
rafadonl2 is not taken into account in the procedure. It considers only if it is a doji or when candle...
Guibourse Okay thanks, just a question : how do you plot your two lines in the same window as price ? ...
rafadonl2 sorry, I don't understand your question. Indicator draws Heikin Ashi candle, not price cand...
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 ...
mahdi how can I import itf file into mt4? please help
Nicolas That code is not for MT4, we do not offer free assistance for this platform, but you can ask...
guinsu2000 hello could you share your copy in a pdf or where you whant please ?
Nicolas Your PRT version is inferior to 10.3? So the code in its default state is not compatible. A ...
Mbulelo Hi Nicolas Hope all is well your side, do you have a specific strategy for the MFT Swing ...
Nicolas No I don't, try to make it on your own, or ask in forums (follow the posting rules please).
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 ...
JR1976 Dear Mike , your screener seem interest and simple... Do you try to envelope an automat...
Player Hi Mike, What is the name of the indicator just under the MMA ? Thanks Regards Marc
Igor Hi Mike, What is the name of the indicator just under the MMA ? Thanks Regards
Bougnat bonjour, ton screener semble intéressant .... merci pour le partage
guytrc Hi Nicolas - many thanks for your screener. One question if I may - how does condition 5 wor...
Nicolas In the last 20 periods, the SMA 10 periods was above the SMA 20 periods.
stratobast Good afternoon everyone. Thanks Doctrading for your work. I have an issue while using this ...
stratobast My bad guys. I understood what was the problem. The indicator uses highs and lows for the Re...
samwarduk Has anyone tried this on Bitcoin GBP1? The results look amazing but every time mine trie...
Francesco
8 years ago
oraclus Merci il lui ressemble bcp
juanj Think this is something we can experiment with in the 'universal' strategy along with the Bo...
ggolfet Hello Francesco, thanks for the code. Now I can do backtests on this indicator. I'm testin...
Kris75 Hi Gabri I launched a very simple strategy based on the 3 bars trailing stop that you cre...
TimDeCat Hi. Has anyone coded a version that you could alter it to say 5 bar trailing stop? ie make ...
Nicolas Please open a new topic in forums so we can code it there, thanks.

Top