OPEN-SOURCE SCRIPT
ที่อัปเดต: Pre-Market + Previous Day High/Low

Pre-Market & Previous Day High/Low (PMH · PML · PDH · PDL)
This indicator automatically plots four key intraday reference levels as horizontal lines that extend to the right, each with its own label:
• PMH / PML — Pre-Market High and Low, calculated over the 04:00 to 09:29 range (New York time).
• PDH / PDL — Previous Day High and Low, calculated over the regular session of the prior day, from 09:30 to 15:59 (New York time).
The indicator always displays only the most recent set of levels. When a new pre-market begins or a new regular session closes, the previous levels are removed and the current ones are drawn. Each line originates at the candle that produced the extreme and projects forward, serving as support/resistance zones and breakout reference points.
CUSTOMIZABLE
• Line width and style (dotted, dashed or solid).
• Independent color for each level.
• Configurable session hours.
USAGE NOTES
• Works on intraday timeframes (1m, 5m, 15m, etc.).
• Enable Extended Trading Hours on your chart so the pre-market range is calculated correctly.
• All times use the New York time zone, so the levels adjust automatically regardless of your chart's time zone.
Ideal for opening-range traders, breakout strategies and anyone trading off key market levels.
This indicator automatically plots four key intraday reference levels as horizontal lines that extend to the right, each with its own label:
• PMH / PML — Pre-Market High and Low, calculated over the 04:00 to 09:29 range (New York time).
• PDH / PDL — Previous Day High and Low, calculated over the regular session of the prior day, from 09:30 to 15:59 (New York time).
The indicator always displays only the most recent set of levels. When a new pre-market begins or a new regular session closes, the previous levels are removed and the current ones are drawn. Each line originates at the candle that produced the extreme and projects forward, serving as support/resistance zones and breakout reference points.
CUSTOMIZABLE
• Line width and style (dotted, dashed or solid).
• Independent color for each level.
• Configurable session hours.
USAGE NOTES
• Works on intraday timeframes (1m, 5m, 15m, etc.).
• Enable Extended Trading Hours on your chart so the pre-market range is calculated correctly.
• All times use the New York time zone, so the levels adjust automatically regardless of your chart's time zone.
Ideal for opening-range traders, breakout strategies and anyone trading off key market levels.
Release Note
settings in englishสคริปต์แบบโอเพนซอร์ส
ด้วยเจตนารมณ์หลักของ TradingView ผู้สร้างสคริปต์นี้ได้ทำให้เป็นโอเพนซอร์ส เพื่อให้เทรดเดอร์สามารถตรวจสอบและยืนยันฟังก์ชันการทำงานของมันได้ ขอชื่นชมผู้เขียน! แม้ว่าคุณจะใช้งานได้ฟรี แต่โปรดจำไว้ว่าการเผยแพร่โค้ดซ้ำจะต้องเป็นไปตาม กฎระเบียบการใช้งาน ของเรา
คำจำกัดสิทธิ์ความรับผิดชอบ
ข้อมูลและบทความไม่ได้มีวัตถุประสงค์เพื่อก่อให้เกิดกิจกรรมทางการเงิน, การลงทุน, การซื้อขาย, ข้อเสนอแนะ หรือคำแนะนำประเภทอื่น ๆ ที่ให้หรือรับรองโดย TradingView อ่านเพิ่มเติมใน ข้อกำหนดการใช้งาน
สคริปต์แบบโอเพนซอร์ส
ด้วยเจตนารมณ์หลักของ TradingView ผู้สร้างสคริปต์นี้ได้ทำให้เป็นโอเพนซอร์ส เพื่อให้เทรดเดอร์สามารถตรวจสอบและยืนยันฟังก์ชันการทำงานของมันได้ ขอชื่นชมผู้เขียน! แม้ว่าคุณจะใช้งานได้ฟรี แต่โปรดจำไว้ว่าการเผยแพร่โค้ดซ้ำจะต้องเป็นไปตาม กฎระเบียบการใช้งาน ของเรา
คำจำกัดสิทธิ์ความรับผิดชอบ
ข้อมูลและบทความไม่ได้มีวัตถุประสงค์เพื่อก่อให้เกิดกิจกรรมทางการเงิน, การลงทุน, การซื้อขาย, ข้อเสนอแนะ หรือคำแนะนำประเภทอื่น ๆ ที่ให้หรือรับรองโดย TradingView อ่านเพิ่มเติมใน ข้อกำหนดการใช้งาน