IDNR2 pattern strategy on DAX 1 h

IDNR2 pattern strategy on DAX 1 h

I just wrote this strategy

It works very well on dax 1 h

It is based on the IDNR pattern with 2 periods instead of 4

As filter It uses the following: the squeze of the bollinger band (band width < lowest[period]) , adx > min and atr[1] > atr[period]

As trailing stop I used a code that I found in this library

It does not seem over fitted because changing parameters the result remains good and also It seems to work quite well on FTSE MIB 1 h too

However It seem to me that It makes too few trades on the historic that I have available to be sure of its reliability

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?

New! PRC is also now on YouTube, subscribe to our channel for exclusive content and tutorials

  1. Francesco78 • 06/14/2017 #

    Grazie! it is beautiful indeed

  2. Francesco78 • 06/14/2017 #

    Made good money today 🙂

  3. JR1976 • 06/14/2017 #

    IT’ s seems intersting Code 
    Could be more interesting if someone has a back test since before 2013  ?

  4. DarioMazza • 06/14/2017 #

     It work very well, thank u so much for share it

  5. Wilko • 06/14/2017 #

    I hate to potentially spoil the party, but the concept appeared so interesting that I decided tp test it on several other major developed market equity indices (without any spreads and/or commissions). Unfortunately I can report that it appears to be almost consistently negative, to such a degree that I am tempted to test it in reversal.

  6. Wilko • 06/14/2017 #

    First of all, many thanks for sharing! These shares are much appreciated.
    I hate to potentially spoil the party, but the concept appeared so interesting that I decided tp test it on several other major developed market equity indices (without any spreads and/or commissions). Unfortunately I can report that it appears to be almost consistently negative, to such a degree that I am tempted to test it in reversal.

  7. CKW • 06/14/2017 #

    Thanks Pier!
    Excellent! I add the SL capped at 0.8% for safety purpose. The Backtest performance is still very good .

  8. JR1976 • 06/14/2017 #

    Dear Pier , 
    your screenshot which rappresent the backtest , is since dec 2009 , but the equity curve in other picture is from 2013
    DO you have the equity line wich rappresente the algo code  before  2013  ?
    nice work

  9. CKW • 06/14/2017 #

    Dear Pier,
    Does it work on forex?

  10. bobrenard96 • 06/14/2017 #

    sorry, but your strategie doesn’t work.
    When i implement the file, i have the error : backtest.limit.optimisation.occurrence.teasing

    • Nicolas • 06/14/2017 #

      It’s a platform error, nothing to deal with the code. Did you tried to download the itf file and import it rather than copy paste it?

  11. gackeen • 06/14/2017 #

    Scusa Pier, scusate tutti, sono nuovo. Ho caricato il file e mi viene restituito il messaggio “Il suo Probacktest supera il limite di occorrenze per l’ottimizzazione Walf Forward” .

  12. JR1976 • 06/14/2017 #

    HI Nicolas ,
    I tried to copy paste but not import directly and the code works well
    I have a question about the code, because , did’t appears the equity line from 2009 .
    Do you have the possibility to show it ? ( the author doesn’r response)

  13. mcosta • 06/14/2017 #

    This code doesn’t work on 10.3 platform(IG), neither with copy/paste nor with itf import, any suggestion?

Register or


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

+2 more likes

Related users ' posts
lokbuscas is it possible to make a screener with this conditions??? thank you
achel I believe so but I leave it to Nicolas to decide if it is possible
Nicolas Please open a new topic in the screeners forum
Paul Thanks GraHal for the suggestion. I will open a topic for the strategy. Dany, there are sti...
Paul updates are posted in topic below
eugenio buongiorno paolo , volevo farti i complimenti x il lavoro fatto , funziona molto bene sul 3 ...
4 months ago
Bebbo Thank you for your contribution. I have tested your system on some instruments and I like i...
Nicolas Thank you Xusto. Thank you a lot for your contribution :) Since your code is a Pathfinder'...
Xusto Hello, Fully Agree, I will update it with your advice. Btw Can would you like share you co...
Leo Does it opens pending orders?... maybe they were not trigger.
Mattzi Dont know, all i can see is that it opened an order yesterday in backtest but not live. Th...
Jean-Christophe Hello Leo, when running the strategy from 29/12/2015 to 31/08/2018 on ProRealTime Premium, I...
Petersson Kristian Hi when I do back test I get 0 results, what do I do wrong? Trade Well Chris
JohnScher Yes i did before, see library/strategys/repulse and dpo
JohnScher Don't know what you're doing wrong. Import ITF and observe time zone settings. This should...
osupero posiciones largas por ahora
shawnybaby Hi great screener. I am quite new, is it possible to have this screener so it specifies the ...
JanWd Hey Doctrading, I tried your code, optimising the A and V and the RSI period, see below. ...
Glen Marquis This will work as there is plenty of room for the Target before the Stop, yet the Stop would...
magicT I did a copy and paste of this code and PRT 10.3 returns a synthax mistake: OneTradePerD...
FULVIO09 Attualmente non c'è sufficiente volatilità : la condizione "C0 = AverageTrueRange[1500](Clos...
vlongobardo67 Ma io intendevo in backtest ! Scusa non l’ho menzionato.
ciniselloftse salve fulvio .il trading sistem e sempre profittevole?
beeb Hallo Dominik, das mit dem deutsch schreiben kommt mir sehr gelegen. Komme auch aus Deutschl...
vlongobardo67 hi Beeb, I imported the file in my platform but is does open any order. What is wrong , wha...
fserra Ciao, scusami ma non mi esegue il back test, da cosa può dipendere? Grazie
juanj This gets me thinking about creating a strategy on the 5min timeframe that only takes trades...
GraHal I noted above does okay on DAX 10 min with even a reduction to 30 of the Stop Loss. I've s...
Kris75 Hi Grahal, What about making the same great work you did with the snipet on google doc but...
Yannick TradingDayLong = dayofweek = 1 or dayofweek = 2 or dayofweek = 3 or dayofweek = 4 or dayof...
Marlon Hey JohnScher, your code works fine, but my results aren't as good as yours. Even if I use ...
DarioMazza Bha... this code dont work. gg
lumarino Qual é então a sua Estrategia de eleição ALE??
ALE Nasdaq!
12 months ago
ALE P01 , it’s the first patner of the indicator, I hope to add others in future.
ALE We can discuss about the strategy here:
Alai-n Merci pour ce travail...
patmaba merci Alai-n. C'est ma première participation sur prorealcode, merci pour à toi pour ton co...
Yannick Hello There is a mistake in trailing stop code, I think that this should fix the problem s...
Paul About the trailing-stop the way it's coded. That works for backtesting only, just look at th...
Jonny sorry paul, but system says that is not possible to put many stop order combined...what have...
1 year ago
TempusFugit Thanks Bin, nice code, I can use several ideas of the way you build it
DarioMazza Thanks Bin, great concentration, i understand the first idea, but may u indicate me the asse...
Bin Hi Mazza This robot is optimized for DAX30.
swapping Oups nicolas ! je pense que tu a oublié de mettre les variables "setting" accessible en exte...
Nicolas Je viens de vérifier, elles y sont pourtant?
swapping Mea culpa, j'ai fait un bête (copier/coller) et forcément cela ne pouvait pas y être puisqu'...
TempusFugit Masala, thanks for your contribution. I don´t like the offmarket spreads neither ;) I unders...
Uveus Tempus, me da un error al validar el codigo, sobre la variable N. Al crear el indicador me ...
TempusFugit Hi Uveus, I am guessing you inserted the code of the indicator into the system code, is ...