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.
نص برمجي محمي
تم نشر هذا النص البرمجي كمصدر مغلق. ومع ذلك، يمكنك استخدامه بحرية ودون أي قيود - تعرف على المزيد هنا.
إخلاء المسؤولية
لا يُقصد بالمعلومات والمنشورات أن تكون، أو تشكل، أي نصيحة مالية أو استثمارية أو تجارية أو أنواع أخرى من النصائح أو التوصيات المقدمة أو المعتمدة من TradingView. اقرأ المزيد في شروط الاستخدام.
نص برمجي محمي
تم نشر هذا النص البرمجي كمصدر مغلق. ومع ذلك، يمكنك استخدامه بحرية ودون أي قيود - تعرف على المزيد هنا.
إخلاء المسؤولية
لا يُقصد بالمعلومات والمنشورات أن تكون، أو تشكل، أي نصيحة مالية أو استثمارية أو تجارية أو أنواع أخرى من النصائح أو التوصيات المقدمة أو المعتمدة من TradingView. اقرأ المزيد في شروط الاستخدام.