Double ATR trend indicator

v10.3
Double ATR trend indicator

Sharing a trend indicator, based upon the ATR of the ATR:  the double ATR trend indicator.

(not knowing if this indicator already exists)

The indicator is smoother then regular averages with the same period setting.

The double ATR trend indicator is calculated as follows:

DATR = Averagetruerange[Period](Averagetruerange[Period](Close))

For detecting the more general trend, the DATR is also calculated on a double period:

DATR2 = Averagetruerange[Period*2](Averagetruerange[Period*2](Close))

The default period setting is 15, the indicator should be added to the graph (like moving averages).  For comparison a 15 bars moving average is added.

Possibly the double ATR trend indicator on a double period could be used as a moving stop loss

As with most trend indicators, this indicator works well in a trending market, but not so well in a non trending, zigzagging market.

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. Screw27 • 05/02/2020 #

    Hi man, I installed the indicator and i don’t know why but my graph it is so big

  2. HelixKing • 05/02/2020 #

    sounds interesting I’ll take a look

avatar
Register or

Likes

avatar avatar avatar avatar avatar avatar avatar avatar avatar avatar avatar avatar avatar avatar avatar
Related users ' posts
murre87 Wich timeframe and index are used in your picture?
Johann Hi Roberto, Thank you for the work but how do you get the indicator to change color from gre...
Nicolas There is no specific file for MAC. Download the itf file and import it into your platform by...
jerome777 bonjour merci pour le partage !!!! je débute dans les codes , j ai une question je les l i...
Nicolas Il faut l'ajouter sur le prix avec l'icône de la clé situé en haut à gauche du graphique du ...
Nicolas change the last line with: return v coloured(r,g,b) style(line,2), v+band coloured(168,168,1...
Paolo.B Thanks ... works as i wanted.
Kanamax Bonjour Nicolas, comme Paolo.B je souhaiterais utiliser cette indicateur au sein d'un code. ...
zilliq Thanks @Nicolas. I tried to use it as Trend in a proorder system, but don't know why, it doe...
Suzu Yuk He is right. MT and mavgMT are not defined and causing errors.....
Emperor.it "style(line,2)" C'è una guida ai parametri che si possono modificare ? Tipo stile della lin...
IV Mcm https://www.prorealcode.com/programming-with-prorealtime/
AK27 Bonjour pensez vous qu'il est possible de creer un screener par rapport à cet indicateur, qu...
Daniele Maddaluno Bien sûr, vous pouvez écrire quelque chose comme ceci dans un screener: torben = CALL "T...
AK27 merci Daniele vous êtes top, vous pensez qu'il est plus judicieux d'utiliser un screener de ...
Manu L. defparam drawonlastbaronly = true //fractals cp = lookback if high[cp] >= highest[(c...
Manu L. C'est cette partie qui ne s'affiche plus //support/resistance if showSR then DRAWHLINE...
Nicolas C'est dans ce sujet: https://www.prorealcode.com/topic/trendline-une-approche-du-trading/ M...
IV Mcm The use of this indicator is however logical, it gives you potential movement departures dep...
Nicolas The updated version (v2) is available to download and discuss in this forum thread: https://...
IV Mcm Thanks Nicolas
jissey Bjr Nicolas, merci pour cet indicateur interessant, mais en le recopiant pour creer un progr...
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 ...
Guillaume Mcm I gave the above message fix ;)
Tradingrob Is it possible to put the itf-file in the right way here in Prorealcode? so the right 'trend...
Guillaume Mcm Update link ;) https://www.prorealcode.com/topic/trend-histogramme-cci-mise-a-jour-suite-...
Godo Bonjour Souhait Sam, Après de nombreux essais pour le mettre en format afin d'utiliser ce c...
Nicolas Il faut supprimer celles qui existent dans la fenêtre d'optimisation et les créer en dur dan...
crusoe76 hi there, anyone can help making this strategy work, i have a message saying replace variabl...
Screw27 Salut nicolas j'aimerais savoir tes résulats grace a cettte methode
eva.g.forsgren It dose not work, I get a strap instead of candels???????????????????????????????????????????
Nicolas That indicator is the one below the chart. The indicator to put on the price chart is this o...
pyhrus Erratum : je veux parler de la version V10.3 , bien sur ...
pyhrus P.S : IG , que j'ai contacté ,m'indique que la version V11 , ne sera pas disponible avant un...
Hasardeur Dear Nicolas, is there someting at the arry to modify in order to run the trend at the actu...
Nicolas Bien sûr, pourquoi pas ?
ribes65 Bonjour Nicolas, Merci pour votre travail. Est-il envisageable de créer un screener pour ...
Nicolas Bien sûr, merci de formuler une demande dans le forum des screeners pour prorealtime. En res...
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 ...
Nicolas How to import file page: in the help section of the website explains howto
kenssa import through the indicator page/window in the Proreal time
chicoteca Buenas, no consigo que se me muestre en el chart de DAX. ¿Cómo procedo? Gracias.-

Top