OPEN-SOURCE SCRIPT

ATR TRex [ipooya]

Updated
To appreciate dear Mr.Khakestar efforts I have converted his mt4 ATR formula to pine script. All credits go to him.

you can view the ATR result of each candle in the past:
The first black number is the ATR of the M1 chart.
The second black number is the ATR of the M5chart.
The third black number is the ATR of the M15 chart.
The fourth black number is the ATR of the H1 chart.
The fifth black number is the ATR of the H4 chart.
The sixth black number is the ATR of the Daily chart.
The seventh black number is the ATR of the Weekly chart.

**and the second number of every line is live ATR ( current ATR candle)

What makes this ATR formula so different?
This formula invented by Mr.Khakestar and it shows the power of the price to move in each cycle of the chart. We can use it in RTM strategy and Price Action trading. To learn how to use it you need to learn TRex strategy (Presented by Mr.Khakestart for free in Persian).

Release Notes
** Change formula of price to pip.
**Added Tavan Harakati ( TH)


The first Number is TH
The second number is TR
the third Number is Live TR

if you have any idea or question contact me

Special thanks to dear Mr.Khakestar and All credits go to him.
Release Notes
New Update:
** Customize box
** Calculate Stop and TP
** Classification candle by candle size
Release Notes
-You can customize the box position right now.
-Special thanks to Shayankm
actionATRatrtrexAverage True Range (ATR)ipooyapriceTREXtriggerVolatility

Open-source script

In true TradingView spirit, the author of this script has published it open-source, so traders can understand and verify it. Cheers to the author! You may use it for free, but reuse of this code in publication is governed by House rules. You can favorite it to use it on a chart.

Want to use this script on a chart?

Disclaimer