[ A L P H A X ] Dynamic Support & Resistance - Auto SR ZonesAlphaX Dynamic Support & Resistance — Auto SR Zones, Strength Grading, Breakout & Retest Signals
Stop drawing support and resistance manually. AlphaX SR Pro automatically detects, clusters, and grades every key level on your chart — in real time, on any market, on any timeframe. Built for price action traders, ICT and Smart Money Concept traders, scalpers, and swing traders across Gold, Forex, Crypto, and Indices.
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
🔍 What This Indicator Does
Support and resistance is the foundation of every sound trading decision. The problem is that identifying valid zones manually is slow, inconsistent, and highly subjective. AlphaX SR Pro solves this with a fully automated pivot-clustering engine that detects where price has repeatedly reacted, builds a zone around each cluster, and scores every zone by confirmed pivot touches — so you always know which levels actually matter and which ones to ignore.
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
⚡ Key Features
🧠 Intelligent Pivot Clustering Engine
Rather than plotting raw pivot highs and lows, the algorithm scans all recent pivots within your configured memory window, groups those that fall within a configurable proximity threshold, merges them into a single zone with a defined upper and lower boundary, and scores each zone by the number of confirmed pivot touches. Weak and duplicate zones are filtered out automatically — leaving only the most relevant, confluent levels on your chart.
📦 Live SR Zones With Fill
Each detected level is rendered as a filled zone box showing the full price range that has acted as support or resistance. Zones above price are marked as Resistance. Zones below price are marked as Support. Both colours are fully customisable. Zone opacity scales with strength — the more confluent the zone, the more vivid the fill, giving you an instant visual read of conviction at every level.
📏 Boundary Lines & Midline
Every zone plots three lines extending across your entire chart:
Upper boundary — the top of the zone (solid line)
Lower boundary — the bottom of the zone (solid line)
Midline — the exact centre of the zone (dashed, toggleable)
The midline is especially useful as a precise entry trigger, take profit target, or invalidation reference inside each zone.
🔴🟡🟢 Strength Grading System
Every zone label displays three pieces of information at a glance — the zone midpoint price, the touch count (×2, ×5, ×9, etc.), and a colour-graded strength dot:
◦ Weak zone — 1 to 3 touches (dim, hollow dot)
● Medium zone — 4 to 6 touches (solid, mid-opacity dot)
⬤ Strong zone — 7+ touches (large, full-colour dot)
Zone conviction is readable instantly without checking any numbers. Focus on the filled dots — these are your highest-confluence reaction points.
▲▼ Breakout Signals
When price closes through the midpoint of any active zone, a breakout marker fires automatically:
▲ Triangle up (below bar) — bullish breakout through resistance
▼ Triangle down (above bar) — bearish breakout through support
Signals are non-repainting and trigger cleanly on confirmed bar close. Ideal for momentum entries, breakout confirmation, and bias shifts on any timeframe.
◆ Zone Touch Marker (Optional)
An optional diamond marker fires any time a candle's range touches or overlaps an active SR zone — useful for monitoring live price interaction with key levels and catching early reactions before a full breakout or rejection develops. Touch marker colour is independently customisable.
🔔 3 Built-In Alert Conditions — Webhook Ready
Resistance Broken — fires on bullish breakout through a resistance zone
Support Broken — fires on bearish breakout through a support zone
SR Break (Any) — fires on a breakout in either direction
All alerts fire on confirmed bar close — no spam, no false triggers. Plug directly into Telegram bots, 3Commas, Alertatron, n8n, or any webhook automation service for fully automated trade execution or notification.
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
⚙ Settings Reference
Core Settings
Pivot Period (default: 10) — bars left and right required to confirm a pivot high or low. Higher values produce fewer but stronger, more significant zones. Recommended range: 8–14 for intraday, 14–20 for swing trading
Price Source (default: High/Low) — detect pivots from full candle wicks (High/Low) or candle bodies only (Close/Open)
Pivot Memory (default: 20) — how many recent pivots the algorithm stores and compares when building zones. Higher values produce more historically aware zones
Max Zone Width % (default: 10) — maximum zone width as a percentage of the recent 300-bar price range. Lower values produce tighter, more precise zones
Max Zones (default: 6) — maximum number of zones rendered simultaneously on the chart
Min Strength (default: 2) — minimum number of confirmed pivot touches required before a zone is drawn. Increase to filter out weaker levels
Visual Settings
Show Zone Fill — toggle the coloured zone background box on or off
Show SR Lines — toggle the upper and lower boundary lines
Show Midline — toggle the dashed centre line within each zone
Show Labels — toggle price, touch count, and strength dot labels
Line Width — boundary line thickness (1–4px)
Resistance Color — default matte deep red
Support Color — default muted yellow-green
Signal Settings
Show Breakouts — toggle breakout triangle markers on bar close
Show Zone Touch — toggle the diamond touch marker for live zone interaction
Touch Marker Color — independently customisable colour for the touch diamond
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
🚀 How to Use
Add AlphaX SR Pro to any chart — default settings are optimised for most markets and timeframes
Focus on zones marked with ⬤ large filled dots — these are your highest-confluence levels with the most confirmed reactions
Use zone midlines as precise entry triggers, stop loss references, or take profit targets
Watch for price to approach a strong zone and look for confirmation on a lower timeframe before entering
Enable breakout alerts and connect to your webhook for fully automated signal delivery
Adjust Pivot Period higher for cleaner swing-level zones or lower for more active intraday levels
Increase Min Strength to display only the most battle-tested levels on your chart
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
👥 Who This Is For
🥇 Gold (XAUUSD) traders — SR zones are essential for reading XAU's liquidity-driven, level-to-level price action
📈 ICT and Smart Money traders — use zones to identify liquidity pools, order block confluence, and displacement targets
📊 Price action traders — clean, objective, automated zone mapping with zero indicator lag
🤖 Algo and bot traders — webhook-ready alerts on all breakout events for full automation
📉 Forex and Index traders — works on all major pairs, US30, NAS100, SPX500, DAX, and more
🌍 Crypto traders — reliable zone detection on BTC, ETH, and all high-volume pairs
⏱ All timeframes — from M1 scalping sessions to Weekly institutional swing analysis
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
📝 Notes
Works on all asset classes — Gold, Forex, Crypto, Futures, Indices, Stocks
All zones recalculate dynamically as new pivots form — always current, never stale
No repainting — breakout signals are based exclusively on confirmed bar closes
Pine Script v6 — built for performance, reliability, and forward compatibility
All visual elements are individually toggleable for a clean, distraction-free chart
Recommended timeframes: M5, M15, M30, H1, H4, Daily
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
Built for traders who read structure, not noise.
Pine Script® indicator






















