OPEN-SOURCE SCRIPT
Updated

ATR Levels - Current Candle Open [MTF]

773
a further improvement from the first version of the script. My intent is to look at 4H ATR levels meanwhile being on 5m or 1m.
Let me know if you have any questions or any suggestions to improve.


Multi-Timeframe Support

Anchor to any timeframe (e.g., 240 for 4H, D for Daily)
Leave blank to use chart's timeframe

ATR Levels

24 configurable levels (0.5 - 12.0 ATR)
4 groups for easy management
Bull color (default: teal) / Bear color (default: orange)
Adjustable line width
Optional level labels
Levels start at current HTF candle open, extend right

Live Extension Display

NOW row shows real-time UP/DN extension in ATR units
Updates as price moves within current HTF candle

Anchor Marker

Line + crosshair at current HTF open
Configurable colors (label bg, text, line)
Adjustable label offset (0-100 bars)

Statistics Table

REACH / REACT / REACT % for levels 0.5-3.0 ATR
Color-coded: green ≥50%, orange 30-50%, red <30%
Position: bottom-right
Size: Normal/Large/Huge
Release Notes
updated code to match same as previous candle open so that candle zone is highlighted.
Release Notes
added 0.25 ATR level
added column PIERCE on info table to check how many times did price pierced thru level of ATR

Disclaimer

The information and publications are not meant to be, and do not constitute, financial, investment, trading, or other types of advice or recommendations supplied or endorsed by TradingView. Read more in the Terms of Use.