OPEN-SOURCE SCRIPT
已更新

ATR Levels - Current Candle Open [MTF]

1 102
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
版本注释
updated code to match same as previous candle open so that candle zone is highlighted.
版本注释
added 0.25 ATR level
added column PIERCE on info table to check how many times did price pierced thru level of ATR

免责声明

这些信息和出版物并非旨在提供,也不构成TradingView提供或认可的任何形式的财务、投资、交易或其他类型的建议或推荐。请阅读使用条款了解更多信息。