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.
開源腳本
秉持TradingView一貫精神,這個腳本的創作者將其設為開源,以便交易者檢視並驗證其功能。向作者致敬!您可以免費使用此腳本,但請注意,重新發佈代碼需遵守我們的社群規範。
免責聲明
這些資訊和出版物並非旨在提供,也不構成TradingView提供或認可的任何形式的財務、投資、交易或其他類型的建議或推薦。請閱讀使用條款以了解更多資訊。
開源腳本
秉持TradingView一貫精神,這個腳本的創作者將其設為開源,以便交易者檢視並驗證其功能。向作者致敬!您可以免費使用此腳本,但請注意,重新發佈代碼需遵守我們的社群規範。
免責聲明
這些資訊和出版物並非旨在提供,也不構成TradingView提供或認可的任何形式的財務、投資、交易或其他類型的建議或推薦。請閱讀使用條款以了解更多資訊。