OPEN-SOURCE SCRIPT
Aggiornato 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.
Note di rilascio
settings in englishScript open-source
Nello spirito di TradingView, l'autore di questo script lo ha reso open source, in modo che i trader possano esaminarne e verificarne la funzionalità. Complimenti all'autore! Sebbene sia possibile utilizzarlo gratuitamente, ricordiamo che la ripubblicazione del codice è soggetta al nostro Regolamento.
Declinazione di responsabilità
Le informazioni e le pubblicazioni non sono intese come, e non costituiscono, consulenza o raccomandazioni finanziarie, di investimento, di trading o di altro tipo fornite o approvate da TradingView. Per ulteriori informazioni, consultare i Termini di utilizzo.
Script open-source
Nello spirito di TradingView, l'autore di questo script lo ha reso open source, in modo che i trader possano esaminarne e verificarne la funzionalità. Complimenti all'autore! Sebbene sia possibile utilizzarlo gratuitamente, ricordiamo che la ripubblicazione del codice è soggetta al nostro Regolamento.
Declinazione di responsabilità
Le informazioni e le pubblicazioni non sono intese come, e non costituiscono, consulenza o raccomandazioni finanziarie, di investimento, di trading o di altro tipo fornite o approvate da TradingView. Per ulteriori informazioni, consultare i Termini di utilizzo.