OPEN-SOURCE SCRIPT
Обновлено

Daily ATR Box

325




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.
Информация о релизе
Updated to include the current day's high and low price.

Отказ от ответственности

Информация и публикации не предназначены для предоставления и не являются финансовыми, инвестиционными, торговыми или другими видами советов или рекомендаций, предоставленных или одобренных TradingView. Подробнее читайте в Условиях использования.