PROTECTED SOURCE SCRIPT

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

14
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.

คำจำกัดสิทธิ์ความรับผิดชอบ

ข้อมูลและบทความไม่ได้มีวัตถุประสงค์เพื่อก่อให้เกิดกิจกรรมทางการเงิน, การลงทุน, การซื้อขาย, ข้อเสนอแนะ หรือคำแนะนำประเภทอื่น ๆ ที่ให้หรือรับรองโดย TradingView อ่านเพิ่มเติมที่ ข้อกำหนดการใช้งาน