sXSuite  ·  Instruction Manual

sXPreMarket

Pre-market sector rotation scanner. Reads all 15 SPDR sectors before the bell and shows gap %, relative gap vs SPY, gap/ATR, and volume multiplier.

Complementary Tool Phase 01 / ScanTradingView Indicatorv1
01 / Overview

Key Features

→ Setup RequiredRun sXPreMarket on a 1m, 5m, or 15m chart. Enable Extended Trading Hours in chart settings (right-click → Settings → Symbol → Extended Trading Hours ✓). This must be ON for pre-market data to appear.
🌅
15-Sector Pre-Market Scanner
Reads all 15 SPDR sector ETFs in pre-market and displays gap %, relative strength vs SPY, and volume data in one table.
📊
Gap % Column
Shows how far each sector has gapped from its previous close (or overnight reference). Positive = gap up, negative = gap down.
📈
Relative Gap vs Benchmark
Compares each sector's gap to SPY (or your chosen benchmark). Sectors outperforming SPY in the pre-market are the leaders.
📏
Gap / ATR Ratio
Normalizes the gap by the sector's Average True Range. A 0.5 gap/ATR means the gap is half a normal day's range — significant context for how much the gap matters.
🔊
Volume Multiplier
Compares pre-market volume to the average volume MA. 2× means twice the normal activity, signaling institutional interest.
🔀
Sortable Columns
Sort by Gap %, Relative Gap, Gap/ATR, or Volume to instantly see which sectors are leading and which are lagging.
🏷️
Custom Sector Names
Each of the 15 sector slots has a customizable display name. Rename any ticker to match your preferred label.
⚙️
Noise Filter
A minimum gap % threshold filters out trivial overnight moves. Default 0.20% prevents flat sectors from cluttering the table.
02 / Concept

How It Works

→ Why Pre-Market Sector Rotation Matters
Walk In With a Plan
The 30 minutes before the bell tell you more about the day's likely leaders than any indicator during regular hours. When technology is gapping up 1.5% while energy is flat, that's your signal: XLK names are where the morning flow is going. sXPreMarket makes that rotation visible in seconds — before 9:30.
01
Enable Extended Hours
Before the indicator can read pre-market data, your chart must have Extended Trading Hours enabled. This is per-chart in TradingView's symbol settings. Without it, the indicator will show regular-hours data only.
02
Fetch Sector Data
For each of the 15 sectors, the indicator fetches two data points per call: the pre-market price and the prior close (or configurable gap reference). This uses 30 of TradingView's 40 request.security() slots — staying within all plan limits.
03
Calculate Gap %
Gap % = (current pre-market price - gap reference) / gap reference × 100. The gap reference can be the prior close or the overnight midpoint, depending on the Gap Reference setting.
04
Calculate Relative Gap
Relative Gap = Sector Gap % - Benchmark Gap %. A sector with +1.5% gap vs SPY at +0.8% has a Relative Gap of +0.7% — it is outperforming. Negative Relative Gap means underperformance.
05
Calculate Gap/ATR
The sector's gap is divided by its ATR(14) to normalize for volatility. Energy gaps of 1% are common (high ATR). Technology gaps of 1% are more significant (lower ATR). Gap/ATR accounts for this.
06
Volume Multiplier
Current pre-market volume is compared to the Volume MA length. 3× means three times the average — significant institutional activity.
→ Data BudgetsXPreMarket uses exactly 38 security() calls: 15 sectors × 2 = 30, plus 1 benchmark × 2 = 2, plus 6 bar-close calls = 38 total. This is within the 40-call limit on all TradingView plans including free.
03 / Reference

Settings

Metrics Settings
SettingDefaultRangeDescription
BenchmarkSPYAny symbolThe comparison ticker for Relative Gap calculation. Default SPY.
Min Gap % (noise filter)0.20%Sectors with absolute gap below this threshold are hidden. Prevents trivial moves from cluttering the table.
ATR Length142–50Period for Average True Range calculation. Used for Gap/ATR normalization.
Volume MA203–200Period for Volume moving average. Current pre-market volume is divided by this MA for the multiplier.
Sort ByGap %Gap% / Rel. Gap / Gap/ATR / VolWhich column the table sorts by. Default is Gap % (largest movers first).
Gap ReferencePrev ClosePrev Close / Overnight MidThe price the gap is calculated from.
Sector Symbols (01–15)
SettingDefaultRangeDescription
01 Ticker / NameXLE / EnergyAny symbol / Any stringSPDR sector ETF symbol and display name. All 15 are independently configurable.
02 Ticker / NameXLF / FinancialsAny symbol / Any stringChange to any ETF to include non-SPDR sectors or international ETFs.
03 Ticker / NameXLK / TechnologyAny symbol / Any stringRepeat for all 15 slots.
(04–15)XLV, XLI, XLC, XLY, XLP, XLRE, XLB, XLU, GLD, TLT, USOVariesDefault covers all 11 SPDR sectors plus Gold, Bonds, and Oil.
Table Colors
SettingDefaultDescription
Header#2a3049Background of the table title row.
Divider#0f0f0fBackground of section divider rows.
Labels#2a3049Background of label cells.
Header Text#b8b8b8Text color in the title row.
Body Text#b8b8b8Text color in data rows.
Cell BG#2a2a2aBackground of data value cells.
Borders#141414Color of all cell borders and the outer frame.
04 / Reading

Reading the Table

Column Reference
SettingDefaultRangeDescription
SectorThe sector name (customizable). Default: Energy, Financials, Technology, etc.
Gap %How far the sector has gapped from its prior close. Green = gap up. Red = gap down.
Rel. GapGap % minus Benchmark Gap %. Positive = outperforming SPY. Negative = underperforming.
Gap/ATRGap normalized by the sector's ATR. Above 0.5 = significant gap. Above 1.0 = extreme gap.
Vol ×Volume multiplier vs the MA. Above 2× = elevated institutional activity. Above 3× = very high.
→ How to Read RotationSort by Rel. Gap (default). The sectors at the top are leading SPY. The sectors at the bottom are lagging. The spread between top and bottom tells you how much sector rotation is happening — a tight spread means uniform movement, a wide spread means clear rotation.
05 / Best Practices

Pro Tips

Run Between 8:00–9:25 AM ET
The most useful window is the last 90 minutes before the open. Sector gaps established by 9:00 AM tend to define the morning's direction. Gaps that widen between 9:00–9:25 signal building momentum.
Sort by Relative Gap, Not Absolute Gap
A sector with a 2% absolute gap in a market gapping 2.5% is actually a laggard. Sorting by Relative Gap shows true sector leadership vs the benchmark.
High Volume Multiplier = Institutional Flow
A sector with 4× volume multiplier at 9:00 AM has institutional orders working. Trade WITH that flow, not against it. The morning session often follows pre-market institutional positioning.
Combine with sXSectors for Confirmation
sXPreMarket shows the gap setup. sXSectors shows the intraday and swing rotation once the market opens. Use both: pre-market to find the morning leader, then sXSectors to confirm whether the rotation is sustaining through the session.
Watch for Sector Reversals
If a sector is gapping up 1.5% but has a Relative Gap of -0.5% (market gapping more), that sector may underperform on the open. The gap looks bullish in isolation but is actually lagging. A reversal setup.
06 / Use Cases

Who Uses This

SettingOpening Drive TraderSector ETF TraderOptions Spreader
Sort ByRel. GapGap/ATRVol ×
Min Gap Filter0.20%0.30%0.10%
BenchmarkSPYQQQSPY
Key ColumnRel. GapGap/ATRVol ×
Use WithsXRadar on top sectorsXMTF Trends on ETFsXSectors post-open
→ sXSuite IntegrationsXPreMarket is your morning briefing before any other indicator. Use it to identify the 2–3 strongest sectors before 9:30. Then open sXSectors post-open to confirm the rotation is sustaining. Use sXRadar to find specific tickers firing STRAT signals inside the leading sectors. This is the complete pre-market-to-execution workflow.