OPEN-SOURCE SCRIPT
Key Levels & Sessions

This is a professional-grade institutional key levels indicator designed for day traders who focus on session liquidity and high-volume price levels. The script provides a comprehensive view of the trading day by marking critical boundaries and institutional reference points, all strictly synchronized to the **America/New_York** (EST) timezone.
### **Key Features:**
#### **1. Institutional Daily Levels**
* **Previous Day High (PDH) & Low (PDL):** Marked with solid purple lines, these represent the most basic yet powerful liquidity levels from the prior trading day.
* **Previous Day Point of Control (POC):** A solid white line calculated using a Volume Profile algorithm. It identifies the price level where the most trading activity occurred during the previous session, acting as a "magnet" for price.
#### **2. Global Session Ranges**
* **Asia Session (8:00 PM - 2:00 AM EST):** Plotted in orange. This captures the initial range of the global trading cycle.
* **London Session (4:00 AM - 9:30 AM EST):** Plotted in blue. This identifies the volatility often seen during the European open leading into the New York session.
#### **3. New York 15-Minute Opening Range (ORB)**
* **ORB Box:** Automatically captures the high and low of the first 15 minutes of the New York session (9:30 AM - 9:45 AM EST).
* **Midline Projection:** Features a yellow dashed midline within the ORB box, a critical level often used by traders to determine intraday bias.
#### **4. Dynamic Projection & Cleanup**
* **Extension to Market Close:** Once established, every level (Asia, London, ORB, and PD levels) automatically projects forward to the **5:00 PM EST market close**.
* **Automatic Reset:** To keep your workspace clean and professional, the indicator utilizes an object-tracking system that deletes all drawings from the previous day at exactly 5:00 PM EST, allowing the chart to "reset" for the new Asia session.
* **Right-Anchored Labels:** All levels are clearly labeled on the right side of the chart, ensuring identification is instant without interfering with live price action candles.
### **How to Use:**
This tool is best used on **lower timeframes (1m to 15m)**. Traders often look for price to react at these levels—either as support/resistance or as "liquidity grabs" where price sweeps a session high/low before reversing. The NY ORB box provides a clear breakout or mean-reversion zone for the morning trend.
### **Key Features:**
#### **1. Institutional Daily Levels**
* **Previous Day High (PDH) & Low (PDL):** Marked with solid purple lines, these represent the most basic yet powerful liquidity levels from the prior trading day.
* **Previous Day Point of Control (POC):** A solid white line calculated using a Volume Profile algorithm. It identifies the price level where the most trading activity occurred during the previous session, acting as a "magnet" for price.
#### **2. Global Session Ranges**
* **Asia Session (8:00 PM - 2:00 AM EST):** Plotted in orange. This captures the initial range of the global trading cycle.
* **London Session (4:00 AM - 9:30 AM EST):** Plotted in blue. This identifies the volatility often seen during the European open leading into the New York session.
#### **3. New York 15-Minute Opening Range (ORB)**
* **ORB Box:** Automatically captures the high and low of the first 15 minutes of the New York session (9:30 AM - 9:45 AM EST).
* **Midline Projection:** Features a yellow dashed midline within the ORB box, a critical level often used by traders to determine intraday bias.
#### **4. Dynamic Projection & Cleanup**
* **Extension to Market Close:** Once established, every level (Asia, London, ORB, and PD levels) automatically projects forward to the **5:00 PM EST market close**.
* **Automatic Reset:** To keep your workspace clean and professional, the indicator utilizes an object-tracking system that deletes all drawings from the previous day at exactly 5:00 PM EST, allowing the chart to "reset" for the new Asia session.
* **Right-Anchored Labels:** All levels are clearly labeled on the right side of the chart, ensuring identification is instant without interfering with live price action candles.
### **How to Use:**
This tool is best used on **lower timeframes (1m to 15m)**. Traders often look for price to react at these levels—either as support/resistance or as "liquidity grabs" where price sweeps a session high/low before reversing. The NY ORB box provides a clear breakout or mean-reversion zone for the morning trend.
Open-source script
In true TradingView spirit, the creator of this script has made it open-source, so that traders can review and verify its functionality. Kudos to the author! While you can use it for free, remember that republishing the code is subject to our House Rules.
Disclaimer
The information and publications are not meant to be, and do not constitute, financial, investment, trading, or other types of advice or recommendations supplied or endorsed by TradingView. Read more in the Terms of Use.
Open-source script
In true TradingView spirit, the creator of this script has made it open-source, so that traders can review and verify its functionality. Kudos to the author! While you can use it for free, remember that republishing the code is subject to our House Rules.
Disclaimer
The information and publications are not meant to be, and do not constitute, financial, investment, trading, or other types of advice or recommendations supplied or endorsed by TradingView. Read more in the Terms of Use.