OPEN-SOURCE SCRIPT
Cập nhật 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.
Phát hành các Ghi chú
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.
Mã nguồn mở
Theo đúng tinh thần TradingView, tác giả của tập lệnh này đã công bố nó dưới dạng mã nguồn mở, để các nhà giao dịch có thể xem xét và xác minh chức năng. Chúc mừng tác giả! Mặc dù bạn có thể sử dụng miễn phí, hãy nhớ rằng việc công bố lại mã phải tuân theo Nội quy.
Thông báo miễn trừ trách nhiệm
Thông tin và các ấn phẩm này không nhằm mục đích, và không cấu thành, lời khuyên hoặc khuyến nghị về tài chính, đầu tư, giao dịch hay các loại khác do TradingView cung cấp hoặc xác nhận. Đọc thêm tại Điều khoản Sử dụng.
Mã nguồn mở
Theo đúng tinh thần TradingView, tác giả của tập lệnh này đã công bố nó dưới dạng mã nguồn mở, để các nhà giao dịch có thể xem xét và xác minh chức năng. Chúc mừng tác giả! Mặc dù bạn có thể sử dụng miễn phí, hãy nhớ rằng việc công bố lại mã phải tuân theo Nội quy.
Thông báo miễn trừ trách nhiệm
Thông tin và các ấn phẩm này không nhằm mục đích, và không cấu thành, lời khuyên hoặc khuyến nghị về tài chính, đầu tư, giao dịch hay các loại khác do TradingView cung cấp hoặc xác nhận. Đọc thêm tại Điều khoản Sử dụng.