OPEN-SOURCE SCRIPT
[ A L P H A X ] Slope Spectrum Pro

AlphaX Slope Spectrum Pro — Multi-Period Regression Oscillator, Adaptive Signal Line, Momentum Acceleration, Statistical Regime Detection, Classic & Hidden Divergence & Conviction Dashboard
AlphaX Slope Spectrum Pro is a professional-grade trend momentum oscillator built on a proprietary multi-period linear regression engine that scans across an entire range of lookback periods simultaneously and synthesizes them into a single adaptive oscillator value per bar. Rather than relying on a fixed-period momentum calculation, Slope Spectrum Pro measures the statistical slope of price across every period in the scan range and combines them using inverse-variance weighting — giving more influence to periods whose regression fits are more consistent, and less to those where price has been noisy. The result is a momentum oscillator that is simultaneously responsive and robust. On top of this engine sits a complete analytical layer: an adaptive signal line that changes speed with market conditions, a momentum acceleration histogram, statistical regime detection bands, classic and hidden divergence detection, regime-filtered entry signals with main chart overlay, and a live 10-row conviction dashboard.
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
📸 Visual Overview

AlphaX Slope Spectrum Pro in the oscillator pane — gradient-colored slope line with gradient fill, acceleration histogram in the background, adaptive signal line, regime threshold bands, divergence markers, bull/bear signal dots, main chart triangles, and the conviction dashboard
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
🔬 The Slope Engine — Multi-Period Regression Core
At the foundation of Slope Spectrum Pro is a multi-period linear regression scanner. On every bar, the engine runs a complete set of linear regressions across every period from your configured minimum to maximum, stepping at your chosen interval. With default settings of Min Period 10, Max Period 100, and Step Size 5, this means 19 independent regressions are computed and synthesized per bar.
Each regression fits a straight line to the logarithm of price over the lookback window and extracts the slope of that fit — a dimensionless measure of directional momentum at that timescale. Positive slope means upward momentum. Negative slope means downward momentum. Steeper slope means stronger momentum.
Inverse-Variance Weighting:
When Inverse-Variance Weighting is enabled, each regression period's slope is weighted by the inverse of its residual variance — how consistently price tracked the regression line over that lookback. A period where price followed its regression cleanly gets high weight. A period where price bounced erratically around the fitted line gets low weight. The result is that cleaner, more consistent trend periods contribute more to the final oscillator value than noisy, choppy periods — the oscillator becomes naturally less sensitive to random price fluctuations and more responsive to genuine directional momentum.
What the oscillator value means:
The oscillator is plotted as a gradient-colored line that transitions dynamically from bear red to bull green based on its rolling 200-bar min/max range — the stronger the current momentum relative to recent history, the brighter the color. A gradient fill between the oscillator line and the zero line reinforces the directional bias visually.
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
〰 Adaptive Signal Line
The signal line tracks the slope oscillator — but instead of a fixed-period EMA, Slope Spectrum Pro uses an adaptive alpha-based EMA that changes its effective length based on current market conditions.
How it adapts:
The adaptation measures trend strength as how many standard deviations the current oscillator value is from its recent mean. When the oscillator is far from its mean — a clear, developing trend — the signal line shortens and reacts faster, following the oscillator closely. When the oscillator is near its mean — a ranging or choppy condition — the signal line lengthens, smoothing out minor oscillations and reducing false crossovers.
The current effective signal length is shown live on the dashboard as EMA~N — you can see exactly how tight or loose the signal is at any moment. Adaptive speed can be toggled off for a consistent fixed-length signal.
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
⚡ Momentum Acceleration Histogram
Behind the oscillator line, a background acceleration histogram plots the rate of change of the slope oscillator — how fast momentum is building or fading right now.
Reading the acceleration alongside the main oscillator gives you a two-layer picture:
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
📊 Statistical Regime Detection
Slope Spectrum Pro automatically classifies the current market environment into one of three regimes using a rolling statistical framework built from the oscillator's own mean and standard deviation:
Thresholds are calculated as oscillator mean ± (standard deviation × sensitivity multiplier) over the configured lookback. Increasing the sensitivity multiplier raises the bar required to enter Bull or Bear regime — only the strongest trend episodes qualify. Lowering it makes transitions more frequent.
This system directly controls signal quality when Regime-Filtered Signals is enabled — crossovers opposing the active regime direction are silently blocked before they ever reach the chart.
Regime bands on the oscillator — Bull threshold above, Bear threshold below, background tint reflecting the current zone
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
◆ Divergence Engine — Classic and Hidden
Slope Spectrum Pro detects four divergence types by comparing confirmed oscillator pivot highs and lows against confirmed price pivot highs and lows. All detections are confirmed on bar close only — no repainting.
Classic Divergences — Reversal Signals:
Hidden Divergences — Trend Continuation Signals:
Classic divergences warn of potential reversals. Hidden divergences confirm that pullbacks within a trend are likely to resume. Both are marked on the oscillator at the pivot bar with compact DIV or H labels. The divergence pivot lookback is configurable. Hidden divergence can be toggled independently from classic divergence.
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
🎯 Entry Signals — Oscillator and Main Chart Overlay
Crossover signals fire when the slope oscillator crosses above or below the adaptive signal line, confirmed on bar close:
Regime filtering: When enabled, bull crossovers during a Bear Regime are blocked. Bear crossovers during a Bull Regime are blocked. Only signals aligned with the current statistical regime are displayed — this single filter eliminates a significant category of false signals.
Main chart overlay: When Overlay Candle Color is enabled:
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
📋 Live Conviction Dashboard
A real-time 10-row readout of the oscillator's full internal state, updating on every bar close:
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
⚡ Key Features
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
⚙ Settings Reference
Slope Engine
Adaptive Signal Line
Momentum Acceleration
Regime Detection
Divergence Engine
Entry Signals
Dashboard
Theme
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
🚀 How to Trade with AlphaX Slope Spectrum Pro — Step by Step
Step 1 — Establish the regime and directional bias
Step 2 — Read acceleration for entry timing
Step 3 — Enter on a signal crossover
Step 4 — Upgrade conviction with divergence
Step 5 — Exit when momentum confirms the move is ending
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
🔔 Alert Conditions
All alert messages include {{ticker}} and {{interval}} for webhook integration.
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
👥 Who This Is For
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
📝 Notes
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
⚠ Disclaimer
This indicator is a technical analysis and visualization tool intended for educational and informational purposes only. It does not constitute financial advice or a recommendation to buy or sell any financial instrument. All signals are generated from historical and real-time price data using mathematical calculations — their accuracy or profitability is not guaranteed. Past performance does not guarantee future results. Always conduct your own analysis, use proper risk management, and consult a licensed financial advisor before making any trading decisions. The author accepts no responsibility for any losses incurred from the use of this indicator.
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
Built for traders who want to know not just where momentum is — but how it got there, how strong it is, and whether it is still building.
AlphaX Slope Spectrum Pro is a professional-grade trend momentum oscillator built on a proprietary multi-period linear regression engine that scans across an entire range of lookback periods simultaneously and synthesizes them into a single adaptive oscillator value per bar. Rather than relying on a fixed-period momentum calculation, Slope Spectrum Pro measures the statistical slope of price across every period in the scan range and combines them using inverse-variance weighting — giving more influence to periods whose regression fits are more consistent, and less to those where price has been noisy. The result is a momentum oscillator that is simultaneously responsive and robust. On top of this engine sits a complete analytical layer: an adaptive signal line that changes speed with market conditions, a momentum acceleration histogram, statistical regime detection bands, classic and hidden divergence detection, regime-filtered entry signals with main chart overlay, and a live 10-row conviction dashboard.
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
📸 Visual Overview
AlphaX Slope Spectrum Pro in the oscillator pane — gradient-colored slope line with gradient fill, acceleration histogram in the background, adaptive signal line, regime threshold bands, divergence markers, bull/bear signal dots, main chart triangles, and the conviction dashboard
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
🔬 The Slope Engine — Multi-Period Regression Core
At the foundation of Slope Spectrum Pro is a multi-period linear regression scanner. On every bar, the engine runs a complete set of linear regressions across every period from your configured minimum to maximum, stepping at your chosen interval. With default settings of Min Period 10, Max Period 100, and Step Size 5, this means 19 independent regressions are computed and synthesized per bar.
Each regression fits a straight line to the logarithm of price over the lookback window and extracts the slope of that fit — a dimensionless measure of directional momentum at that timescale. Positive slope means upward momentum. Negative slope means downward momentum. Steeper slope means stronger momentum.
Inverse-Variance Weighting:
When Inverse-Variance Weighting is enabled, each regression period's slope is weighted by the inverse of its residual variance — how consistently price tracked the regression line over that lookback. A period where price followed its regression cleanly gets high weight. A period where price bounced erratically around the fitted line gets low weight. The result is that cleaner, more consistent trend periods contribute more to the final oscillator value than noisy, choppy periods — the oscillator becomes naturally less sensitive to random price fluctuations and more responsive to genuine directional momentum.
What the oscillator value means:
- A value above zero means the weighted regression slope is net positive — more periods are trending upward than downward across the scanned range.
- A value below zero means the weighted slope is net negative — dominant downward trend momentum.
- The magnitude reflects how steep the consensus slope is. A large positive value means strong, consistent upward momentum. A value near zero means flat or contested momentum.
The oscillator is plotted as a gradient-colored line that transitions dynamically from bear red to bull green based on its rolling 200-bar min/max range — the stronger the current momentum relative to recent history, the brighter the color. A gradient fill between the oscillator line and the zero line reinforces the directional bias visually.
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
〰 Adaptive Signal Line
The signal line tracks the slope oscillator — but instead of a fixed-period EMA, Slope Spectrum Pro uses an adaptive alpha-based EMA that changes its effective length based on current market conditions.
How it adapts:
The adaptation measures trend strength as how many standard deviations the current oscillator value is from its recent mean. When the oscillator is far from its mean — a clear, developing trend — the signal line shortens and reacts faster, following the oscillator closely. When the oscillator is near its mean — a ranging or choppy condition — the signal line lengthens, smoothing out minor oscillations and reducing false crossovers.
- In a strong trend: the signal is tight. Crossovers happen quickly and reflect real momentum shifts.
- In chop or range: the signal is loose. It takes a more significant oscillator move to produce a crossover, filtering out noise automatically.
The current effective signal length is shown live on the dashboard as EMA~N — you can see exactly how tight or loose the signal is at any moment. Adaptive speed can be toggled off for a consistent fixed-length signal.
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
⚡ Momentum Acceleration Histogram
Behind the oscillator line, a background acceleration histogram plots the rate of change of the slope oscillator — how fast momentum is building or fading right now.
- Green columns — acceleration is positive. The slope oscillator is increasing. Momentum is building in the bullish direction.
- Red columns — acceleration is negative. The slope oscillator is decreasing. Momentum is fading or building in the bearish direction.
Reading the acceleration alongside the main oscillator gives you a two-layer picture:
- Oscillator above zero + green acceleration = strengthening bull momentum. The best time to enter or hold long.
- Oscillator above zero + red acceleration = bull momentum peaking and fading. Consider reducing exposure or preparing to exit.
- Oscillator below zero + red acceleration = strengthening bear momentum. Best time to hold or enter short.
- Oscillator below zero + green acceleration = bear momentum fading. Watch for a potential reversal or crossover signal.
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
📊 Statistical Regime Detection
Slope Spectrum Pro automatically classifies the current market environment into one of three regimes using a rolling statistical framework built from the oscillator's own mean and standard deviation:
- Bull Regime — the oscillator is above the upper band (mean + N standard deviations). Background tints subtly green. Only bullish signals fire when regime filtering is enabled.
- Bear Regime — the oscillator is below the lower band (mean − N standard deviations). Background tints subtly red. Only bearish signals fire when regime filtering is enabled.
- Range Regime — the oscillator sits between the two bands. Background is a very faint neutral gray. No directional regime is confirmed. Regime-filtered signals are suppressed entirely.
Thresholds are calculated as oscillator mean ± (standard deviation × sensitivity multiplier) over the configured lookback. Increasing the sensitivity multiplier raises the bar required to enter Bull or Bear regime — only the strongest trend episodes qualify. Lowering it makes transitions more frequent.
This system directly controls signal quality when Regime-Filtered Signals is enabled — crossovers opposing the active regime direction are silently blocked before they ever reach the chart.
Regime bands on the oscillator — Bull threshold above, Bear threshold below, background tint reflecting the current zone
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
◆ Divergence Engine — Classic and Hidden
Slope Spectrum Pro detects four divergence types by comparing confirmed oscillator pivot highs and lows against confirmed price pivot highs and lows. All detections are confirmed on bar close only — no repainting.
Classic Divergences — Reversal Signals:
- Classic Bull Divergence (DIV ▲) — price makes a lower low while the slope oscillator makes a higher low. Selling pressure is weakening even though price is still falling. A reversal upward may be building.
- Classic Bear Divergence (DIV ▼) — price makes a higher high while the slope oscillator makes a lower high. Buying pressure is weakening even though price is still rising. A reversal downward may be building.
Hidden Divergences — Trend Continuation Signals:
- Hidden Bull Divergence (H ▲) — price makes a higher low while the oscillator makes a lower low. Price held higher ground during the pullback — the uptrend is intact and continuation upward is probable.
- Hidden Bear Divergence (H ▼) — price makes a lower high while the oscillator makes a higher high. Price failed to rally as high as before even as the oscillator rebounded — the downtrend is intact and continuation downward is probable.
Classic divergences warn of potential reversals. Hidden divergences confirm that pullbacks within a trend are likely to resume. Both are marked on the oscillator at the pivot bar with compact DIV or H labels. The divergence pivot lookback is configurable. Hidden divergence can be toggled independently from classic divergence.
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
🎯 Entry Signals — Oscillator and Main Chart Overlay
Crossover signals fire when the slope oscillator crosses above or below the adaptive signal line, confirmed on bar close:
- Bull Signal (●) — oscillator crossed above signal line. A small green dot appears on the oscillator.
- Bear Signal (●) — oscillator crossed below signal line. A small red dot appears on the oscillator.
Regime filtering: When enabled, bull crossovers during a Bear Regime are blocked. Bear crossovers during a Bull Regime are blocked. Only signals aligned with the current statistical regime are displayed — this single filter eliminates a significant category of false signals.
Main chart overlay: When Overlay Candle Color is enabled:
- A ▲ green triangle appears below the bar on the main chart at every bull signal.
- A ▼ red triangle appears above the bar on the main chart at every bear signal.
- Candles on the main chart are colored using the same gradient as the oscillator — chart candles reflect the current slope momentum state at a glance.
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
📋 Live Conviction Dashboard
A real-time 10-row readout of the oscillator's full internal state, updating on every bar close:
- SAMPLES — number of regression periods computed per bar based on Min, Max, and Step settings.
- MODE — INV-VAR WEIGHTED or SIMPLE AVERAGE aggregation.
- OSC VALUE — live slope oscillator value to six decimal places, green above zero, red below.
- REGIME — ▲ BULL ZONE, ▼ BEAR ZONE, or — RANGING. Row highlighted in the corresponding color.
- MOMENTUM — ▲ BUILDING (acceleration positive) or ▼ FADING (acceleration negative). Row highlighted accordingly.
- SIGNAL — ▲ BULL CROSS / ▼ BEAR CROSS when a crossover fired this bar, or ▲ ABOVE SIG / ▼ BELOW SIG for ongoing position.
- SIG SPEED — current effective signal length as EMA~N, showing how tight or loose the adaptive signal is in real time.
- DIVERGENCE — highest-priority active divergence: ▲ BULL DIV, ▼ BEAR DIV, ▲ HIDDEN BULL, ▼ HIDDEN BEAR, or — NONE. Row highlighted when active.
- CONVICTION — a 0–4 confluence score. Each of the following adds 1 point: regime and oscillator sign agree; regime and acceleration agree; regime and signal side agree; any divergence is active. Score labels — LOW / MIXED (0–1), MODERATE (2), HIGH CONVICTION (3), MAX — ALL ALIGNED (4).
- OSC (sigma) — the oscillator value expressed as standard deviations from its recent mean. Shows statistically how far momentum has moved from neutral — +2.5s means 2.5 standard deviations into bull territory.
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
⚡ Key Features
- 🔬 Multi-period regression engine — 19 independent regressions per bar (default) synthesized into one adaptive oscillator value
- ⚖ Inverse-variance weighting — consistent regression periods carry more weight; noisy periods are automatically discounted
- 〰 Adaptive signal line — effective EMA length speeds up in trends, slows in chop; current length shown live as EMA~N
- ⚡ Momentum acceleration histogram — rate-of-change of the oscillator, showing whether momentum is building or fading right now
- 📊 Statistical regime detection — three-zone classification (Bull / Bear / Range) using rolling mean ± standard deviation bands
- 🔒 Regime-filtered signals — crossovers opposing the current statistical regime are automatically suppressed
- ◆ Classic divergence — bull and bear reversal divergence between price pivots and oscillator pivots, bar-close confirmed
- ◆ Hidden divergence — trend continuation signals when price and oscillator diverge in the trend direction
- 🎯 Main chart overlay — bull/bear triangles on price chart and gradient candle coloring reflecting live slope momentum
- 🎨 Dynamic gradient oscillator color — live transition from bear to bull based on rolling 200-bar normalization
- 📋 Live 10-row conviction dashboard — samples, mode, osc value, regime, momentum, signal, signal speed, divergence, conviction score, sigma reading
- 🏆 4-point conviction scoring — real-time confluence count across regime, acceleration, signal, and divergence alignment
- 🔔 10 alert conditions — crossovers, classic and hidden divergences, confluence long/short, zero line crosses
- 🎨 14 user-configurable color inputs — every visual element independently themeable with AlphaX brand defaults
- ✅ Confirmed on bar close — no repainting on any signal, divergence, or regime transition
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
⚙ Settings Reference
Slope Engine
- Max Period — upper bound of the regression scan range (default: 100)
- Min Period — lower bound of the scan range (default: 10)
- Step Size — increment between scanned periods (default: 5). Smaller = more samples, smoother oscillator.
- Inverse-Variance Weighting — weight each period by its regression consistency (default: on)
- Source — price input for all regressions (default: close)
Adaptive Signal Line
- Base Signal Length — signal EMA length in neutral conditions (default: 7)
- Adaptive Speed — toggle adaptive EMA alpha on or off
Momentum Acceleration
- Show Acceleration Histogram — toggle the background column histogram
- Acceleration Smoothing — EMA smoothing period for acceleration (default: 3)
Regime Detection
- Show Regime Bands — toggle threshold lines and background tinting
- Regime Lookback — rolling window for mean and standard deviation (default: 200)
- Regime Sensitivity (σ×) — standard deviation multiplier for thresholds (default: 0.5)
Divergence Engine
- Show Divergences — toggle all divergence detection
- Divergence Pivot Length — bars on each side to confirm a divergence pivot (default: 5)
- Show Hidden Divergences — toggle hidden divergence independently
Entry Signals
- Show Crossover Signals — toggle oscillator signal dots
- Regime-Filtered Signals — suppress signals opposing the current regime
- Overlay Candle Color — toggle main chart triangles and gradient candle coloring
Dashboard
- Show Dashboard — toggle the dashboard panel
- Position — Top Right, Top Left, Bottom Right, Bottom Left
Theme
- Bull Primary / Bright / Dim — three shades of the bullish color family
- Bear Primary / Bright / Dim — three shades of the bearish color family
- Neutral / Neutral Light — neutral and secondary text colors
- Accel Bull / Accel Bear — acceleration histogram column colors
- Divergence Bull / Divergence Bear — classic divergence marker colors
- Hidden Div Bull / Hidden Div Bear — hidden divergence marker colors
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
🚀 How to Trade with AlphaX Slope Spectrum Pro — Step by Step
Step 1 — Establish the regime and directional bias
- Check the REGIME row. ▲ BULL ZONE = the market is in a statistically confirmed trend upward. ▼ BEAR ZONE = confirmed trend downward. — RANGING = no directional edge. Only trade in the direction of the active regime.
- Check OSC (sigma). A reading above +2s means deep bull territory. Below −2s means deep bear territory. Near zero = flat momentum, no edge.
Step 2 — Read acceleration for entry timing
- In a Bull Regime, wait for the acceleration histogram to turn green (▲ BUILDING on the dashboard). This means the slope oscillator is accelerating — momentum is growing, not just present.
- The ideal entry timing: Bull Regime + oscillator above zero + acceleration building + oscillator above signal line.
- Entering while acceleration is red (▼ FADING) in a bull regime risks entering as the current wave is losing steam.
Step 3 — Enter on a signal crossover
- A bull signal dot (oscillator crosses above signal line) with regime filtering enabled is your entry trigger — counter-trend crossovers are already blocked automatically.
- If Overlay is enabled, the ▲ triangle on the main chart confirms the exact entry bar.
- The faster the adaptive signal (lower EMA~N), the tighter the crossover timing. In strong trends the signal shortens and reacts more quickly.
Step 4 — Upgrade conviction with divergence
- A bull signal crossover occurring simultaneously with or just after a Classic Bull Divergence (DIV ▲) = high-probability reversal setup.
- A bull signal crossover during an uptrend following a Hidden Bull Divergence (H ▲) = high-probability trend continuation setup.
- Check CONVICTION. Score of HIGH CONVICTION (3) or MAX — ALL ALIGNED (4) means multiple independent factors agree. These are the setups to prioritize.
Step 5 — Exit when momentum confirms the move is ending
- Acceleration histogram turning red (▼ FADING) while you are long = first sign the current wave is losing force. Begin monitoring for exit.
- A bear signal crossover (oscillator crosses below signal line) = exit trigger.
- A regime shift from Bull Zone to Ranging or Bear Zone = structural move is over. Exit and reset.
- A Classic Bear Divergence appearing while you are in a long position = warning. Price is printing new highs the oscillator is not confirming. Reduce size or prepare to close.
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
🔔 Alert Conditions
- SSP — Bull Crossover — oscillator crossed above the adaptive signal line
- SSP — Bear Crossover — oscillator crossed below the adaptive signal line
- SSP — Classic Bull Divergence — price lower low, oscillator higher low confirmed
- SSP — Classic Bear Divergence — price higher high, oscillator lower high confirmed
- SSP — Hidden Bull Divergence — price higher low, oscillator lower low (trend continuation)
- SSP — Hidden Bear Divergence — price lower high, oscillator higher high (trend continuation)
- SSP — CONFLUENCE LONG — bull crossover occurring with bull or hidden bull divergence simultaneously
- SSP — CONFLUENCE SHORT — bear crossover occurring with bear or hidden bear divergence simultaneously
- SSP — Zero Line Cross Up — oscillator crossed above zero (macro bull momentum shift)
- SSP — Zero Line Cross Down — oscillator crossed below zero (macro bear momentum shift)
All alert messages include {{ticker}} and {{interval}} for webhook integration.
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
👥 Who This Is For
- 🧠 Systematic and quantitative traders — the regression engine, inverse-variance weighting, and statistical regime framework provide a mathematically grounded, objective momentum reading with no arbitrary indicator parameters to tune
- 📈 Trend traders on any instrument and timeframe — the multi-period scan adapts naturally to any market's momentum characteristics without manual recalibration
- 🔍 Divergence traders — four divergence types covering both reversals and trend continuations, all confirmed on bar close
- ⚡ Momentum traders — the acceleration histogram adds a layer no standard oscillator provides: not just where momentum is, but whether it is growing or shrinking right now
- 🎯 Precision entry traders — regime filtering, adaptive signal speed, and the conviction score ensure signals are only shown when multiple independent conditions agree simultaneously
- 🎨 Traders who customize their charts — 14 fully user-configurable color inputs, compatible with any chart theme
- 🔔 Alert-driven traders and bot operators — 10 alert conditions including a dedicated confluence alert for maximum-conviction setups
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
📝 Notes
- All signals are confirmed on bar close only. Slope Spectrum Pro does not repaint.
- The oscillator value is in units of log-price per bar. The absolute value is very small (typically 0.000001 to 0.001 range) — what matters is the sign, the direction of change, and where it sits relative to regime thresholds and zero.
- Wider Min–Max scan ranges produce a smoother oscillator capturing broader trend consensus. Narrower ranges are more reactive to short-term changes. Smaller Step Size = more periods sampled per bar = smoother result.
- Regime Sensitivity is the most impactful setting after the scan range. At 0.5σ (default) the regime bands trigger relatively frequently. At 1.0–1.5σ, only very strong trend episodes qualify — signals become rarer but higher quality.
- On very low timeframes the nested regression loop may be computationally intensive. Default settings are optimized for timeframes from 1 minute upward on standard instruments.
- All theme color defaults are designed for dark chart backgrounds. Adjust Theme inputs if using a light background.
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
⚠ Disclaimer
This indicator is a technical analysis and visualization tool intended for educational and informational purposes only. It does not constitute financial advice or a recommendation to buy or sell any financial instrument. All signals are generated from historical and real-time price data using mathematical calculations — their accuracy or profitability is not guaranteed. Past performance does not guarantee future results. Always conduct your own analysis, use proper risk management, and consult a licensed financial advisor before making any trading decisions. The author accepts no responsibility for any losses incurred from the use of this indicator.
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
Built for traders who want to know not just where momentum is — but how it got there, how strong it is, and whether it is still building.
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.
🌐 alphax.trading
Institutional Grade Signals --> Engineered for Retail
💎ᴠɪᴘ tradingview.com/v/TaXohZvb/
[ A L P H A X ] PRIME - Premium Signal Engine
🔢 alphax.trading/resources/calculators
AlphaX Calculators
Institutional Grade Signals --> Engineered for Retail
💎ᴠɪᴘ tradingview.com/v/TaXohZvb/
[ A L P H A X ] PRIME - Premium Signal Engine
🔢 alphax.trading/resources/calculators
AlphaX Calculators
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.
🌐 alphax.trading
Institutional Grade Signals --> Engineered for Retail
💎ᴠɪᴘ tradingview.com/v/TaXohZvb/
[ A L P H A X ] PRIME - Premium Signal Engine
🔢 alphax.trading/resources/calculators
AlphaX Calculators
Institutional Grade Signals --> Engineered for Retail
💎ᴠɪᴘ tradingview.com/v/TaXohZvb/
[ A L P H A X ] PRIME - Premium Signal Engine
🔢 alphax.trading/resources/calculators
AlphaX Calculators
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.