OPEN-SOURCE SCRIPT
Mis à jour 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.
Notes de version
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.
Script open-source
Dans l'esprit TradingView, le créateur de ce script l'a rendu open source afin que les traders puissent examiner et vérifier ses fonctionnalités. Bravo à l'auteur! Bien que vous puissiez l'utiliser gratuitement, n'oubliez pas que la republication du code est soumise à nos Règles.
Clause de non-responsabilité
Les informations et publications ne sont pas destinées à être, et ne constituent pas, des conseils ou recommandations financiers, d'investissement, de trading ou autres fournis ou approuvés par TradingView. Pour en savoir plus, consultez les Conditions d'utilisation.
Script open-source
Dans l'esprit TradingView, le créateur de ce script l'a rendu open source afin que les traders puissent examiner et vérifier ses fonctionnalités. Bravo à l'auteur! Bien que vous puissiez l'utiliser gratuitement, n'oubliez pas que la republication du code est soumise à nos Règles.
Clause de non-responsabilité
Les informations et publications ne sont pas destinées à être, et ne constituent pas, des conseils ou recommandations financiers, d'investissement, de trading ou autres fournis ou approuvés par TradingView. Pour en savoir plus, consultez les Conditions d'utilisation.