OPEN-SOURCE SCRIPT
Mis à jour Daily ATR Box

Daily ATR Box
This indicator plots a dynamic ATR-based price box anchored to key daily levels, giving you a clean visual range target directly on your chart.
How It Works
The box is sized by the Daily ATR (Average True Range) multiplied by a user-defined multiplier, so the range always reflects current volatility. You choose what price level anchors the box, and the indicator handles the rest — placing the box either above or below the anchor depending on the mode selected.
Anchor Modes
Previous Day High — Box top sits at PDH, extending downward by one ATR. Useful for gauging how far price may retrace after reclaiming the prior high.
Previous Day Low — Box bottom sits at PDL, extending upward by one ATR. Great for measuring bounce potential off prior lows.
Premarket High — Box top sits at the current session's premarket high (4:00 AM – 9:30 AM ET), extending downward. Updates live during premarket and locks at the open.
Premarket Low — Box bottom sits at the current session's premarket low, extending upward. Updates live during premarket and locks at the open.
Current Close — Box floats with the current bar's close. Useful for intraday range projection.
Manual Price — Set any price level as the anchor for full custom control.
Features
ATR length and multiplier are fully adjustable
Drag Offset input lets you shift the box up or down freely without changing the anchor
Box width adjustable in bars
Optional right extension to project the zone forward
Customizable fill and border colors
Label displays the live ATR value, anchor mode, anchor price, and offset
Box Top, Box Bottom, PDH, PDL, Premarket High, and Premarket Low all plotted to the Data Window for easy reference
Recommended Usage
Works on any timeframe but is designed around the daily ATR, so it is most useful on intraday charts (1m – 15m) where the daily range provides meaningful context. Pair it with your existing support/resistance levels or volume profile to identify high-probability reaction zones within the expected daily range.
Notes de version
Updated to include the current day's high and low price.Script open-source
Dans l'esprit TradingView, le créateur de ce script l'a rendu open source afin que les traders puissent examiner et vérifier ses fonctionnalités. Bravo à l'auteur! Bien que vous puissiez l'utiliser gratuitement, n'oubliez pas que la republication du code est soumise à nos Règles.
Clause de non-responsabilité
Les informations et publications ne sont pas destinées à être, et ne constituent pas, des conseils ou recommandations financiers, d'investissement, de trading ou autres fournis ou approuvés par TradingView. Pour en savoir plus, consultez les Conditions d'utilisation.
Script open-source
Dans l'esprit TradingView, le créateur de ce script l'a rendu open source afin que les traders puissent examiner et vérifier ses fonctionnalités. Bravo à l'auteur! Bien que vous puissiez l'utiliser gratuitement, n'oubliez pas que la republication du code est soumise à nos Règles.
Clause de non-responsabilité
Les informations et publications ne sont pas destinées à être, et ne constituent pas, des conseils ou recommandations financiers, d'investissement, de trading ou autres fournis ou approuvés par TradingView. Pour en savoir plus, consultez les Conditions d'utilisation.