OPEN-SOURCE SCRIPT

ATR TRex [SHK]

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

Plots
You can enable plots from the settings tab and then disable five first plots from the style tabs (finally save as default). Then you can view the ATR result of each candle in the past:
  • Green number is the HL range of the candle.
  • Red number is the ATR of the candle.
  • First black number is the ATR of the 4H chart.
  • Second black number is the ATR of the 1D chart.
  • Third black number is the ATR of the 1W chart.



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
- New label function by RicardoSantos
- Crypto option added for 24H markets
Release Notes
Bug Fixes
Release Notes
Blue plot: Added last candle HL range again.
Release Notes
  • New look with tables.
  • Added APR only working on Crypto and FX.

Release Notes
  • Eng.SL and Hunter.SL added.
  • Incompatible default colors with dark theme now are fixed.
  • Colors can be changed from settings.
  • All drawing sizes can be modified from settings. (Change the sizes for your mobile device)
  • Now crypto and fx markets are automatically detected.
  • Outputs on "BTCUSD(T), FX, Main metals" are now rounded to pips.
Release Notes
  • Added option to disable and enable plots.
  • ATR 3 & 7 added.
Release Notes
Bug fixes.
Release Notes
Bug fixes.
APRATRAverage True Range (ATR)

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