OPEN-SOURCE SCRIPT
업데이트됨 Key Levels: PDH/PDL + ONH/ONL + PWH/PWL + PMH/PML

A clean, no-repaint indicator that plots the most important reference levels traders watch every session — anchored exactly at the candle that made each high or low, with right-side labels showing the price.
Levels included:
PDH / PDL — Previous Day High & Low, calculated strictly from your chosen Regular Trading Hours session (default 0930-1600 ET), so overnight wicks don't contaminate the levels
PDC — Previous Day Close (optional), anchored at the actual 4:00 PM RTH close
ONH / ONL — Overnight High & Low, with a fully customizable session window (default 2000-0400 ET, ending before pre-market). The lines paint live during the overnight session, expanding as new highs/lows print, then freeze in place when the session ends
PWH / PWL — Previous Week High & Low
PMH / PML — Previous Month High & Low
Features:
Per-level toggles, colors, line widths (1–5), styles (solid / dashed / dotted), and transparency
Each line is anchored at the actual wick that created the high or low — no floating horizontals
Only one set of lines on the chart at any time — clean and uncluttered
Right-side labels with the level name and exact price
Configurable session timezone (defaults to America/New_York)
Adjustable right-extension distance
Uses time-based anchoring, so it works on every timeframe from 1-minute up to daily without bar-limit errors
No repainting — previous-period values freeze the moment a new period begins
Levels included:
PDH / PDL — Previous Day High & Low, calculated strictly from your chosen Regular Trading Hours session (default 0930-1600 ET), so overnight wicks don't contaminate the levels
PDC — Previous Day Close (optional), anchored at the actual 4:00 PM RTH close
ONH / ONL — Overnight High & Low, with a fully customizable session window (default 2000-0400 ET, ending before pre-market). The lines paint live during the overnight session, expanding as new highs/lows print, then freeze in place when the session ends
PWH / PWL — Previous Week High & Low
PMH / PML — Previous Month High & Low
Features:
Per-level toggles, colors, line widths (1–5), styles (solid / dashed / dotted), and transparency
Each line is anchored at the actual wick that created the high or low — no floating horizontals
Only one set of lines on the chart at any time — clean and uncluttered
Right-side labels with the level name and exact price
Configurable session timezone (defaults to America/New_York)
Adjustable right-extension distance
Uses time-based anchoring, so it works on every timeframe from 1-minute up to daily without bar-limit errors
No repainting — previous-period values freeze the moment a new period begins
릴리즈 노트
-Added "Show Price on Label" toggle: choose whether labels display the price value next to the level name-Set all line widths to default to 1 for a cleaner look — users can still increase any line up to width 5 in its individual style settings
오픈 소스 스크립트
트레이딩뷰의 진정한 정신에 따라, 이 스크립트의 작성자는 이를 오픈소스로 공개하여 트레이더들이 기능을 검토하고 검증할 수 있도록 했습니다. 작성자에게 찬사를 보냅니다! 이 코드는 무료로 사용할 수 있지만, 코드를 재게시하는 경우 하우스 룰이 적용된다는 점을 기억하세요.
면책사항
해당 정보와 게시물은 금융, 투자, 트레이딩 또는 기타 유형의 조언이나 권장 사항으로 간주되지 않으며, 트레이딩뷰에서 제공하거나 보증하는 것이 아닙니다. 자세한 내용은 이용 약관을 참조하세요.
오픈 소스 스크립트
트레이딩뷰의 진정한 정신에 따라, 이 스크립트의 작성자는 이를 오픈소스로 공개하여 트레이더들이 기능을 검토하고 검증할 수 있도록 했습니다. 작성자에게 찬사를 보냅니다! 이 코드는 무료로 사용할 수 있지만, 코드를 재게시하는 경우 하우스 룰이 적용된다는 점을 기억하세요.
면책사항
해당 정보와 게시물은 금융, 투자, 트레이딩 또는 기타 유형의 조언이나 권장 사항으로 간주되지 않으며, 트레이딩뷰에서 제공하거나 보증하는 것이 아닙니다. 자세한 내용은 이용 약관을 참조하세요.