IvanLabrie

ATR%, ATR Timer and Range Expansion signal

1298 16 134
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.
Refer to Tim West's charts to learn more about range expansion bars.
The idea for the Atr% and Atr timer come from discussions I had with Yacine Kanoun, props to him for his contribution.
Remove from Favorite Scripts Add to Favorite Scripts
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)
Hola Ivan; Cuales son los otros indicators?
Reply
IvanLabrie PRO syracusepro
@syracusepro, revisa los comentarios del thread.
Reply
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:

snapshot
Reply
What do you mean?
ATR is just the range, not used for direction at all.
Reply
ChartArt 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.
Reply
No, just to give a % value, instead of range in points.
Reply
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)
Reply
ChartArt IvanLabrie
Please post a pastebin with the entire final code version. Thank you :)
Reply
Yes, I'll do that.
Reply
kot8822 IvanLabrie
Hello Ivan - have Broblem - script can't work - read 11 -14 line - have broblem ! )) Pls Help !
Reply
United States
United Kingdom
India
Deutschland
France
España
Italia
Polska
Türkiye
Россия
Brasil
Indonesia
Malaysia
Việt Nam
日本
한국
简体
繁體
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
Profile Profile Settings Account and Billing My Support Tickets Priority Support Contact Support Ideas Published Followers Following Private Messages Chat Sign Out