OPEN-SOURCE SCRIPT
Key Levels by fehzy

Key Levels draws the price levels intraday traders usually mark by hand, as dotted lines that start at the candle where each level formed and extend past current price, with labels.
LEVELS
- Day High/Low (live) and Previous Day High/Low (PDH/PDL)
- Week High/Low (live) and Previous Week High/Low (PWH/PWL)
- Asia, London and New York session High/Low
- Daily Open, Weekly Open, and Market Open price (default 09:30 New York) with an optional vertical line
HOW IT WORKS
- Session presets: Full sessions (Tokyo 09:00-18:00 Tokyo time, London 08:00-17:00 London time, New York 08:00-17:00 NY time), ICT killzones (Asia 20:00-00:00, London 02:00-05:00, NY 07:00-10:00, all NY time), or Custom times with a separate timezone per session. Each session runs on its own clock, so levels stay correct during the weeks when US and UK daylight saving dates differ.
- Session highs/lows update live while a session is open and freeze when it closes.
- Day/week boundary option: chart daily candle, NY 17:00, NY midnight, or UTC 00:00, so PDH/PDL can match the daily candles of the broker you actually trade on.
- Swept levels option: once price trades through a completed level (PDH/PDL, PWH/PWL, session H/L), the line can keep extending, stop at the sweep candle, or be hidden.
- Session resets also work on charts without overnight data (a long data gap starts a new session).
HOW TO USE
Apply on a 15m or lower chart. Choose the session preset and day boundary that match your market and broker. Use the levels as reference zones for liquidity and reactions. The script does not generate buy or sell signals.
LIMITATIONS
- Sessions are designed for 15m and lower. On 1H, a 09:30 start falls inside the 09:00 candle.
- Only the most recent instance of each level is drawn, not past days.
- Day and session levels show on intraday charts only. Weekly levels show on intraday and daily.
- Labels can overlap when two levels share the same price.
LEVELS
- Day High/Low (live) and Previous Day High/Low (PDH/PDL)
- Week High/Low (live) and Previous Week High/Low (PWH/PWL)
- Asia, London and New York session High/Low
- Daily Open, Weekly Open, and Market Open price (default 09:30 New York) with an optional vertical line
HOW IT WORKS
- Session presets: Full sessions (Tokyo 09:00-18:00 Tokyo time, London 08:00-17:00 London time, New York 08:00-17:00 NY time), ICT killzones (Asia 20:00-00:00, London 02:00-05:00, NY 07:00-10:00, all NY time), or Custom times with a separate timezone per session. Each session runs on its own clock, so levels stay correct during the weeks when US and UK daylight saving dates differ.
- Session highs/lows update live while a session is open and freeze when it closes.
- Day/week boundary option: chart daily candle, NY 17:00, NY midnight, or UTC 00:00, so PDH/PDL can match the daily candles of the broker you actually trade on.
- Swept levels option: once price trades through a completed level (PDH/PDL, PWH/PWL, session H/L), the line can keep extending, stop at the sweep candle, or be hidden.
- Session resets also work on charts without overnight data (a long data gap starts a new session).
HOW TO USE
Apply on a 15m or lower chart. Choose the session preset and day boundary that match your market and broker. Use the levels as reference zones for liquidity and reactions. The script does not generate buy or sell signals.
LIMITATIONS
- Sessions are designed for 15m and lower. On 1H, a 09:30 start falls inside the 09:00 candle.
- Only the most recent instance of each level is drawn, not past days.
- Day and session levels show on intraday charts only. Weekly levels show on intraday and daily.
- Labels can overlap when two levels share the same price.
오픈 소스 스크립트
트레이딩뷰의 진정한 정신에 따라, 이 스크립트의 작성자는 이를 오픈소스로 공개하여 트레이더들이 기능을 검토하고 검증할 수 있도록 했습니다. 작성자에게 찬사를 보냅니다! 이 코드는 무료로 사용할 수 있지만, 코드를 재게시하는 경우 하우스 룰이 적용된다는 점을 기억하세요.
면책사항
해당 정보와 게시물은 금융, 투자, 트레이딩 또는 기타 유형의 조언이나 권장 사항으로 간주되지 않으며, 트레이딩뷰에서 제공하거나 보증하는 것이 아닙니다. 자세한 내용은 이용 약관을 참조하세요.
오픈 소스 스크립트
트레이딩뷰의 진정한 정신에 따라, 이 스크립트의 작성자는 이를 오픈소스로 공개하여 트레이더들이 기능을 검토하고 검증할 수 있도록 했습니다. 작성자에게 찬사를 보냅니다! 이 코드는 무료로 사용할 수 있지만, 코드를 재게시하는 경우 하우스 룰이 적용된다는 점을 기억하세요.
면책사항
해당 정보와 게시물은 금융, 투자, 트레이딩 또는 기타 유형의 조언이나 권장 사항으로 간주되지 않으며, 트레이딩뷰에서 제공하거나 보증하는 것이 아닙니다. 자세한 내용은 이용 약관을 참조하세요.