OPEN-SOURCE SCRIPT
업데이트됨 Ultra Single Session +Alerts [1CG]

Ultra Single Session +Alerts
Session Range, Trade Windows, and Alerts
Overview
Ultra Single Session +Alerts marks a single trading session on your chart, tracks that session’s high and low, and helps you watch for breaks when price moves away from the session range.
It’s made for traders who want accurate session levels across timeframes, optional trade windows, and alerts that don’t fire outside the times they care about.
Session Display
During the session, the indicator can draw a box to show the session range. It also draws the Session High and Session Low levels. After the session ends, those levels can stay on the chart so you can reference them later.

Sessions
Choose a preset session (London / New York / Asia / cross sessions) or set your own start and end times. Time zone handling is included so the session stays aligned to the clock you expect.
Customization
Most visual elements can be adjusted so it fits your chart:

Line Extensions
You can control how the High/Low lines behave:
Trade Windows
Trade windows are optional time blocks you define. When enabled, the script can mark the window boundaries (and optionally highlight the background) so it’s easy to see when your “allowed trading time” is active.

Alerts
Alerts trigger from breaks of the Session High or Session Low. You can choose one of these modes:
Higher Timeframe Accuracy
To keep the session high/low accurate on higher timeframes, the indicator uses 1-minute data for session tracking. This helps prevent missed highs/lows that can happen when a session starts or ends inside a larger candle.

Daily Sessions
You can also use this for daily session templates (for example midnight-to-midnight, or market open-to-close) to track daily ranges and daily breaks using the same workflow.

Help / Feedback
If you need help setting this up, notice something that looks wrong, or have an idea for improvements, feel free to message me.
Session Range, Trade Windows, and Alerts
Overview
Ultra Single Session +Alerts marks a single trading session on your chart, tracks that session’s high and low, and helps you watch for breaks when price moves away from the session range.
It’s made for traders who want accurate session levels across timeframes, optional trade windows, and alerts that don’t fire outside the times they care about.
Session Display
During the session, the indicator can draw a box to show the session range. It also draws the Session High and Session Low levels. After the session ends, those levels can stay on the chart so you can reference them later.
Sessions
Choose a preset session (London / New York / Asia / cross sessions) or set your own start and end times. Time zone handling is included so the session stays aligned to the clock you expect.
Customization
Most visual elements can be adjusted so it fits your chart:
- Colors for box/lines/background
- Line style (solid/dotted/dashed) and thickness
- Labels (show/hide) and text settings
- Box fill options
- History options (if enabled)
Line Extensions
You can control how the High/Low lines behave:
- Where the lines begin (from price behavior vs from the session start, depending on your settings)
- How far they extend after the session
- Optional “frontrun”/projection behavior (if enabled)
- Optional history display for prior sessions (if enabled)
Trade Windows
Trade windows are optional time blocks you define. When enabled, the script can mark the window boundaries (and optionally highlight the background) so it’s easy to see when your “allowed trading time” is active.
Alerts
Alerts trigger from breaks of the Session High or Session Low. You can choose one of these modes:
- On Break: alerts on the first touch/break of the level.
- Close Out: alerts only when a candle closes beyond the level.
- Close In (Sweep): alerts when price breaks the level but closes back inside the session range.
Trade Window Gating: If trade window gating is enabled, alerts only fire when the break happens inside your trade window(s).
Higher Timeframe Accuracy
To keep the session high/low accurate on higher timeframes, the indicator uses 1-minute data for session tracking. This helps prevent missed highs/lows that can happen when a session starts or ends inside a larger candle.
Daily Sessions
You can also use this for daily session templates (for example midnight-to-midnight, or market open-to-close) to track daily ranges and daily breaks using the same workflow.
Help / Feedback
If you need help setting this up, notice something that looks wrong, or have an idea for improvements, feel free to message me.
- Questions about settings or getting it to match your session times
- Bug reports (please include symbol, timeframe, and your session/trade window settings)
- Interest in a version that supports more sessions
릴리즈 노트
Small update to fix an issue with 24/7 instruments not displaying correctly. 오픈 소스 스크립트
트레이딩뷰의 진정한 정신에 따라, 이 스크립트의 작성자는 이를 오픈소스로 공개하여 트레이더들이 기능을 검토하고 검증할 수 있도록 했습니다. 작성자에게 찬사를 보냅니다! 이 코드는 무료로 사용할 수 있지만, 코드를 재게시하는 경우 하우스 룰이 적용된다는 점을 기억하세요.
면책사항
해당 정보와 게시물은 금융, 투자, 트레이딩 또는 기타 유형의 조언이나 권장 사항으로 간주되지 않으며, 트레이딩뷰에서 제공하거나 보증하는 것이 아닙니다. 자세한 내용은 이용 약관을 참조하세요.
오픈 소스 스크립트
트레이딩뷰의 진정한 정신에 따라, 이 스크립트의 작성자는 이를 오픈소스로 공개하여 트레이더들이 기능을 검토하고 검증할 수 있도록 했습니다. 작성자에게 찬사를 보냅니다! 이 코드는 무료로 사용할 수 있지만, 코드를 재게시하는 경우 하우스 룰이 적용된다는 점을 기억하세요.
면책사항
해당 정보와 게시물은 금융, 투자, 트레이딩 또는 기타 유형의 조언이나 권장 사항으로 간주되지 않으며, 트레이딩뷰에서 제공하거나 보증하는 것이 아닙니다. 자세한 내용은 이용 약관을 참조하세요.