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.
הערות שחרור
settings in englishסקריפט קוד פתוח
ברוח האמיתית של TradingView, יוצר הסקריפט הזה הפך אותו לקוד פתוח, כך שסוחרים יוכלו לעיין בו ולאמת את פעולתו. כל הכבוד למחבר! אמנם ניתן להשתמש בו בחינם, אך זכור כי פרסום חוזר של הקוד כפוף ל־כללי הבית שלנו.
כתב ויתור
המידע והפרסומים אינם מיועדים להיות, ואינם מהווים, ייעוץ או המלצה פיננסית, השקעתית, מסחרית או מכל סוג אחר המסופקת או מאושרת על ידי TradingView. קרא עוד ב־תנאי השימוש.
סקריפט קוד פתוח
ברוח האמיתית של TradingView, יוצר הסקריפט הזה הפך אותו לקוד פתוח, כך שסוחרים יוכלו לעיין בו ולאמת את פעולתו. כל הכבוד למחבר! אמנם ניתן להשתמש בו בחינם, אך זכור כי פרסום חוזר של הקוד כפוף ל־כללי הבית שלנו.
כתב ויתור
המידע והפרסומים אינם מיועדים להיות, ואינם מהווים, ייעוץ או המלצה פיננסית, השקעתית, מסחרית או מכל סוג אחר המסופקת או מאושרת על ידי TradingView. קרא עוד ב־תנאי השימוש.