OPEN-SOURCE SCRIPT
Custom Open Line

Daily Open Line (Custom Timezone)
Plots a horizontal line at a user-defined daily open time with full timezone control. Designed to work across equities, futures, forex, and crypto without being locked to a specific exchange session.
Most “daily open” indicators are hardcoded to New York time. This script removes that limitation and lets you define exactly what “open” means for your market.
The script includes customizable timezone selection such as Chicago, New York, London, and UTC, along with adjustable open hour and minute inputs. The default is set to 08:30 Central Time, which aligns with the 09:30 Eastern equity market open. Users can modify this to match any session including London open, Asia open, or forex rollover.
Each day, the script detects the bar matching the selected time and plots a horizontal line at that bar’s open price. The line extends forward and remains on the chart based on the selected lookback period. Visual settings such as line color, width, and style are fully customizable, and an optional label can display the exact open price.
This tool is useful for tracking key intraday levels, identifying directional bias relative to the open, and supporting price action strategies such as mean reversion or breakout trading. It also allows traders to align different markets using a consistent time reference.
This script works best on intraday timeframes such as 1-minute to 15-minute charts. On higher timeframes, the exact open bar may not exist depending on the data feed. For forex and crypto markets, users should select a timezone and time that matches their specific trading model.
Plots a horizontal line at a user-defined daily open time with full timezone control. Designed to work across equities, futures, forex, and crypto without being locked to a specific exchange session.
Most “daily open” indicators are hardcoded to New York time. This script removes that limitation and lets you define exactly what “open” means for your market.
The script includes customizable timezone selection such as Chicago, New York, London, and UTC, along with adjustable open hour and minute inputs. The default is set to 08:30 Central Time, which aligns with the 09:30 Eastern equity market open. Users can modify this to match any session including London open, Asia open, or forex rollover.
Each day, the script detects the bar matching the selected time and plots a horizontal line at that bar’s open price. The line extends forward and remains on the chart based on the selected lookback period. Visual settings such as line color, width, and style are fully customizable, and an optional label can display the exact open price.
This tool is useful for tracking key intraday levels, identifying directional bias relative to the open, and supporting price action strategies such as mean reversion or breakout trading. It also allows traders to align different markets using a consistent time reference.
This script works best on intraday timeframes such as 1-minute to 15-minute charts. On higher timeframes, the exact open bar may not exist depending on the data feed. For forex and crypto markets, users should select a timezone and time that matches their specific trading model.
Open-source Skript
Ganz im Sinne von TradingView hat dieser Autor sein/ihr Script als Open-Source veröffentlicht. Auf diese Weise können nun auch andere Trader das Script rezensieren und die Funktionalität überprüfen. Vielen Dank an den Autor! Sie können das Script kostenlos verwenden, aber eine Wiederveröffentlichung des Codes unterliegt unseren Hausregeln.
Haftungsausschluss
Die Informationen und Veröffentlichungen sind nicht als Finanz-, Anlage-, Handels- oder andere Arten von Ratschlägen oder Empfehlungen gedacht, die von TradingView bereitgestellt oder gebilligt werden, und stellen diese nicht dar. Lesen Sie mehr in den Nutzungsbedingungen.
Open-source Skript
Ganz im Sinne von TradingView hat dieser Autor sein/ihr Script als Open-Source veröffentlicht. Auf diese Weise können nun auch andere Trader das Script rezensieren und die Funktionalität überprüfen. Vielen Dank an den Autor! Sie können das Script kostenlos verwenden, aber eine Wiederveröffentlichung des Codes unterliegt unseren Hausregeln.
Haftungsausschluss
Die Informationen und Veröffentlichungen sind nicht als Finanz-, Anlage-, Handels- oder andere Arten von Ratschlägen oder Empfehlungen gedacht, die von TradingView bereitgestellt oder gebilligt werden, und stellen diese nicht dar. Lesen Sie mehr in den Nutzungsbedingungen.