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 protegido
Este script se publica como código cerrado. Sin embargo, puede utilizarlo libremente y sin limitaciones: obtenga más información aquí.
Exención de responsabilidad
La información y las publicaciones que ofrecemos, no implican ni constituyen un asesoramiento financiero, ni de inversión, trading o cualquier otro tipo de consejo o recomendación emitida o respaldada por TradingView. Puede obtener información adicional en las Condiciones de uso.
Script protegido
Este script se publica como código cerrado. Sin embargo, puede utilizarlo libremente y sin limitaciones: obtenga más información aquí.
Exención de responsabilidad
La información y las publicaciones que ofrecemos, no implican ni constituyen un asesoramiento financiero, ni de inversión, trading o cualquier otro tipo de consejo o recomendación emitida o respaldada por TradingView. Puede obtener información adicional en las Condiciones de uso.