OPEN-SOURCE SCRIPT
Aktualisiert 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.
Versionshinweise
settings in englishOpen-source Skript
Ganz im Sinne von TradingView hat dieser Autor sein/ihr Script als Open-Source veröffentlicht. Auf diese Weise können nun auch andere Trader das Script rezensieren und die Funktionalität überprüfen. Vielen Dank an den Autor! Sie können das Script kostenlos verwenden, aber eine Wiederveröffentlichung des Codes unterliegt unseren Hausregeln.
Haftungsausschluss
Die Informationen und Veröffentlichungen sind nicht als Finanz-, Anlage-, Handels- oder andere Arten von Ratschlägen oder Empfehlungen gedacht, die von TradingView bereitgestellt oder gebilligt werden, und stellen diese nicht dar. Lesen Sie mehr in den Nutzungsbedingungen.
Open-source Skript
Ganz im Sinne von TradingView hat dieser Autor sein/ihr Script als Open-Source veröffentlicht. Auf diese Weise können nun auch andere Trader das Script rezensieren und die Funktionalität überprüfen. Vielen Dank an den Autor! Sie können das Script kostenlos verwenden, aber eine Wiederveröffentlichung des Codes unterliegt unseren Hausregeln.
Haftungsausschluss
Die Informationen und Veröffentlichungen sind nicht als Finanz-, Anlage-, Handels- oder andere Arten von Ratschlägen oder Empfehlungen gedacht, die von TradingView bereitgestellt oder gebilligt werden, und stellen diese nicht dar. Lesen Sie mehr in den Nutzungsbedingungen.