Multiple ATR bands

Multiple ATR bands

Another attempt to centering the price and measuring its derivative value, this time within its ATR with 3 different multipliers. You can play with this multipliers to change the way you can take signals on contrarian trades.



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. Lionel Delamour • 10/11/2015 #

    Hello , when I put the indicator on PRT , it does not turn with the chart but below in a separate window … I do not know why? An idea to help me ? Thank you 🙁

    • Nicolas • 10/11/2015 #

      It’s because you have to put the indicator on price, instead of put it in chart with the indicators button. Someone already asked this type of question on forum :

  2. Lionel Delamour • 10/11/2015 #

     ohhhh yes … thanks a lot mister !  :p

  3. diegofe_2000 • 10/11/2015 #


  4. albertocampagna • 10/11/2015 #

    Ciao Nicolas, inserisco l’indicatore sul prezzo ma purtroppo non succede nulla. Ho provato a pulire il grafico da tutti gli indicatori e a inserire solo questo, ma non funziona, non succede nulla. Cosa può essere secondo te?

    • Nicolas • 10/11/2015 #

      Poiché è necessario caricare abbastanza barre per il calcolo per procedere correttamente. Estendi i tuoi periodi di ricerca del grafico.

    • albertocampagna • 10/11/2015 #

      Fatto, anche con giorni e settimane, ma non succede nulla lo stesso. 

  5. Nicolas • 10/11/2015 #

    Ok, prova questo codice invece:
    if barindex>length then
    ma = exponentialaverage[length](close)
    myrange = range[length]
    rangema = exponentialaverage[atrlen](myrange)

    up1 = ma + rangema * mult1
    up2 = ma + rangema * mult2
    up3 = ma + rangema * mult3

    dn1 = ma - rangema * mult1
    dn2 = ma - rangema * mult2
    dn3 = ma - rangema * mult3

    RETURN ma, up1 COLOURED(202,255,112),up2 COLOURED(202,255,112),up3 COLOURED(202,255,112),dn1 COLOURED(255,127,80),dn2 COLOURED(255,127,80),dn3 COLOURED(255,127,80)

    • albertocampagna • 10/11/2015 #

      Niente da fare, mi dice:
      “Errore di sintassi:
      Definisci la variabile: lenght
      Definisci la variabile: atrien
      Definisci la variabile: mult1
      Definisci la variabile: mult2
      Definisci la variabile: mult3″

  6. Maisam Zaidi • 10/11/2015 #


    Thank you for such an amazing work. However, I’m having some difficulty applying this indicator. It gives me following error (Image link). Can someone please explain what is wrong?
    I have added the length and atrlenght but do not understand the mult1, 2 and 3. Can someone please explain what to do.

    Image link:

    Thank you.


  7. petmut • 10/11/2015 #

    Hello all,
    When I import the code here above “multiple ATR bands” and apply it on the PRT Force Index indicator chart (not on the PRICE chart) it produces a horizontal “0” line, but nothing else appears.
    What should be changed in the here above code to have it be applicable to the Force index indicator chart?
    Thx in advance

    • Nicolas • 10/11/2015 #

      That should need some custom coding, if you want to make it done, please open a new topic in the ProBuilder forum.

  8. Patopercho • 10/11/2015 #

    thanks for the indicator, i would like to change the color, is it possible, thanks

Register or


avatar avatar avatar avatar avatar avatar avatar
Related users ' posts
5 months ago
kats Bonjour, j'ai essayé de faire afficher cet indic en temps 5 mn sur le 1 mn et c'est Hiroshim...
Nicolas Il suffit d'ajouter l'instruction TIMEFRAME(5 minutes,updateonclose) en tête du code
diegofe_2000 cordial saludo Nicolas, una pregunta senciLla : Como coloco un STOPS en un maximo o un mini...
Nicolas Sorry there was a small issue in the code, i have changed the attached itf file and updated ...
Mitchy14 Hi Nicholas, apologies, I am usually fairly good at implementing your creations (for which I...
Nicolas Are you using PRT version pre-v11? TIMEFRAME for indicators is possible since months for pro...
StephFor //ind1 = ZigZagPoint[2*averagetruerange[200]](close) avr = 3 //3% ind1 = ZigZag[avr](close...
Manu L. @Steph un grand merci pour ton aide mais :-( J'ai copier le code tel quel mais cependant j...
AlphaMauss Je n'ai pas réussi à faire fonctionner l'indicateur avec le code fourni en commentaire sur P...
Nicolas Il doit s'agir d'un mauvais copier/coller. Je suggère de télécharger le fichier itf contenu ...
Bard Hello @Nicolas, I can get this to display in a separate indicator panel but not on Price as ...
Stenozar Hi @Nicolas, how can I put the bands on price? Thanks, Stefano
Fabian Hi IV Mcm, have you drawn the rectangles (Dinamic, Range) by yourself in the chart or are...
IV Mcm Myself to illustrate ;)
Nicolas Oui c'est possible. Merci de ne pas poster des demandes qui sont hors sujets. Pour les deman...
Igor Merci pour cet itf. Question : comment faire pour instruire un screener ?
Nicolas tester le croisement du Close avec la première valeur de l'indicateur : "TrailingStop", faci...
Nicolas Poni qui la tua domanda se è correlata a questo indicatore, altrimenti apri un nuovo argomen...
PhilipSchultz Hi Nicolas, can i backtest this indicator? And if so, how do i do it? I have tried, but don´...
Nicolas Sure, use the forums to create a new topic to ask for it Please respect the posting rules ...
mohamed bonjour nicolas! j'aimerais pouvoir changer les couleurs des chandelier directement depuis ...
Nicolas remplacer les valeurs de coloured(0,255,0) par coloured(r,g,b) et ajouter ces noms de variab...
mohamed merci Nicolas!
Nicolas You should open a new topic to discuss about the strategy and its coding.
dvlukic Hello Nicolas, How could plot this indicator over the price series? Thanks Dave
Nicolas Just add it on the price series.
LucioleLucide Clean view, thanks for sharing
dertopen hi where i can found the window for candle configuration?
paolosab69 Ciao! . I have seen the pictures that explain this metod but i don't understand when is mome...
3 years ago
Thomas Como? no intiendo. Can you write in english . It works! Download the itf file.
Thomas New Version comin soon...
3 years ago
juanj I have actually completely redesigned this indicator with loads of improvements, so will res...
Vonasi A modified version of this indicator can be found here: