PROTECTED SOURCE SCRIPT
15 M ORB

A timeframe-independent Opening Range Breakout indicator that builds the 15-minute OR (or any custom duration) from the start of a defined session and keeps the levels visible until the session closes.
What it does:
* Uses a user-defined trading session (default 15:30–22:00 CET).
* Starts the OR window based on time offset from the session open (e.g. 0 minutes).
* Tracks High and Low during the OR window and calculates the midpoint (ORB MID).
* Draws a filled box for the OR window if enabled.
* Extends High, Low, and optional Mid lines from the end of the OR window until the session ends.
* Adds customizable labels (ORB HIGH, MID, LOW) with adjustable X/Y offsets.
* Freezes all drawings at session end and resets automatically at the next session.
Main inputs:
* Session (Berlin): defines the active trading session.
* OR window: offset from session open and duration in minutes.
* Box styling: fill color, opacity, border color, and width.
* Lines: High/Low visibility, color, width, and style (solid, dashed, dotted).
* Mid line: separate control for color, width, and style.
* Labels: custom text, color, size, and position offsets.
Logic overview:
1. Detects when the defined session starts and ends.
2. During the OR window, continuously updates the session’s High and Low.
3. When the window closes, it locks these levels, computes the midpoint, and draws the box, lines, and labels.
4. Lines extend dynamically until session close, after which all drawings remain fixed until the next session.
This indicator is for visual analysis only and does not generate trade signals or execute trades.
What it does:
* Uses a user-defined trading session (default 15:30–22:00 CET).
* Starts the OR window based on time offset from the session open (e.g. 0 minutes).
* Tracks High and Low during the OR window and calculates the midpoint (ORB MID).
* Draws a filled box for the OR window if enabled.
* Extends High, Low, and optional Mid lines from the end of the OR window until the session ends.
* Adds customizable labels (ORB HIGH, MID, LOW) with adjustable X/Y offsets.
* Freezes all drawings at session end and resets automatically at the next session.
Main inputs:
* Session (Berlin): defines the active trading session.
* OR window: offset from session open and duration in minutes.
* Box styling: fill color, opacity, border color, and width.
* Lines: High/Low visibility, color, width, and style (solid, dashed, dotted).
* Mid line: separate control for color, width, and style.
* Labels: custom text, color, size, and position offsets.
Logic overview:
1. Detects when the defined session starts and ends.
2. During the OR window, continuously updates the session’s High and Low.
3. When the window closes, it locks these levels, computes the midpoint, and draws the box, lines, and labels.
4. Lines extend dynamically until session close, after which all drawings remain fixed until the next session.
This indicator is for visual analysis only and does not generate trade signals or execute trades.
受保护脚本
此脚本以闭源形式发布。 但是,您可以自由使用它,没有任何限制 — 在此处了解更多信息。
免责声明
这些信息和出版物并不意味着也不构成TradingView提供或认可的金融、投资、交易或其它类型的建议或背书。请在使用条款阅读更多信息。
受保护脚本
此脚本以闭源形式发布。 但是,您可以自由使用它,没有任何限制 — 在此处了解更多信息。
免责声明
这些信息和出版物并不意味着也不构成TradingView提供或认可的金融、投资、交易或其它类型的建议或背书。请在使用条款阅读更多信息。