OPEN-SOURCE SCRIPT
업데이트됨

POLY 15M - 15m Zone Overlay

810
15m Zone Overlay — Real-Time 15-Minute Session Highlight with ATR Markers

This indicator highlights the current 15-minute block on a 1-minute chart in real time, dividing each session into three color-coded phases:

🔴 Minutes 1–2 (Entry zone) — Red background 🟢 Minutes 3–12 (Active zone) — Green background 🔴 Minutes 13–15 (Exit zone) — Red background

The overlay is applied only to the current 15-minute window (starting at :00, :15, :30, or :45 of each hour). As new candles appear, the background fills in progressively. When the next 15-min block begins, the previous overlay disappears and a new one starts.

ATR-based markers are displayed below candles within the active block, helping you assess volatility at a glance:

🟠 Orange dot (ATR < 50) — shown under minutes 6–12, indicating low volatility
🔵 Blue square (ATR 51–150) — shown under minutes 4–12, indicating moderate volatility
🟢 Green triangle (ATR > 150) — shown under minutes 2–8, indicating high volatility
Each ATR marker can be toggled on/off individually in the settings.

Additional features:

Dotted vertical line at the start of each 15-min block
Time label (e.g. "14:30") at the block boundary
Customizable zone colors and opacity
Configurable ATR period length
Best used on: 1-minute timeframe Ideal for: Scalpers and short-term traders who structure their entries and exits around fixed 15-minute intervals.
릴리즈 노트
What has changed:

Block ID via pure UTC math: math.floor(time / 900000) vs math.floor(timenow / 900000) — no minute()/second(), no timezone issues
Double protection: a bar is colored only if it is in the same 15-minute block as timenow and is within the last 15 bars from the right edge of the chart
The second condition (bar_index >= last_bar_index - 15) ensures that when the block changes, the old bars will not remain colored — they fall out of the redraw window

면책사항

해당 정보와 게시물은 금융, 투자, 트레이딩 또는 기타 유형의 조언이나 권장 사항으로 간주되지 않으며, 트레이딩뷰에서 제공하거나 보증하는 것이 아닙니다. 자세한 내용은 이용 약관을 참조하세요.