OPEN-SOURCE SCRIPT
SpxSnipper - NY Key Levels: PDH/PDL + PMH/PML + ORH/ORL

NY Session Key Levels is a clean intraday reference tool designed to plot important price levels during the New York regular trading session.
The indicator displays horizontal levels from the regular market open to the regular market close, based on:
• Previous Regular Session High
• Previous Regular Session Low
• Pre-Market High
• Pre-Market Low
• Opening Range High
• Opening Range Low
The Opening Range is calculated using the first 30 minutes of the regular New York session, while the Pre-Market range is calculated only from the period before the regular market open. After-hours data is not included in the pre-market calculation.
Each group of levels uses a separate color for easier visual distinction, and optional labels are displayed on the chart to identify each level.
This tool is intended to help traders visually organize key intraday reference areas. It does not generate buy or sell signals and should not be used as a standalone trading system.
Main features:
• Previous regular session high and low
• Pre-market high and low
• First 30-minute opening range high and low
• Lines plotted only during the regular NY session
• Customizable colors
• Optional labels
• Adjustable line width and style
• Timezone and session inputs
Best used on intraday charts for instruments where New York session levels are relevant.
The indicator displays horizontal levels from the regular market open to the regular market close, based on:
• Previous Regular Session High
• Previous Regular Session Low
• Pre-Market High
• Pre-Market Low
• Opening Range High
• Opening Range Low
The Opening Range is calculated using the first 30 minutes of the regular New York session, while the Pre-Market range is calculated only from the period before the regular market open. After-hours data is not included in the pre-market calculation.
Each group of levels uses a separate color for easier visual distinction, and optional labels are displayed on the chart to identify each level.
This tool is intended to help traders visually organize key intraday reference areas. It does not generate buy or sell signals and should not be used as a standalone trading system.
Main features:
• Previous regular session high and low
• Pre-market high and low
• First 30-minute opening range high and low
• Lines plotted only during the regular NY session
• Customizable colors
• Optional labels
• Adjustable line width and style
• Timezone and session inputs
Best used on intraday charts for instruments where New York session levels are relevant.
Skrip open-source
Dengan semangat TradingView yang sesungguhnya, pembuat skrip ini telah menjadikannya sebagai sumber terbuka, sehingga para trader dapat meninjau dan memverifikasi fungsinya. Salut untuk penulisnya! Meskipun Anda dapat menggunakannya secara gratis, perlu diingat bahwa penerbitan ulang kode ini tunduk pada Tata Tertib kami.
Pernyataan Penyangkalan
Informasi dan publikasi ini tidak dimaksudkan, dan bukan merupakan, saran atau rekomendasi keuangan, investasi, trading, atau jenis lainnya yang diberikan atau didukung oleh TradingView. Baca selengkapnya di Ketentuan Penggunaan.
Skrip open-source
Dengan semangat TradingView yang sesungguhnya, pembuat skrip ini telah menjadikannya sebagai sumber terbuka, sehingga para trader dapat meninjau dan memverifikasi fungsinya. Salut untuk penulisnya! Meskipun Anda dapat menggunakannya secara gratis, perlu diingat bahwa penerbitan ulang kode ini tunduk pada Tata Tertib kami.
Pernyataan Penyangkalan
Informasi dan publikasi ini tidak dimaksudkan, dan bukan merupakan, saran atau rekomendasi keuangan, investasi, trading, atau jenis lainnya yang diberikan atau didukung oleh TradingView. Baca selengkapnya di Ketentuan Penggunaan.