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 🙁
    http://hpics.li/aca8539

    • 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 :
      http://www.prorealcode.com/topic/display-of-custom-indicators/

  2. Lionel Delamour • 10/11/2015 #

     ohhhh yes … thanks a lot mister !  :p

  3. diegofe_2000 • 10/11/2015 #

    GRACIAS, MUY BUEN INDICADOR
    ¿PUEDES SACAR MAS INDICADORES DE BANDAS?
    PARA MI SON LOS MEJORES PARA HACER SISTEMAS
     

  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
    endif

    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 #

    Hello,

    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:
    https://ibb.co/cL2Sid

    Thank you.

    Regards,
    Maisam

  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
    Peter

    • 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 #

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

avatar
Register or

Likes

avatar avatar avatar avatar avatar avatar avatar
Related users ' posts
Iván
2 months ago
Sever
2 years ago
Xenotrax A première vue, sa à l'air d'être un indicateur très puissant sur de petites temporalités, j...
merri Bonjour Nicolas, Comment transformer cet indicateur en bot sur PRT ?
Nicolas Cela a déjà été fait, voir ce sujet: https://www.prorealcode.com/topic/strategia-con-lindica...
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...
supertiti Bonjour Nicolas, Je ne comprend pas bien , le trend change de couleur quand les prix sont a...
Nicolas Oui ce serait possible, cependant l'indicateur est bien prévu pour conserver la couleur de l...
supertiti Quand tu pourras si tu peux nous coder la troisième couleur cela améliorerait les trades cou...
Nicolas remplacer les valeurs de coloured(0,255,0) par coloured(r,g,b) et ajouter ces noms de variab...
mohamed merci Nicolas!
sacram14 Merci Nicolas pour ce set-up que je ne connaissais pas ! J'ai tenté de reprendre le code pou...
Nicolas Just add it on the price series.
yomisadiku Hello Nicolas, Can I use high and low price at lines hh=max(hh,close) and ll=min(ll,close) ...
Nicolas Yes you can do that, the impact will be that the trailing stop line will be much close to th...

Top