OPEN-SOURCE SCRIPT
已更新 OvernightSession High/Low

Short Description
Plots the Overnight High (ONH) and Overnight Low (ONL) from a configurable overnight session. Levels are projected forward until the first wick touch, with right-side labels shown only for the current trading day to reduce chart clutter.
Long Description
This indicator calculates and plots the Overnight High (ONH) and Overnight Low (ONL) based on a user-defined overnight session.
Once the overnight session ends, both levels are projected forward as horizontal references. Each line remains active until price touches or breaches it with a wick. This helps track how regular trading hours interact with overnight extremes, which many traders use as important reference points for structure, range edges, and liquidity.
To improve chart readability, the script displays right-side labels only for the current trading day. Older labels are automatically hidden, while historical lines and touch markers may still remain visible depending on your settings.
Main features:
Configurable overnight session
Optional regular trading hours session reference
Overnight High and Overnight Low plotting
Current-day labels only on the right side
Adjustable line appearance and marker settings
Historical lookback control
This script is designed as a session-structure visualization tool for traders who want to track overnight range boundaries and later price interaction with those levels.
Disclaimer:
This script is provided strictly for educational and informational purposes only. It does not constitute financial advice, investment advice, trading advice, legal advice, tax advice, or any other professional advice. It is not a recommendation or solicitation to buy, sell, short, cover, enter, exit, or hold any stock, option, future, forex pair, cryptocurrency, index product, or any other financial instrument. The plotted levels are reference points only and are not predictive by themselves. No outcome, profitability, execution quality, or risk reduction is guaranteed. Trading and investing involve substantial risk, including the possible loss of all capital. Users are solely responsible for verifying session settings, interpreting the chart, and making their own independent decisions.
Plots the Overnight High (ONH) and Overnight Low (ONL) from a configurable overnight session. Levels are projected forward until the first wick touch, with right-side labels shown only for the current trading day to reduce chart clutter.
Long Description
This indicator calculates and plots the Overnight High (ONH) and Overnight Low (ONL) based on a user-defined overnight session.
Once the overnight session ends, both levels are projected forward as horizontal references. Each line remains active until price touches or breaches it with a wick. This helps track how regular trading hours interact with overnight extremes, which many traders use as important reference points for structure, range edges, and liquidity.
To improve chart readability, the script displays right-side labels only for the current trading day. Older labels are automatically hidden, while historical lines and touch markers may still remain visible depending on your settings.
Main features:
Configurable overnight session
Optional regular trading hours session reference
Overnight High and Overnight Low plotting
Current-day labels only on the right side
Adjustable line appearance and marker settings
Historical lookback control
This script is designed as a session-structure visualization tool for traders who want to track overnight range boundaries and later price interaction with those levels.
Disclaimer:
This script is provided strictly for educational and informational purposes only. It does not constitute financial advice, investment advice, trading advice, legal advice, tax advice, or any other professional advice. It is not a recommendation or solicitation to buy, sell, short, cover, enter, exit, or hold any stock, option, future, forex pair, cryptocurrency, index product, or any other financial instrument. The plotted levels are reference points only and are not predictive by themselves. No outcome, profitability, execution quality, or risk reduction is guaranteed. Trading and investing involve substantial risk, including the possible loss of all capital. Users are solely responsible for verifying session settings, interpreting the chart, and making their own independent decisions.
版本注释
Short DescriptionPlots the Overnight High (ONH) and Overnight Low (ONL) from a configurable overnight session. Levels are projected forward until the first wick touch, with right-side labels shown only for the current trading day to reduce chart clutter.
Long Description
This indicator calculates and plots the Overnight High (ONH) and Overnight Low (ONL) based on a user-defined overnight session.
Once the overnight session ends, both levels are projected forward as horizontal references. Each line remains active until price touches or breaches it with a wick. This helps track how regular trading hours interact with overnight extremes, which many traders use as important reference points for structure, range edges, and liquidity.
To improve chart readability, the script displays right-side labels only for the current trading day. Older labels are automatically hidden, while historical lines and touch markers may still remain visible depending on your settings.
Main features:
Configurable overnight session
Optional regular trading hours session reference
Overnight High and Overnight Low plotting
Current-day labels only on the right side
Adjustable line appearance and marker settings
Historical lookback control
This script is designed as a session-structure visualization tool for traders who want to track overnight range boundaries and later price interaction with those levels.
Disclaimer:
This script is provided strictly for educational and informational purposes only. It does not constitute financial advice, investment advice, trading advice, legal advice, tax advice, or any other professional advice. It is not a recommendation or solicitation to buy, sell, short, cover, enter, exit, or hold any stock, option, future, forex pair, cryptocurrency, index product, or any other financial instrument. The plotted levels are reference points only and are not predictive by themselves. No outcome, profitability, execution quality, or risk reduction is guaranteed. Trading and investing involve substantial risk, including the possible loss of all capital. Users are solely responsible for verifying session settings, interpreting the chart, and making their own independent decisions.
开源脚本
秉承TradingView的精神,该脚本的作者将其开源,以便交易者可以查看和验证其功能。向作者致敬!您可以免费使用该脚本,但请记住,重新发布代码须遵守我们的网站规则。
免责声明
这些信息和出版物并非旨在提供,也不构成TradingView提供或认可的任何形式的财务、投资、交易或其他类型的建议或推荐。请阅读使用条款了解更多信息。
开源脚本
秉承TradingView的精神,该脚本的作者将其开源,以便交易者可以查看和验证其功能。向作者致敬!您可以免费使用该脚本,但请记住,重新发布代码须遵守我们的网站规则。
免责声明
这些信息和出版物并非旨在提供,也不构成TradingView提供或认可的任何形式的财务、投资、交易或其他类型的建议或推荐。请阅读使用条款了解更多信息。