OPEN-SOURCE SCRIPT
Atualizado Average Daily Range by Blem

Average Daily Range (ADR) Indicator
Displays the Average Daily Range of any instrument directly on your chart as a clean, screen-anchored overlay — accurate on any timeframe from 1-minute to weekly.
What it shows:
1. Average Daily Range — the N-day average of daily high-low ranges (default 14 days)
2. ADR Remaining — how much of today's average range is still uncovered, useful for setting intraday targets (optional, can be toggled off)
How it works:
ADR is calculated using actual daily candle data regardless of the timeframe you are viewing, so the value is always consistent and accurate.
Fully customizable:
• ADR lookback period
• Screen position (9 combinations — top/middle/bottom × left/center/right)
• Background color, text color, text size
• ADR Remaining color thresholds (green when range remains, red when nearly exhausted)
• Toggle ADR Remaining on/off
How to use:
Traders use ADR to understand how much movement to expect in a session. When ADR Remaining is high, there is still room for the move to continue. When it approaches zero, the daily range is nearly complete and momentum may fade.
ADR is a statistical generalization based on past price behavior.
On any given day, price may fall short of the average, or exceed it significantly. It should never be treated as a guaranteed target or a hard boundary.
Use it as a general reference for expected daily movement, not as a precise prediction.
Displays the Average Daily Range of any instrument directly on your chart as a clean, screen-anchored overlay — accurate on any timeframe from 1-minute to weekly.
What it shows:
1. Average Daily Range — the N-day average of daily high-low ranges (default 14 days)
2. ADR Remaining — how much of today's average range is still uncovered, useful for setting intraday targets (optional, can be toggled off)
How it works:
ADR is calculated using actual daily candle data regardless of the timeframe you are viewing, so the value is always consistent and accurate.
Fully customizable:
• ADR lookback period
• Screen position (9 combinations — top/middle/bottom × left/center/right)
• Background color, text color, text size
• ADR Remaining color thresholds (green when range remains, red when nearly exhausted)
• Toggle ADR Remaining on/off
How to use:
Traders use ADR to understand how much movement to expect in a session. When ADR Remaining is high, there is still room for the move to continue. When it approaches zero, the daily range is nearly complete and momentum may fade.
ADR is a statistical generalization based on past price behavior.
On any given day, price may fall short of the average, or exceed it significantly. It should never be treated as a guaranteed target or a hard boundary.
Use it as a general reference for expected daily movement, not as a precise prediction.
Notas de Lançamento
Here's the updated description reflecting all the current features:Average Daily Range (ADR) Indicator
Displays the Average Daily Range of any instrument on your chart as a clean, screen-anchored overlay — accurate on any timeframe from 1-minute to weekly.
What it shows
Average Daily Range — N-day average of daily high-low ranges (default 14 days)
ADR Used — how much of the ADR has been consumed from today's open (optional)
ADR Remaining — how much range can still be expected in the current direction from current price (optional)
ADR Lines — horizontal lines on the chart marking the projected ADR high and low levels for the day (optional)
Important — this is an average, not a target
ADR is a statistical generalization based on past price behavior. On any given day price may fall short of the average or exceed it significantly. Use it as a general reference for expected daily movement, not as a precise prediction.
Script de código aberto
Em verdadeiro espírito do TradingView, o criador deste script o tornou de código aberto, para que os traders possam revisar e verificar sua funcionalidade. Parabéns ao autor! Embora você possa usá-lo gratuitamente, lembre-se de que a republicação do código está sujeita às nossas Regras da Casa.
Aviso legal
As informações e publicações não se destinam a ser, e não constituem, conselhos ou recomendações financeiras, de investimento, comerciais ou de outro tipo fornecidos ou endossados pela TradingView. Leia mais nos Termos de Uso.
Script de código aberto
Em verdadeiro espírito do TradingView, o criador deste script o tornou de código aberto, para que os traders possam revisar e verificar sua funcionalidade. Parabéns ao autor! Embora você possa usá-lo gratuitamente, lembre-se de que a republicação do código está sujeita às nossas Regras da Casa.
Aviso legal
As informações e publicações não se destinam a ser, e não constituem, conselhos ou recomendações financeiras, de investimento, comerciais ou de outro tipo fornecidos ou endossados pela TradingView. Leia mais nos Termos de Uso.