ATR Daily Levels

Plots the daily ATR on the chart as upper and lower levels.

It can be use to adapt your trading in high and low periods of market volatility , determine reasonable target or take profit, entry at likely mean reversion, stop loss beyond normal flows etc...

More on the script behavior:
- Daily ATR upper/lower levels are applied on the current day low/high;
- The ATR value is defined by the last D1 bar;
- Shows up to D1 timeframe;
- Configuration for the indicator's period (default: 20 period ATR);
- Configuration for plotting the indicator on the the x axis with an offset/at begining of the day (default: offset);
Release Notes: Fix input period on ATR.
Release Notes:
  • enable switching daily ATR values between yesterday-today;
  • allow styling of levels at default and overflow states;
  • change display values from fixed to rounded numbers;
Remove from Favorite Scripts Add to Favorite Scripts
I have private indicators too!

Get access to them via:


Hi sbtnc, sorry to bother you. How do i get this indicator? Many thanks
sbtnc conradkhan
@conradkhan, No worries, you can get this indicator directly from the Public Library!
+1 Reply
@sbtnc, Hi! I found out how to use the script! I'm new to tradingview so my apologies in advanced! Thank you (:
Nice code and useful indicator. Thx for sharing.

On testing, I noticed the indicator repaints (changes values in session several times). This I didn't expect, as the levels are static and based on values in the past.
To replicate what I saw, try replay on stock FSLY on 1min
sbtnc nashlow
@nashlow, Thank you !

The ATR may be static but not the levels. For example the upper level is calculated by applying the ATR on the curent day's low, so whenever a new low is made the upper level updates consequently (same goes with the lower level on new daily high).
Thanks for sharing and maintaining this indicator -- I appreciate its front end simplicity. Very useful overall. Cheers!
sbtnc waterslide
@waterslide, Many thanks, truly appreciate it !!
just an observation, This doesnt take the gap up/down into account .. daily ATR level is calculated from the previoud day's close.
sbtnc JNAYAK
@JNAYAK, Thanks, I appreciate your feedback ! Next for me, I'll investigate this.
Home Stock Screener Forex Screener Crypto Screener Economic Calendar How It Works Chart Features Pricing Refer a friend House Rules Help Center Website & Broker Solutions Widgets Charting Solutions Lightweight Charting Library Blog & News Twitter
Profile Profile Settings Account and Billing Referred friends Coins My Support Tickets Help Center Ideas Published Followers Following Private Messages Chat Sign Out