# ATR%, ATR Timer and Range Expansion signal

1986 17
These 3 indicators can be really useful.
The usage is fairly straightforward, if you understand price action, having an statistical edge like these provide can be useful.
The idea for the Atr% and Atr timer come from discussions I had with Yacine Kanoun, props to him for his contribution.
```study(title="ATR%", shorttitle="ATR%", overlay=false)
source = close
length = input(1, minval=1, title = "EMA Length")
atrlen = input(10, minval=1, title = "ATR Length")
ma = ema(source, length)
range =  tr
rangema = ema(range, atrlen)

atrp = (rangema/ma)*100
avg = ema(atrp,30)
plot(atrp, color=black)
plot(avg, color=maroon)```
can you explain how to use this indicator ... i dont see any ref on internet regarding Yacine Kanoun... anything art is always interesting, you never know what you might stumble upon
Hola Ivan; Cuales son los otros indicators?
syracusepro
@syracusepro, revisa los comentarios del thread.
Thank you for sharing this ATR indicator.

My suggestion would be to also plot the inverse with *-1 because ATR is always confusing. You never know the direction unless you compare price and ATR manually. Example:

ChartArt
What do you mean?
ATR is just the range, not used for direction at all.
IvanLabrie
Ok, I thought this %ATR modification had the intention to give it some direction, similar to the %B or %R indicators. Then I was wrong.
ChartArt
No, just to give a % value, instead of range in points.
Came out wrong:

study("R.E.Signal", overlay=true)
rangeup = close+tr
rangedown = close-tr
over() => high > rangeup and close > open
under() => low < rangedown and close < open
barcolor(over() ? green: under() ? red : na)
IvanLabrie
Please post a pastebin with the entire final code version. Thank you :)
ChartArt
Yes, I'll do that.
EN English
EN English (UK)
EN English (IN)
DE Deutsch
FR Français
ES Español
IT Italiano
PL Polski
SV Svenska
TR Türkçe
RU Русский
PT Português
ID Bahasa Indonesia
MS Bahasa Melayu
TH ภาษาไทย
VI Tiếng Việt
JA 日本語
KO 한국어
ZH 简体中文
ZH 繁體中文
AR العربية
Home Stock Screener Forex Signal Finder Cryptocurrency Signal Finder Economic Calendar How It Works Chart Features House Rules Moderators Website & Broker Solutions Widgets Stock Charting Library Feature Request Blog & News FAQ Help & Wiki Twitter