PROTECTED SOURCE SCRIPT
First X Hours Weekly High/Low (Custom Week Start)

How it works
You define the weekday, hour, and UTC offset for your week start.
Defaults: Monday, 01:00, UTC+1 → exactly your request.
Script converts bar times to that “local” clock, finds the week’s start timestamp, and uses it to:
detect the new week,
define the first X hours window, and
record the high/low inside that window and draw horizontal lines after it closes.
You define the weekday, hour, and UTC offset for your week start.
Defaults: Monday, 01:00, UTC+1 → exactly your request.
Script converts bar times to that “local” clock, finds the week’s start timestamp, and uses it to:
detect the new week,
define the first X hours window, and
record the high/low inside that window and draw horizontal lines after it closes.
Script protégé
Ce script est publié en source fermée. Toutefois, vous pouvez l'utiliser librement et sans aucune restriction - en savoir plus ici.
Clause de non-responsabilité
Les informations et les publications ne sont pas destinées à être, et ne constituent pas, des conseils ou des recommandations en matière de finance, d'investissement, de trading ou d'autres types de conseils fournis ou approuvés par TradingView. Pour en savoir plus, consultez les Conditions d'utilisation.
Script protégé
Ce script est publié en source fermée. Toutefois, vous pouvez l'utiliser librement et sans aucune restriction - en savoir plus ici.
Clause de non-responsabilité
Les informations et les publications ne sont pas destinées à être, et ne constituent pas, des conseils ou des recommandations en matière de finance, d'investissement, de trading ou d'autres types de conseils fournis ou approuvés par TradingView. Pour en savoir plus, consultez les Conditions d'utilisation.