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.
Açık kaynak kodlu komut dosyası
Gerçek TradingView ruhuyla, bu komut dosyasının mimarı, yatırımcıların işlevselliğini inceleyip doğrulayabilmesi için onu açık kaynaklı hale getirdi. Yazarı tebrik ederiz! Ücretsiz olarak kullanabilseniz de, kodu yeniden yayınlamanın Topluluk Kurallarımıza tabi olduğunu unutmayın.
Feragatname
Bilgiler ve yayınlar, TradingView tarafından sağlanan veya onaylanan finansal, yatırım, alım satım veya diğer türden tavsiye veya öneriler anlamına gelmez ve teşkil etmez. Kullanım Koşulları bölümünde daha fazlasını okuyun.
Açık kaynak kodlu komut dosyası
Gerçek TradingView ruhuyla, bu komut dosyasının mimarı, yatırımcıların işlevselliğini inceleyip doğrulayabilmesi için onu açık kaynaklı hale getirdi. Yazarı tebrik ederiz! Ücretsiz olarak kullanabilseniz de, kodu yeniden yayınlamanın Topluluk Kurallarımıza tabi olduğunu unutmayın.
Feragatname
Bilgiler ve yayınlar, TradingView tarafından sağlanan veya onaylanan finansal, yatırım, alım satım veya diğer türden tavsiye veya öneriler anlamına gelmez ve teşkil etmez. Kullanım Koşulları bölümünde daha fazlasını okuyun.