As simple as it gets: EURUSD 2h ATR strength

As simple as it gets: EURUSD 2h ATR strength

This is a really simple system in its base form. It has no filters or money management. I submit it only to show what can be done with VERY simple entry & exit rules. I’m pretty sure this could be developed further into an implementable system.

The basis is EUR/USD on 2h timeframe. It might work on other assets, I haven’t tried yet.

The system will initiate a long if there is a green body exceeding ATR(20)*2. It will exit the long on another green body exceeding ATR(20)*2, or on the 9th bar after entry, or if a short position is initiated.

The system will initiate a short if there is a red body exceeding ATR(20)*2. It will exit the short on another red body exceeding ATR(20))*2, or on the 9th bar after entry, or if a long position is initiated.

There you go, as simple as that. Good luck with your adaptations!

 

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. Wilko • 10/05/2017 #

    Just a quick note. The first line should read AverageTrueRange[20](close), not [14]

  2. Inertia • 10/05/2017 #
  3. victormork • 10/05/2017 #

    How does the backtest change with AverageTrueRange[14](close)? Better, worse, unchanged?

  4. Wilko • 10/05/2017 #

    If I remember correctly, best backtest results were achieved with ATR(21). Slightly worse with 14, but not materially

  5. Francesco78 • 10/05/2017 #

    Great system, I love its simplicity. Thank you.

  6. SAM • 10/05/2017 #

    Hy, thank-you for share-it…
    Ex-cuse me for the trivial question,
    I understood the condition LognEntry ,but why the condition “close -open>ATR*2 ” is also in the condition “LongExit” ?
    thank-you

    Close – Open is the thame as LognEntry?

  7. Wilko • 10/05/2017 #

    Hi Sam,
    Thank you for the comment. I ageee completely and do not find your question trivial. Please allow me to check the code and come back with an answer. I can spontaneously say that this is not the same as codes I have implemented (yes, I do run variations on this idea live on several markets). Let me have a look and revert with an explanation.
    Kind regards,
    Fredrik

  8. Ricx • 10/05/2017 #

    There is no SL to this system, right?
    If I want to add one, how would I add it?

  9. Wilko • 10/05/2017 #

    In the IF-clause containing the BUY or SELLSHORT instruction you could add a line containing SET STOP….. etc.

  10. Wilko • 10/05/2017 #

    In answer to SAM: The Logic of the cover clause containing the same logic as the entry-clause is simply to hold the position until such time that another impulse (=1-bar movement larger than the ATR-hurdle) causes the system to exit. This idea came from watching the charts.

  11. JanWd • 10/05/2017 #

    Tried the code, nice concept, seems to work quit well for US/EUR 2hrs, Other markets seems not to fit very well, at least to what I tried.

  12. JR1976 • 10/05/2017 #

    Simple and nice code , congrats !!!
    Seems work well with TIme frame 1 h

  13. phanz • 10/05/2017 #

    Hi all,
    Sorry revisiting an old post. This algo is simple, and simplicity is the ultimate sophistication. I am wondering if anyone has any adaptation of this strategy? I tried putting a bid on retracement instead of buying straight away at the next candle’s opening. But because this strategy is momentum, pull back is shallow and missing key opportunities. If anyone has more thoughts on this, will appreciate if you can share. Tks.

avatar
Register or

Likes

avatar avatar avatar avatar avatar avatar avatar avatar avatar avatar avatar avatar avatar avatar avatar avatar

+2 more likes

Related users ' posts
Samitha Prasanna Hi ALE, would you be able to provide the values for the below part of the code (time >=1...
Player Bonjour, J'ai testé cette stratégie sur EurUSD en 1 heures sur 10000 unités et le résultat ...
Player Vue du rapport du Backtest https://ibb.co/8BMrBz6
julien1978 The ADR value that is plotted intraday does not match the value of the regular ATR indicator...
Fab666 I've tried to get a fix for this also but no luck, it doesn't print the correct data as far ...
Seabiscuit Hi! With the new PRT update, this indicator does not work anymore
Guibourse Hi ! I am asking once again for your help : would it be possible to use the ATR as a "take p...
Tradingrob Many thanks for the indicator, however if the price is below the indicator, then the indicat...
aldtrading Merci pour ton travail ! J'ai de bons résultats en utilisant cet indicateur
Dimi.A Awesome mate.
mora87 Hi David and Nicola, I'd like to share idea with you guys which is related to David's Idea. ...
Nicolas Please ask for custom coding in forums instead.
Nicolas Use the wrench of the price chart! Upper left of the window
Dymjohn The wrench shows options for the components of the indicator not how to show in the main cha...
Nicolas http://www.prorealcode.com/topic/overlapping-indicators/  
Naren Yanan what is    diplus  diminus  please
Barney Has anyone tested this algon now when PRT 10.3 was released?
Yngve does anyone know if the issue with the TP/SL is resolved ?
JakeDB Answered my own question....Sorry about this question. 5 positions, take profit at 15, loss ...
maxxb sto facendo girare in demo questa strategia modificata a 10 minuti con stop e profit ottimiz...
Manuel9z Hello, this strategy improves with the SL 30 and the TP 10. I have done backtesting and it w...
miguel33 Grazie filippo. sto facendo dei backtest per valutare meglio in diverse situazioni. se tro...
DerPat Hello, If you google, you will find a lot of articles and block posts that clearly show expe...
jens_kittner I would like to inform you that these strategies tested till today (03.05.2019) generates en...
David Thanks for the explanation Nicolas.
freecat1899 Hello, I wanted to create a percent ADR based on this indicator, so I wrote this code that I...
revstrat At first glance, I see this mistake. You shouldn't average the highs and the lows. You shoul...
GraHal Ooops got that excited I sent that last one twice! ha (and can't delete it, sorry) I got it...
Eric n = 3  dont forget to allow 3 contract in proorder
UkCoopDownUnder Tried EURUSD GMT and GMT -1, as far back as I can go, Nov 2018 on 15mn Tf, 22% loss
Doctrading Hello, Someone asked me something (his results seemed to be different) on my email, but it ...
Glen Marquis Not your best..So what is your best strategy? :)
Doctrading It works on ProRealTime CFD, but backtest begins since May 2014
alex224 Hola Andres, buen trabajo. Algun problema por usar la estrategia con acciones en time frame ...
Andres Hola Alex, no lo he probado en otros timeframes, pero con esta configuración específica no c...
Francesco78 does anyone still use this strategy? Seems like it doesnt work anymore
GraHal Hi Francesco78   doesn't work as in not great results? I was just going to give it another g...
GraHal Works good on the DAX @ 30 Sec TF over 100,000 bars ... maybe everything has speeded up by a...
verdi55 At least there should be some moving average that has also reverted into the opposite direct...
verdi55 In addition to the moving average, wait until at least one bar is completely back inside the...
rama This works excellent on range bound I tried , give 90% win rates on dax , 3 min chart. can s...
Doctrading Bonjour, Tu as raison, il faut faire attention à la fiabilité de certains backtests. Le pro...
Duccio Hi DocTrading, I've backtested your strategy and I notice that 75% of position have been cl...
Doctrading Hello,  No, I don't use this strategy on real account, because my own strategies (that you ...
Doctrading Maybe you can also change the hourly beginning of the day (not 23PM but 12AM, OOH in french)...
Duccio Hi Doctrading,there is a way to control the max loss of the positions in this code? For exa...
Doctrading Hello, Yes, there is a command I think, but I don't know it. Nicolas knows it. You can als...
Investment Account Wow great thanks ... looks good! Do I set the colour shades up from within the indicator 's...
avatar
Anonymous Thanks for your comments and yes, that is exactly how I set up the colour levels.
Vish Thanks I have added this in my watch list. Has anyone tried it yet ? Does it work on currenc...
PeterClothier Hi, I downloaded this indicator and imported it. I tried adding it to a chart , and it hasn'...
Nicolas Don't add it on the price, so just don't use the price setting to add the indicator.
Nicolas
9 years ago
petmut Hello all, When I import the code here above "multiple ATR bands" and apply it on the PRT ...
Nicolas That should need some custom coding, if you want to make it done, please open a new topic in...
Patopercho Hello, thanks for the indicator, i would like to change the color, is it possible, thanks

Top