PROTECTED SOURCE SCRIPT

EDGE Session Levels

82
EDGE Session Levels - Comprehensive Intraday Reference Tool
═════════════════════════════════════════════════════════════

OVERVIEW:

EDGE Session Levels automatically plots the most critical price levels that professional traders reference throughout the trading day. This indicator eliminates the need to manually draw or track key session levels, giving you instant visual reference points for support, resistance, and market context.

Designed primarily for futures indices traders (ES, NQ, YM, RTY), this indicator comes pre-configured with the correct session times for equity index futures. However, all time windows are fully customizable, making it adaptable for any futures product including Gold, Crude Oil, Bonds, Stock and more.

═════════════════════════════════════════════════════════════
KEY FEATURES

▸ PRIOR SESSION LEVELS (Yesterday's High & Low)
Displays the previous day's RTH (Regular Trading Hours) high and low. These are among the most watched levels by institutional traders and frequently act as support/resistance zones.

▸ CASH SESSION CLOSE
Plots yesterday's closing price at the end of Regular Trading Hours (default: 3:15 PM CT / 4:15 PM ET). This level represents the final price where cash equity market participants ended their trading day and is a key reference for overnight gap analysis and mean reversion strategies.

▸ CASH SESSION OPEN
Marks today's opening price when the cash equity market opened (default: 8:30 AM CT / 9:30 AM ET). The cash open is a critical level as it represents the first price where stock market participants could execute trades, often leading to significant reactions at this level throughout the session. This time window is fully configurable for traders of other products with different pit open times.

▸ GLOBEX HIGH/LOW (Overnight Range)
Tracks and displays the overnight session's high and low. These levels update dynamically during the Globex session and become fixed once RTH begins. The overnight range often contains price during slower trading periods and breakouts from this range can signal directional momentum.

▸ INITIAL BALANCE (First Hour High/Low)
Captures and displays the high and low of the first hour of trading (8:30-9:30 AM CT). The Initial Balance is a cornerstone of Market Profile theory and is used to gauge whether the market is likely to trend or remain range-bound for the session.

▸ OPENING RANGE BOX
Draws a visual box representing the first 30 seconds of the RTH session. This micro-range can act as an early indication of opening sentiment and potential breakout direction.

═════════════════════════════════════════════════════════════
HOW TO USE THIS INDICATOR

SUPPORT & RESISTANCE
All plotted levels serve as potential support and resistance zones. Watch for price reactions, rejections, or breakouts at these levels to inform your trading decisions.

MARKET CONTEXT
• Trading above prior session levels = bullish context
• Trading below prior session levels = bearish context
• Trading within the overnight range = consolidation/balance
• Breaking out of overnight range = potential trend initiation

INITIAL BALANCE STRATEGY
• Price accepting above IB High = bullish bias for the session
• Price accepting below IB Low = bearish bias for the session
• Price remaining within IB = balanced/rotational day expected

CASH LEVELS
The Cash Open and Cash Close levels are particularly important because they represent where equity market participants (not just futures traders) began and ended their activity. Large institutions often reference these levels for portfolio rebalancing and hedging.

═════════════════════════════════════════════════════════════
CONFIGURATION OPTIONS

Each level group includes the following customization options:

• Display Toggle - Show or hide the entire level group
• Tags Toggle - Show or hide the text labels
• Color Selection - Customize the color of each line
• Line Style - Choose between solid, dashed, or dotted lines
• Line Thickness - Adjust width from 1-4 pixels

═════════════════════════════════════════════════════════════
SESSION TIME SETTINGS

DEFAULT SETTINGS (Equity Index Futures - ES, NQ, YM, RTY):

• Cash Open Window: 08:30-08:31 (8:30 AM CT / 9:30 AM ET)
• Cash Close Window: 15:15-15:16 (3:15 PM CT / 4:15 PM ET)
• Opening Range: 08:30-08:31
• Regular Hours: 08:30-15:15
• Initial Balance: 08:30-09:30

ADJUSTING FOR OTHER PRODUCTS:

If you trade products other than equity index futures, you will need to adjust the session times to match your product's trading hours.

Gold Futures (GC):
• Pit Open: 07:20 CT (8:20 AM ET)
• Adjust Cash Open Window to: 07:20-07:21

Crude Oil Futures (CL):
• Pit Open: 08:00 CT (9:00 AM ET)
• Adjust Cash Open Window to: 08:00-08:01

Treasury Futures (ZB, ZN):
• Pit Open: 07:20 CT (8:20 AM ET)
• Adjust Cash Open Window to: 07:20-07:21

Note: All times in TradingView use the exchange timezone. For CME products, this is Central Time (CT). Adjust the 4-digit time codes accordingly for your specific product and exchange.

═════════════════════════════════════════════════════════════
LEVEL LABELS REFERENCE

• YHi - Yesterday's High
• YLo - Yesterday's Low
• CashCl - Yesterday's Cash Session Close
• CashOpen - Today's Cash Session Open
• ONH - Overnight High (Globex High)
• ONL - Overnight Low (Globex Low)
• IBH - Initial Balance High
• IBL - Initial Balance Low

═════════════════════════════════════════════════════════════
TIMEFRAME RECOMMENDATIONS

This indicator is designed for intraday timeframes. Recommended usage:

• 1-minute to 15-minute charts: All features fully functional
• Hourly charts: Most features work; Opening Range Box may not display
• Daily and above: Indicator will not display (levels are intraday concepts)

For best results, use on 5-minute or 15-minute charts where all levels are clearly visible and price interaction can be easily observed.

═════════════════════════════════════════════════════════════
NOTES

• All levels automatically reset at the start of each new session
• Overnight High/Low levels update dynamically during Globex hours
• The Opening Range Box extends throughout the RTH session for visual reference
• Initial Balance levels appear after the first hour of trading completes

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.