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 • 243 days ago #

    Grazie! it is beautiful indeed

  2. Francesco78 • 237 days ago #

    Made good money today 🙂

  3. JR1976 • 236 days ago #

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

  4. DarioMazza • 231 days ago #

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

  5. Wilko • 229 days ago #

    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 • 229 days ago #

    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 • 227 days ago #

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

  8. JR1976 • 221 days ago #

    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 • 212 days ago #

    Dear Pier,
    Does it work on forex?

  10. bobrenard96 • 172 days ago #

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

    • Nicolas • 171 days ago #

      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 • 148 days ago #

    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 • 110 days ago #

    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 • 104 days ago #

    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
Related users ' posts
juanj This gets me thinking about creating a strategy on the 5min timeframe that only takes trades...
JohnScher Why do i have problems to insert a code with "add prt code" ??
Yannick Hello The problem of the code might the time of the candle if you modifiy by TradingtimeLon...
Yannick TradingDayLong = dayofweek = 1 or dayofweek = 2 or dayofweek = 3 or dayofweek = 4 or dayof...
patrick356 Hi Andreag76, Did you test it in shorter time frames? Any success? / Patrick
lizmerrill re:AverageTrueRange[atrtrailingperiod]((close/10)*pipsize)/1000, can you explain to how the ...
ALE There is not a particular motive, that formula allows to find a relative value of the price,...
2 months ago
larouedegann // ENABLED PARNER 1-0 / ON-OFF ONCE PrEnabled01 = P01 // SWITCH INDICATOR P0...
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...
3 months 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 ...
Nicolas I don't think so.. You can try to make one with the assisted creation tool in ProOrder window.
Stanko Ok. Thanks
thierryp Bonjour Nicolas, merci pour le travail que vous effectuez. Je ne suis vraiment pas bon dans ...
Vieux Marin Hi, What do you think about this ? //--------------------------------------------------...
Inertia Thank you. Sorry, there is a bug on line 52...
Vieux Marin //------------------------------------------------------------------------- // Code princip...
flodefacebook Merci Nicolas pour cet indicateur. Très utile dans une technique de retournement.
danibo Hi Francesco, thank you for replying. I try to be crearer. My question is: - what is the...
JanWd Hi Francesco, nice algorithme, works with me on other markets as well !
Francesco78 thank you Janwd. Do you mind sharing where it works? happy new year!
JM David, Thanks a lot and next week I begin the test of this strategy in real... You have ot...
rejo007 hello david, i'll try it could you tell me wich strategy do you use in real? thanks
David Somogyi Hello, I have a couple of DAX strategies of breakout and mean reversion. I'll try to post...
Nicolas Good job, but I think there is something wrong in the description since trade direction is c...
verdi55 Running a single Renko strategy with a fixed box size is usually not a good idea, because th...
Fabrizio_T Hi, have you tested on the period 30 julay - 30 September 2015?
victormork sorry the code keep on changing when I press post comment. Basically you have to complete th...
Stefan Arens Hi Vicormork, i´am sorry - but it still doesn´t work. I can´t correct the error. Prorealtim...
eltonio8 Hi everyone, can someone explain these lines literaly : if MyBoll >= 50 THEN upBo...
juanj To follow new developments or get the latest version of this strategy please visit the forum...
tahar Hello Juan, I wanted to test Universal Strategy via a demo account on PRT but nothing happen...
BravoDelta @juanj wondering if you may help me please. I am looking for a simply strategy to use on the...
rejo007 C'est à propos de la partie "short" proposée par SimoneDasGupta un peu plus haut dans les co...
Doctrading AH ok, I think the ca3 is the same : ca3 = pB[1] < 0.2 and pB < 0.2 Best regards,
chromosome21 Hello everybody, First, thank you so much for all your advices, I'm a begginer in trading a...
atxeel Real Awesome, thank you man!
rispardin no entiendo como funciana este indicador, por favor alguien podria explicar como utilizarlo???
AVT No se trata de un solo indicador, pero cada linea muestra otra información, de abajo hacia ...