OPEN-SOURCE SCRIPT
Precision SPX

Precision SPX — Multi‑Timeframe Levels + Automated Alerts for SPX Traders
Precision SPX is a manual‑control Support and Resistance system built for SPX traders who rely on structure, precision, and daily level updates. It plots Monthly, Weekly, Daily, and Daily Range levels to map where price may react, reverse, or consolidate. This version includes a full alert engine that notifies you the moment price interacts with any level.
Core Features
Multi‑Timeframe Levels
The indicator plots a complete structure:
Monthly Levels — High & Low
Weekly Levels — High & Low
Daily Levels — Six total (4 Red, 2 Pink)
Daily Range Levels — High & Low
All levels are manually entered for maximum precision.
Customizable Visuals
Adjustable label size
Adjustable horizontal label placement
Toggle level labels on/off
Clean color‑coded hierarchy
ES/SPY Conversion Support
Optional manual ES spread or SPY ratio input
Automatically adjusts SPX levels
Lightweight & User‑Friendly
No repainting
No heavy calculations
Easy to integrate into any chart layout
How It Works
Precision SPX plots manually‑controlled Support and Resistance levels across multiple timeframes. Each level is labeled and color‑coded so you can quickly identify:
Higher‑timeframe structure
Daily intraday reaction zones
Overnight range boundaries
Breakout and reversal points
How to Use It
1. Apply the Indicator
Add Precision SPX to your chart.
2. Enter Your Levels
Input your Daily, Daily Range, Weekly, and Monthly levels into the string fields.
3. Trade With Structure
Use the plotted levels to identify:
Reversals
Breakouts
Retests
Stop‑loss placement
High‑probability reaction zones
Combine with trendlines, volume profile, or oscillators for confirmation.
Built‑In Alerts
Precision SPX includes a complete alert engine so you can receive notifications when price crosses any level.
Alert Modes
Any alert() function call — triggers when price crosses any level, with duplicate‑candle suppression.
Individual Level Alerts — choose a specific level such as:
R2_Hi, R1_Hi, P_Hi, P_Lo, R1_Lo, R2_Lo, DR_Hi, DR_Lo, W_Hi, W_Lo, M_Hi, M_Lo.
Level Categorization
Daily Levels:
Red: R2_Hi, R1_Hi, R1_Lo, R2_Lo
Pink: P_Hi, P_Lo
Daily Range:
DR_Hi, DR_Lo
Weekly Levels:
W_Hi, W_Lo
Monthly Levels:
M_Hi, M_Lo
How to Add Alerts
Open the TradingView alert panel
Select Precision SPX as the condition
Choose Any alert() function call or a specific level
Set expiration, message, and notification preferences
Save
Daily Workflow
Because SPX levels change daily:
Update your daily string values
Create a new alert each day (TradingView requires this for updated values)
Alerts will trigger based on the conditions you select
Release Notes — Precision SPX
Feb 2026 — Major Update
Full alert engine added
“Any alert() function call” support
Duplicate‑candle suppression
Complete level categorization
Daily update workflow
Cleaned and reorganized structure
Legacy Notes (From Precision Levels)
Jun 12, 2025
Added highlighted price labels with adjustable size
Added ES/SPY conversion inputs
Dragging disabled when conversion is active
Jun 28, 2025
Added customizable label placement
Reordered string input structure
Standardized daily color order
Added toggle for level labels
Nov 8, 2025
Added Daily Range levels
Updated string hierarchy
Example structure:
Red, Red, Pink, Pink, Red, Red, DR_Hi, DR_Lo, Weekly, Weekly, Monthly, Monthly
Precision SPX is a manual‑control Support and Resistance system built for SPX traders who rely on structure, precision, and daily level updates. It plots Monthly, Weekly, Daily, and Daily Range levels to map where price may react, reverse, or consolidate. This version includes a full alert engine that notifies you the moment price interacts with any level.
Core Features
Multi‑Timeframe Levels
The indicator plots a complete structure:
Monthly Levels — High & Low
Weekly Levels — High & Low
Daily Levels — Six total (4 Red, 2 Pink)
Daily Range Levels — High & Low
All levels are manually entered for maximum precision.
Customizable Visuals
Adjustable label size
Adjustable horizontal label placement
Toggle level labels on/off
Clean color‑coded hierarchy
ES/SPY Conversion Support
Optional manual ES spread or SPY ratio input
Automatically adjusts SPX levels
Lightweight & User‑Friendly
No repainting
No heavy calculations
Easy to integrate into any chart layout
How It Works
Precision SPX plots manually‑controlled Support and Resistance levels across multiple timeframes. Each level is labeled and color‑coded so you can quickly identify:
Higher‑timeframe structure
Daily intraday reaction zones
Overnight range boundaries
Breakout and reversal points
How to Use It
1. Apply the Indicator
Add Precision SPX to your chart.
2. Enter Your Levels
Input your Daily, Daily Range, Weekly, and Monthly levels into the string fields.
3. Trade With Structure
Use the plotted levels to identify:
Reversals
Breakouts
Retests
Stop‑loss placement
High‑probability reaction zones
Combine with trendlines, volume profile, or oscillators for confirmation.
Built‑In Alerts
Precision SPX includes a complete alert engine so you can receive notifications when price crosses any level.
Alert Modes
Any alert() function call — triggers when price crosses any level, with duplicate‑candle suppression.
Individual Level Alerts — choose a specific level such as:
R2_Hi, R1_Hi, P_Hi, P_Lo, R1_Lo, R2_Lo, DR_Hi, DR_Lo, W_Hi, W_Lo, M_Hi, M_Lo.
Level Categorization
Daily Levels:
Red: R2_Hi, R1_Hi, R1_Lo, R2_Lo
Pink: P_Hi, P_Lo
Daily Range:
DR_Hi, DR_Lo
Weekly Levels:
W_Hi, W_Lo
Monthly Levels:
M_Hi, M_Lo
How to Add Alerts
Open the TradingView alert panel
Select Precision SPX as the condition
Choose Any alert() function call or a specific level
Set expiration, message, and notification preferences
Save
Daily Workflow
Because SPX levels change daily:
Update your daily string values
Create a new alert each day (TradingView requires this for updated values)
Alerts will trigger based on the conditions you select
Release Notes — Precision SPX
Feb 2026 — Major Update
Full alert engine added
“Any alert() function call” support
Duplicate‑candle suppression
Complete level categorization
Daily update workflow
Cleaned and reorganized structure
Legacy Notes (From Precision Levels)
Jun 12, 2025
Added highlighted price labels with adjustable size
Added ES/SPY conversion inputs
Dragging disabled when conversion is active
Jun 28, 2025
Added customizable label placement
Reordered string input structure
Standardized daily color order
Added toggle for level labels
Nov 8, 2025
Added Daily Range levels
Updated string hierarchy
Example structure:
Red, Red, Pink, Pink, Red, Red, DR_Hi, DR_Lo, Weekly, Weekly, Monthly, Monthly
開源腳本
秉持TradingView一貫精神,這個腳本的創作者將其設為開源,以便交易者檢視並驗證其功能。向作者致敬!您可以免費使用此腳本,但請注意,重新發佈代碼需遵守我們的社群規範。
免責聲明
這些資訊和出版物並非旨在提供,也不構成TradingView提供或認可的任何形式的財務、投資、交易或其他類型的建議或推薦。請閱讀使用條款以了解更多資訊。
開源腳本
秉持TradingView一貫精神,這個腳本的創作者將其設為開源,以便交易者檢視並驗證其功能。向作者致敬!您可以免費使用此腳本,但請注意,重新發佈代碼需遵守我們的社群規範。
免責聲明
這些資訊和出版物並非旨在提供,也不構成TradingView提供或認可的任何形式的財務、投資、交易或其他類型的建議或推薦。請閱讀使用條款以了解更多資訊。