Indicator

Dynamic Volume Profile Oscillator (DVPO)WHAT IT DOES
DVPO is a volume-weighted deviation oscillator. It answers a single question on every bar: how far has price stretched away from the level where most volume has actually traded, measured against how widely volume has been distributed around that level? The result is plotted as a single line oscillating around a 50 midline, with adaptive zones that widen and narrow with the instrument's own behavior instead of relying on fixed thresholds.
WHAT MAKES IT DIFFERENT
Most oscillators ignore volume, and the few that use it tend to use it loosely. RSI and CCI are built purely on price. MFI uses volume, but only to label each bar as buying or selling pressure before summing it like a volume-weighted RSI. %B and CCI both measure deviation from a mean, but the mean is unweighted and the deviation bands are either fixed (Bollinger) or based on a simple mean absolute deviation (CCI).
DVPO differs on two specific points:
The reference is a volume-weighted mean, a rolling VWAP over the lookback window, so the "fair value" it measures against is anchored to where trading actually happened, not to a simple price average.
The normalization is a volume-weighted mean absolute deviation: each bar's distance from the mean is weighted by that bar's share of total volume before being averaged. Price excursions that happened on thin volume contribute little; excursions on heavy volume define the scale. The oscillator then expresses current price as a number of these volume-weighted deviations away from the mean.
On top of that, the overbought/oversold zones are not fixed lines. They are recomputed continuously as a moving average of the oscillator plus or minus a multiple of its own standard deviation, so a quiet instrument gets tight zones and a volatile one gets wide zones automatically.
HOW IT WORKS
Volume-weighted mean (rolling VWAP): mean = sum(price * volume ) / sum(volume ) over the lookback window.
Volume-weighted mean absolute deviation: dev = sum( |price - mean| * (volume / sum(volume)) ) over the same window.
Oscillator (Mean Reversion mode): value = 50 + (price - mean) / (dev * sensitivity) * 25 A reading of 50 means price sits at the volume-weighted mean. Readings pull above or below 50 as price stretches away from it, scaled so that roughly one volume-weighted deviation maps to 25 oscillator points. The value is then EMA-smoothed.
Adaptive zones: midline = moving average of the oscillator (or a fixed 50 if disabled) upper / lower zone = midline +/- standard deviation of the oscillator * zone width
Signal lines: A fast and a slow EMA of the oscillator generate crossover events for timing.
TWO MODES
Mean Reversion (default): the deviation oscillator described above. Best for spotting stretched conditions and exhaustion relative to volume-defined fair value.
Volume Intensity: rescales smoothed volume inside its own recent high-low range, 0 to 100. A simpler read of whether participation is currently expanding or drying up. Useful as a context filter alongside any price tool.
HOW TO USE IT
Works on any market and timeframe. A few common readings:
Price crossing above the upper zone signals an unusually strong push relative to volume-weighted fair value, which can mean breakout strength or, in a range, exhaustion. The fast/slow signal cross helps tell continuation from fade.
A return toward the midline after a zone excursion is the mean-reversion leg.
In Volume Intensity mode, fading participation under a price advance is the classic non-confirmation warning. The four built-in alerts (cross above upper zone, cross below lower zone, bullish and bearish signal cross) let you watch several symbols without staring at charts.
SETTINGS
Defaults are neutral, round starting values rather than curve-fitted numbers: lookback 50, smoothing 5, sensitivity 1.0, adaptive midline period 50, zone width 1.5. Every input carries a tooltip. Bar coloring is off by default so the script does not override your chart; turn it on if you want the oscillator state mirrored on price.
ORIGINALITY
This script is an original construction by SfericaTrading. It does not reuse or adapt third-party Pine code. The underlying statistical building blocks (volume-weighted mean, mean absolute deviation, standard-deviation bands) are standard, but their combination into a volume-weighted deviation oscillator with self-normalizing adaptive zones is the original contribution.
DISCLAIMER
This is an educational tool for market analysis. It is not financial advice and no performance is implied or promised. Always do your own research and manage risk. Indicator

Indicator

Indicator

RSI Pattern Matcher & Forward ProjectionRSI Pattern Matcher & Forward Projection is an advanced RSI-based analysis tool
that combines historical pattern matching, statistical forward projection,
Bollinger Bands, and an EMA overlay — all applied directly on the RSI panel.
Instead of using RSI as a simple overbought/oversold indicator, this script
treats the RSI as a pattern signal. It scans hundreds of historical bars to find
past moments where RSI behavior and price direction closely matched the current
market structure, then statistically projects what RSI is most likely to do next.
### How It Works
The indicator builds a fingerprint of the current market using the last N bars
(Pattern Length), capturing:
- RSI value for each bar in the window
- Price direction per bar (rising, falling, or flat)
It then scans the full lookback window and marks a historical bar as a match when:
- Each RSI value falls within the defined tolerance (e.g. ±4 points per bar)
- At least 60% of the price direction steps align with the current pattern
Once matches are collected, the script averages what happened to RSI over the
following bars after each match. This averaged path is rendered as a step-by-step
dashed projection line extending to the right of the last bar.
Bollinger Bands (length 14, multiplier 2.0) and EMA 12 are computed on the RSI
itself — not on price. Both indicators are also extended forward by the same
projection length using linear slope extrapolation, giving a complete forward
context for the RSI forecast.
### What It Displays
RSI Line — main aqua line (standard RSI)
RSI EMA 12 — orange line tracking the short-term RSI average; crossovers
signal early momentum shifts
Bollinger Bands on RSI:
• Yellow middle band (SMA 14)
• Red upper band (overbought pressure zone)
• Green lower band (oversold pressure zone)
• Gray fill between bands
Forward Projection (dashed lines extending beyond last bar):
• RSI forecast path — averaged from historical analogs, color-coded by zone
• BB Upper extension — red dashed
• BB Lower extension — green dashed
• BB Basis extension — yellow dashed
• EMA 12 extension — orange dashed
Live RSI Label — current RSI value displayed next to the last bar,
color-coded in real time (red ≥ 70, green ≤ 30, aqua otherwise)
Forecast Label — projected RSI value shown at the end of the forward window
Info Table (top right):
• Matches found vs maximum
• Dominant directional bias (Up / Down / Flat)
• Direction distribution percentages
• Average, best-case, and worst-case price change across all matches
• Estimated RSI value N bars ahead
• Confidence score based on match count
### Confidence Score
≥ 10 matches → 90%
≥ 7 matches → 75%
≥ 5 matches → 60%
≥ 3 matches → 40%
< 3 matches → 20%
A warning is displayed on the table when fewer than 3 matches are found.
In this case, increase RSI Tolerance or Lookback to find more historical analogs.
### Inputs
RSI Period — RSI calculation length (default: 14)
RSI Source — price input for RSI (default: close)
Pattern Length — bars used to build the current pattern fingerprint (2–20, default: 3)
Projection Length — bars ahead to project all forward lines (1–20, default: 3)
RSI Tolerance — max RSI difference per bar allowed when matching (±0.5–10, default: ±4.0)
Lookback — historical bars to scan for matches (50–999, default: 500)
Max Matches — maximum historical matches to average (3–20, default: 10)
### How To Use
1. Add the indicator to any chart — it plots on a separate RSI panel
2. Check the info table for match count; if below 3, raise RSI Tolerance or Lookback
3. Read the dominant direction and confidence score for a quick bias assessment
4. Follow the dashed projection line to see where RSI is historically likely to go
5. Use the extended BB bands to anticipate whether RSI may reach overbought or
oversold territory within the projection window
6. Watch the EMA extension — if the projected RSI crosses above or below the
extended EMA, it can signal a momentum shift ahead
7. Compare the forecast RSI label against the 70 and 30 levels for reversal context
8. Use best-case and worst-case % change figures to frame risk/reward expectations
9. Higher timeframes (1H, 4H, Daily) generally produce cleaner RSI patterns
and more meaningful matches
### Best Used For
- Anticipating RSI direction before price confirms
- Identifying overbought/oversold exhaustion using historical analogs
- Spotting early momentum shifts via RSI EMA crossovers
- Using BB band position to contextualize RSI extremes
- Filtering trade entries with forward projection confluence
- Multi-layer RSI analysis combining pattern matching, bands, and trend
### Originality
This script combines four independent analytical layers into a single RSI panel:
a historical analog pattern matcher, a statistical forward projection engine,
Bollinger Bands applied to RSI (not price), and a linear slope extrapolation
system for all forward indicators. The specific combination — simultaneous RSI
and price direction fingerprinting, 60% direction alignment threshold, per-bar
averaged projection, and slope-based BB/EMA extension — represents the author's
own approach to making RSI forecasting both visual and statistically grounded.
### Disclaimer
This indicator is for educational and analytical purposes only. Pattern matching
based on historical RSI behavior does not guarantee future results. Past analogs
may not repeat. Always apply proper risk management and combine this tool with
additional analysis before making any trading decisions.
Short Description:
Scans historical RSI and price direction patterns to project the most likely RSI
path forward. Includes Bollinger Bands and EMA on RSI, full forward extension of
all indicators, directional bias stats, and a confidence score. Indicator

Indicator

Z-Score Statistical BandsZ-Score Statistical Bands
1. Overview
Z-Score Statistical Bands is a statistical mean-reversion indicator designed to help traders study how far a selected price series, or a pairs spread, has moved away from its rolling mean.
The script calculates and displays a Z-score oscillator with statistical bands, optional mean-reversion entry markers, exit markers, blocked setup markers, half-life filtering, and an information table.
This is an indicator, not a strategy. It does not place orders, does not execute trades, and does not produce PulseWire Strategy Tester backtest results. All markers are visual statistical events only and should not be treated as guaranteed trading signals or financial advice.
2. Core Idea
The indicator measures how far the selected series is from its rolling average in standard deviation units.
A positive Z-score means the selected series is above its rolling mean.
A negative Z-score means the selected series is below its rolling mean.
The general mean-reversion idea is that extreme deviations may sometimes revert back toward the mean, but this is not guaranteed. Markets can remain extended, trend further, or fail to mean-revert.
3. Z-score Calculation
The script calculates:
* Rolling mean
* Rolling standard deviation
* Current Z-score
The Z-score is calculated from the selected series using the chosen lookback length.
The indicator plots:
* Z-score line
* Mean line at 0
* Entry bands
* Normal exit bands
* Extreme bands
4. Information Table
The indicator includes an information table designed to summarize the current statistical state of the Z-score setup.
The table helps users understand the current condition without relying only on the plotted markers.
The table can show:
Z now
The current Z-score value.
This shows how far the selected series is from its rolling mean in standard deviation units.
Half-life
Shows the estimated mean-reversion half-life in bars.
If a valid half-life is not detected, the table can show that there is no current reversion condition.
Edge?
This row shows whether the half-life gate supports mean reversion.
FADE OK
This means the half-life filter currently supports a mean-reversion condition.
DO NOT FADE
This means the half-life filter does not currently support a mean-reversion condition.
This is important because the Z-score may be extreme, but the script may still block the setup if the statistical mean-reversion gate is not valid.
Position
Shows the script’s internal visual position state:
FLAT
No visual position state is active.
LONG ACTIVE
A long-side visual state is active.
SHORT ACTIVE
A short-side visual state is active.
This is only internal marker tracking. It is not a real broker position and not a PulseWire strategy position.
Entry
Shows the selected entry behavior.
Possible table examples include:
safer
Conservative entry mode.
early
Aggressive entry mode.
safer + near
Conservative entry mode with near-zone rebound entries enabled.
early + near
Aggressive entry mode with near-zone rebound entries enabled.
Risk exit
Shows whether the early Z-failure exit is enabled.
Guide
Shows a compact explanation of marker colors.
Example:
gray normal / orange fail / gold blocked
Dir
Shows the selected signal direction mode.
Possible values include:
long only
Only low-Z long-side events are allowed.
long + short
Both low-Z long events and high-Z short events are allowed.
Beta / Pair
In pairs mode, this row shows the selected beta mode and the second symbol used as leg B.
Examples:
auto beta / MSFT
manual beta / MSFT
ratio mode / MSFT
In single mode, beta is not applicable.
Why the information table matters
The information table is designed to make the indicator easier to read.
A Z-score extreme alone is not always enough. The table adds context by showing whether the selected series currently passes the half-life mean-reversion gate.
For example:
If the Z-score is extreme and the table shows FADE OK, the script is showing that the statistical gate supports mean-reversion conditions.
If the Z-score is extreme and the table shows DO NOT FADE, the script is warning that the half-life filter does not support fading that move.
This is why gold blocked markers and the information table should be reviewed together.
5. Single and Pairs Modes
The indicator includes two calculation modes:
Single mode
Single mode calculates the Z-score directly from the selected source, such as close price.
This mode is useful when the user wants to study whether one symbol is statistically extended above or below its own rolling mean.
Pairs mode
Pairs mode compares the main chart symbol against a second symbol selected by the user.
The second symbol is used as leg B.
Pairs mode supports:
* Log-spread mode
* Ratio mode
* Manual beta
* Auto rolling beta
Log-spread mode
When log-spread is enabled, the script calculates a spread using:
log(A) - beta × log(B)
This is commonly used in pairs and relative-value analysis.
Ratio mode
When log-spread is disabled, the script uses a simple ratio between symbol A and symbol B.
Auto rolling beta
When enabled in log-spread pairs mode, the script estimates a rolling beta between log(A) and log(B) using the selected lookback window.
Manual beta
Manual beta allows the user to enter a fixed hedge ratio.
Important note about pairs mode
Pairs analysis is sensitive to symbol selection, timeframe, beta stability, liquidity, and market regime. A spread that looked mean-reverting historically may stop mean-reverting. Users should validate pairs relationships independently.
6. Statistical Bands
Mean
The zero line represents the rolling mean reference.
Entry bands
The positive and negative entry bands define the main statistical extension zone.
For example:
+2 Z may represent an upper statistical extension.
-2 Z may represent a lower statistical extension.
Extreme bands
The extreme bands mark deeper statistical extensions.
For example:
+3 Z or -3 Z may indicate a stronger deviation from the rolling mean.
Normal exit bands
The normal exit bands are closer to the mean and are used for visual normal-exit conditions when the Z-score reverts toward the mean.
7. Half-life Mean-Reversion Gate
The script includes a half-life filter designed to check whether the selected series currently shows mean-reversion behavior.
The half-life estimate attempts to measure how quickly deviations may revert toward the mean.
If the half-life condition supports mean reversion, the information table shows:
FADE OK
If the half-life condition does not support mean reversion, the information table shows:
DO NOT FADE
Important note about half-life
Half-life is an estimate based on recent data. It is not a prediction and does not guarantee that price will revert. It is used as a statistical filter to reduce mean-reversion attempts when the series does not currently show a valid mean-reversion profile.
8. Signal Direction
The script supports two direction modes:
Long only
Only low-Z long-side statistical events are allowed.
Both long + short
Low-Z long-side events and high-Z short-side events are allowed.
9. Entry Styles
The script includes two entry styles:
Conservative / Safer
The conservative style waits for the Z-score to first move into an extreme zone, then start reverting back from that zone.
This is designed to avoid entering while the Z-score is still moving deeper into the extreme area.
Aggressive / Early
The aggressive style marks an entry event as soon as the Z-score reaches the selected entry band.
This can create earlier entries, but it may also increase the risk of entering before the move has finished extending.
10. Near-Zone Rebound Entries
The script includes optional near-zone rebound entries.
This feature can mark a rebound when the Z-score nearly reaches the full entry band but does not fully touch it.
Example:
If the main entry band is 2.0 Z and the near-zone band is 1.7 Z, the script can detect a rebound from the 1.7 area.
This feature is intended to catch practical rebounds that occur before the full statistical band is reached.
11. Position-State Tracking
The script tracks a simple internal visual position state:
* Flat
* Long active
* Short active
This state is used only to organize markers and avoid overlapping entry/exit logic. It is not a real broker position and not a PulseWire strategy position.
12. Entry Markers
The script can display entry markers on the Z-score pane.
Long Entry
A long entry marker appears when the selected long-side statistical entry condition is met.
Short Entry
A short entry marker appears when the selected short-side statistical entry condition is met and short direction is enabled.
These markers are statistical events only. They are not guaranteed buy or sell signals.
13. Exit Logic
The script includes several visual exit event types.
Normal exit
A normal exit appears when the Z-score reverts back toward the selected normal exit band.
This represents a normal mean-reversion completion event.
Early Z-failure exit
An early failure exit appears when the Z-score fails and moves back beyond the entry band after an active visual position state exists.
This is designed to show a possible statistical failure condition.
Optional price candle failure exit
When enabled, the script can use the entry candle’s high or low as a simple price-failure reference.
For long visual states, price failure can occur if price closes below the entry candle low.
For short visual states, price failure can occur if price closes above the entry candle high.
This feature is OFF by default because it can be sensitive.
Optional emergency Z-stop
When enabled, the script can mark an emergency Z-stop if the Z-score extends further against the active visual position beyond the selected emergency Z-stop level.
This is OFF by default.
14. Marker Guide
The script uses stable markers that are placed away from the Z-score line to reduce overlap.
Long entry marker
A low-Z long-side entry event.
Short entry marker
A high-Z short-side entry event.
Gray X
Normal exit after Z-score reverts toward the mean.
Orange X
Early failure exit.
Red X
Emergency Z-stop exit.
Gold dot
Blocked setup marker.
15. Blocked Setup Markers
The gold dot appears when the Z-score reaches an extreme area, but the half-life filter does not support mean reversion.
This is not an entry marker.
It is a warning that the Z-score is extreme, but the statistical mean-reversion gate is blocking the setup.
16. Alerts
The script includes alert conditions for:
* Long entry
* Short entry
* Blocked low-Z setup
* Blocked high-Z setup
* Normal exit
* Early failure exit
* Emergency Z-stop
* Any exit
Alerts are notifications only. They do not place orders and do not confirm broker execution.
17. How to Use This Indicator
A practical workflow:
1. Choose Single mode or Pairs mode.
2. Select the source series or pair symbol.
3. Choose the lookback length for mean and standard deviation.
4. Select the entry band, normal exit band, and extreme band.
5. Review the information table.
6. Check whether the table shows FADE OK or DO NOT FADE.
7. Use conservative mode if you prefer confirmation after the Z-score starts reverting.
8. Use aggressive mode only if you understand the risk of earlier entries.
9. Review blocked setup markers to see when the half-life gate is rejecting extreme Z-score conditions.
10. Use normal exit, failure exit, and emergency exit markers to study how the Z-score reverts or fails.
11. Combine the indicator with broader market context, liquidity, trend, risk management, and independent analysis.
12. Suggested Use Cases
Z-Score Statistical Bands can be used for:
* Mean-reversion study
* Statistical deviation analysis
* Pairs spread monitoring
* Relative-value analysis
* Z-score band observation
* Half-life filtering
* Reversion timing study
* Exit event visualization
* Blocked setup review
* Statistical context review through the information table
19. Important Limitations
This indicator does not predict future price movement.
It does not guarantee mean reversion.
It does not guarantee profitable trades.
It is not a trading strategy.
It does not place orders.
It does not produce Strategy Tester results.
Z-score extremes can become more extreme.
Mean-reversion conditions can fail.
Half-life is an estimate, not a certainty.
Pairs relationships can change over time.
Rolling beta can be unstable in changing market regimes.
Ratio and log-spread methods can produce different results.
Pairs mode requires valid data for the selected second symbol.
Log calculations require positive price values.
Signal markers are statistical events, not trading instructions.
Exit markers are visual events, not broker fills.
The internal position state shown in the table is only a visual tracking state, not a real trading position.
Users are responsible for their own trading decisions, risk management, and position sizing.
20. Originality and Purpose
Z-Score Statistical Bands combines several statistical mean-reversion tools into one organized indicator:
* Single-symbol Z-score analysis
* Pairs spread Z-score analysis
* Log-spread and ratio modes
* Manual and rolling beta options
* Half-life mean-reversion gate
* Conservative and aggressive entry styles
* Near-zone rebound entries
* Internal visual position-state tracking
* Normal exit markers
* Early failure exit markers
* Optional price failure exit
* Optional emergency Z-stop
* Blocked setup markers
* Information table
* Alert conditions
The purpose of the script is to help traders study statistical extension, mean-reversion conditions, and pairs-spread behavior in a structured and visual way.
21. Educational Disclaimer
This script is for educational and chart-analysis purposes only. It is not financial advice, investment advice, or a recommendation to buy or sell any financial instrument. Users should perform their own analysis and manage risk independently.
Indicator

Strategy

Indicator

Strategy

Structure & Stoch Oscillator## Structure & Stoch Oscillator
The Structure & Stoch Oscillator is designed to combine market structure signals with stochastic oscillator momentum conditions to help traders identify cleaner continuation, reversal, and exhaustion areas directly on the chart.
This indicator uses structure logic such as BOS, MSS, and CHoCH together with stochastic oscillator readings to provide better context around price movement. The goal is to help traders see when structure and momentum are starting to align, instead of relying on structure breaks or oscillator signals alone.
## Main Features
* Detects bullish and bearish market structure events
* Displays BOS, MSS, and CHoCH conditions on the chart
* Uses stochastic oscillator logic for momentum confirmation
* Helps identify possible continuation setups
* Helps identify possible reversal or exhaustion conditions
* Highlights bullish and bearish structure/momentum alignment
* Provides cleaner visual confirmation without excessive chart clutter
* Includes adjustable settings for different markets and timeframes
## Structure Logic
The structure portion of the indicator helps identify important shifts in price action.
**BOS – Break of Structure**
A structure break that may suggest continuation in the current direction.
**MSS – Market Structure Shift**
A possible early sign that price is shifting direction after a previous move.
**CHoCH – Change of Character**
A warning that price behavior may be changing and momentum may be weakening or reversing.
These structure signals can help traders better understand whether price is continuing, shifting, or preparing for a possible reversal.
## Stochastic Oscillator Logic
The stochastic oscillator portion adds momentum context to the structure signals.
It can help show when price may be:
* Overbought or oversold
* Losing momentum
* Starting a reversal
* Pulling back during continuation
* Reacting near midpoint areas
* Moving into extreme conditions
This helps traders avoid taking every structure break blindly and gives an additional layer of confirmation.
## How to Use
Use this indicator as a confirmation and filtering tool.
A simple workflow:
1. Watch for BOS, MSS, or CHoCH structure behavior.
2. Check whether the stochastic oscillator supports the move.
3. Look for alignment between structure direction and oscillator momentum.
4. Use additional context such as session highs/lows, VWAP, liquidity sweeps, trend direction, or your preferred entry model.
5. Avoid taking every signal automatically.
6. Manage entries, stops, targets, and risk using your own trading plan.
This indicator is not designed to be a standalone buy or sell system. It is best used as a decision-support tool for traders who already use structure and momentum analysis.
## Best For
* Intraday futures trading
* Market structure analysis
* BOS continuation setups
* MSS reversal confirmation
* CHoCH shift awareness
* Stochastic momentum filtering
* Reversal and exhaustion awareness
* Continuation trade confirmation
* Cleaner chart-based decision making
This tool can be used across futures, indices, forex, crypto, and other markets. Traders should test and adjust settings based on their preferred symbol, timeframe, and trading style.
## Notes
The Structure & Stoch Oscillator is designed to support analysis, not replace it. Market structure and oscillator momentum can provide helpful context, but no indicator can guarantee future price movement.
Always use proper risk management and combine this tool with your own tested trading plan.
Indicator

Indicator

EDVEFI (Standard MA version) EDVEFI (Enhanced Dynamic Volume EFI)
This indicator is designed to measure market strength and weakness by combining price movement with volume.
Unlike the traditional Elder Force Index (EFI), which uses only price change and volume, EDVEFI also incorporates candle structure, including price range and wick information, to better reflect market behavior.
The Dynamic EFI is displayed as a bar chart, allowing traders to visualize short-term changes in buying and selling pressure. The Smoothed EFI, calculated using a Simple Moving Average (SMA), serves as a baseline for identifying the overall market trend.
When the Dynamic EFI rises above the Smoothed EFI, it suggests strengthening market momentum. Conversely, when it falls below the Smoothed EFI, it may indicate weakening momentum.
By analyzing both price movement and volume, this indicator helps traders evaluate trend strength, shifts in market sentiment, and changes in buying or selling pressure.
EDVEFI is intended as a market analysis tool rather than a predictive indicator, providing insight into the underlying dynamics of market participation.
Indicator

Elaris Mean Reversion ProElaris Mean Reversion Pro
Elaris Mean Reversion Pro is a multi-factor mean reversion indicator designed to help traders identify situations where price has moved significantly away from its statistical mean and may be entering a potential reversion phase.
The indicator combines adaptive deviation bands, volatility measurements, momentum filters, market regime analysis, and optional higher-timeframe confirmation to provide a structured framework for analyzing stretched market conditions.
Unlike simple overbought and oversold tools, Elaris Mean Reversion Pro allows users to customize how extremes are measured through Z-Score, ATR-based, or hybrid deviation models while incorporating optional confirmation layers such as RSI, MFI, volume, ADX, and higher-timeframe trend filters.
Key Features
• Multiple mean calculation methods including EMA, SMA, RMA, WMA, VWMA, and HMA.
• Three deviation models:
* Z-Score Bands
* ATR Bands
* Hybrid Bands
• Mean reversion signal engine with multiple confirmation styles:
* Extreme Touch
* Mean Reclaim
* Candle Rejection
• Optional RSI and MFI extreme-condition filters.
• ADX-based market regime filter to help identify environments where mean reversion conditions may be more relevant.
• Optional volume and volatility filters.
• Higher-timeframe confirmation framework.
• Signal quality scoring system.
• Dynamic mean, deviation bands, and reversion zones.
• Built-in dashboard displaying:
* Market state
* Z-Score
* Distance from mean
* Momentum readings
* Regime status
* Higher-timeframe bias
• Alert conditions for:
* Long mean reversion signals
* Short mean reversion signals
* Upper extreme zones
* Lower extreme zones
How It Works
The indicator calculates a central mean and measures how far price has deviated from that mean using statistical or volatility-based methods.
When price reaches an extreme deviation zone, the indicator evaluates additional confirmation factors such as candle behavior, momentum conditions, volatility, volume, and trend regime before generating a signal.
Signals are intended to highlight potential mean reversion conditions and should be evaluated alongside the trader's own market analysis and risk management process.
Non-Repainting
This indicator uses confirmed bar logic and higher-timeframe requests with lookahead disabled. Signals are generated using closed-bar information and do not intentionally repaint historical signals.
Notes
Mean reversion techniques may behave differently across various market conditions. Strong directional trends, high-impact news events, and volatility expansions can influence market behavior and should always be considered when interpreting indicator outputs.
This tool is designed for market analysis and educational purposes only and does not constitute financial advice.
Indicator

Adaptive Stochastic with Colored Lines and ZonesAdaptive Stochastic with Colored Lines and Zones
"Adaptive Stochastic with Colored Lines and Zones" is an enhanced Stochastic Oscillator designed to improve trend visualization and market momentum analysis through dynamic color changes and clearly defined overbought/oversold zones.
The indicator automatically adjusts the color of the main Stochastic line according to prevailing market conditions:
**Blue** indicates bullish momentum and strengthening upward pressure.
**Red** indicates bearish momentum and increasing downward pressure.
This visual feedback helps traders quickly assess market direction without adding additional trend-following tools to the chart.
Overbought and Oversold Zones
The indicator highlights key momentum extremes:
* **Above 80** – Strong Overbought Zone
* **Below 20** – Strong Oversold Zone
These areas can help identify periods of extended market movement, potential pullbacks, or possible reversal conditions when combined with price action and other forms of technical analysis.
Applications
* Trend identification
* Momentum analysis
* Confirmation of market direction
* Detection of overbought and oversold conditions
* Support for entry and exit timing
Suitable Markets
The indicator can be used across multiple asset classes, including Forex, Cryptocurrencies, Stocks, Indices, and Futures, and is compatible with various trading styles ranging from intraday trading to longer-term trend analysis.
Notes
As with any technical indicator, Adaptive Stochastic with Colored Lines and Zones should be used as part of a broader trading strategy and not as a standalone signal generator. Combining momentum readings with market structure, support and resistance levels, and risk management techniques may improve decision-making.
Indicator

Strategy

Indicator

Entropy VZO [Alpha Extract]A sophisticated volume-flow and market-information oscillator that combines pressure-weighted volume, statistical normalization, directional entropy, fractal efficiency, Gaussian smoothing, and signal-line analysis into one complete momentum framework. Entropy VZO is designed to measure whether bullish or bearish price movement is supported by meaningful volume while adapting its sensitivity to the quality and organization of current market structure.
Unlike a conventional oscillator displayed in a separate pane, Entropy VZO projects its momentum structure directly onto price using an ATR-scaled anchor. This provides a clear overlay of volume momentum, signal direction, histogram expansion, threshold zones, and dynamic pulse activity without separating the analysis from the underlying chart.
🔶 Pressure-Weighted Volume Flow Engine
Calculates directional volume using a blend of candle pressure and source-price direction. Candle pressure measures the relationship between the candle body and its full range, while source direction determines whether price is advancing or declining.
candlePressure = (close - open) / priceRange
closePressure = ta.change(src) > 0 ? 1.0 : ta.change(src) < 0 ? -1.0 : 0.0
signedPressure = clamp(candlePressure * 0.65 + closePressure * 0.35, -1.0, 1.0)
signedVolume = volume * signedPressure
volumeBase = math.max(ta.ema(volume, vzoLength), 1.0)
vzo = 100.0 * ta.ema(signedVolume, vzoLength) / volumeBase
This produces a more detailed estimate of bullish and bearish participation than assigning all volume according to candle direction alone.
🔶 Normalized VZO Framework
Standardizes the raw VZO against its recent average and standard deviation. This allows the indicator to evaluate current volume pressure relative to the instrument’s own recent behaviour.
Positive readings indicate stronger-than-normal bullish volume flow, while negative readings represent stronger bearish pressure. Larger absolute readings show that the current volume imbalance is becoming increasingly unusual relative to its recent history.
🔶 Directional Entropy Analysis
Measures how evenly upward and downward price changes are distributed across the selected lookback period.
Low entropy indicates that price direction is more ordered and consistent. High entropy indicates a less predictable environment where upward and downward movements are more evenly balanced.
This allows the indicator to give greater weight to volume signals occurring during organized directional movement and reduce their influence during noisy or indecisive conditions.
🔶 Fractal Efficiency Framework
Evaluates how efficiently price has travelled between the beginning and end of the selected lookback relative to the total path taken.
High efficiency indicates that price is moving directly with limited back-and-forth movement. Low efficiency indicates a more irregular path with greater noise and weaker directional structure.
🔶 Information-Weighted Momentum Engine
Combines directional entropy and fractal efficiency into a unified information-quality weight. This weight adjusts the normalized VZO according to how organized and efficient the current market environment is.
informationWeight = clamp((1.0 - entropy) * 0.55 + efficiency * 0.45, 0.05, 1.0)
spectralInput = vzoZ * sensitivity * (0.65 + informationWeight)
fisherCore = tanhSafe(spectralInput) * maxLevel
Volume pressure receives greater emphasis when price movement is both directional and efficient. Signals are moderated when market structure becomes noisy, balanced, or fragmented.
🔶 Bounded Nonlinear Transformation
Applies a protected nonlinear transformation to compress extreme readings into a stable visual range.
This prevents isolated volume spikes from overwhelming the indicator while preserving momentum direction and relative strength. The result is a bounded oscillator centered around zero.
🔶 Gaussian Signal Polishing
Uses custom Gaussian-weighted smoothing to reduce short-term noise while preserving recent momentum information.
Separate smoothing stages are applied to the main oscillator and histogram. Traders can adjust these settings to make the indicator more responsive or more selective depending on their market and timeframe.
🔶 Bullish, Bearish & Neutral Regimes
Classifies the market into three momentum conditions:
• Bullish when the oscillator is above its signal and above zero
• Bearish when the oscillator is below its signal and below zero
• Neutral when momentum direction and zero-line position are not fully aligned
This dual-confirmation structure helps distinguish established directional momentum from weaker signal-line movements.
🔶 ATR-Scaled Price Projection
Projects the oscillator directly onto the price chart using an EMA-based anchor and an ATR-adjusted visual range.
The projection automatically adapts to current volatility, allowing the indicator to maintain a consistent appearance across different assets, prices, and timeframes. The Visual Height setting controls how widely the oscillator is displayed around its price anchor.
🔶 Soft & Hard Momentum Zones
Displays configurable soft and hard momentum thresholds above and below the central price anchor.
Soft levels highlight developing momentum extremes, while hard levels identify stronger volume-flow displacement. These areas provide context for momentum intensity rather than acting as automatic reversal signals.
🔶 Dynamic Pulse Band
Displays a smoothed measure of absolute oscillator strength around the price anchor.
The pulse band expands as momentum intensity increases and contracts when momentum weakens. Its color follows the active regime, creating a visual representation of both directional bias and momentum amplitude.
🔶 Momentum Histogram
Measures the difference between the main oscillator and its signal line to show whether momentum is expanding or contracting.
Bright bullish readings indicate strengthening positive momentum, while faded bullish readings indicate that positive momentum is slowing. Bright bearish readings represent strengthening negative momentum, while faded bearish readings show bearish pressure losing force.
🔶 Signal Ribbon & Glow Architecture
Plots the main Entropy VZO line with a layered glow and an optional ribbon between the oscillator and signal line.
The ribbon changes color according to the active bullish, bearish, or neutral regime. This makes momentum alignment, crossovers, and transition periods easier to identify while maintaining chart readability.
🔶 Dynamic Candle Coloring
Optionally colors OHLC candles according to the current oscillator regime.
Bullish coloring appears when the oscillator is above both its signal and zero. Bearish coloring appears when it is below both references. Neutral coloring identifies mixed, transitional, or weakly confirmed conditions.
🔶 Real-Time Status Dashboard
Features a compact dashboard displaying the indicator’s most important information:
• Current bullish, bearish, or neutral regime
• Main oscillator value
• Normalized VZO Z-score
• Directional entropy percentage
• Fractal efficiency percentage
• Current volume relative to its EMA baseline
This provides an immediate overview of momentum direction, volume abnormality, market organization, directional efficiency, and participation strength.
🔶 Comprehensive Alert System
Includes alerts for the indicator’s primary momentum events:
• Entropy VZO Bull Swing
• Entropy VZO Bear Swing
• Entropy VZO Bull Trend
• Entropy VZO Bear Trend
Swing alerts trigger when the oscillator crosses its signal line. Trend alerts trigger when the oscillator crosses the zero level, allowing traders to monitor both early momentum shifts and broader directional transitions.
🔶 Why Choose Entropy VZO ?
Entropy VZO expands traditional volume-flow analysis by combining pressure-weighted volume, statistical normalization, directional entropy, and fractal efficiency within one adaptive momentum framework. Instead of treating every increase in volume equally, the system evaluates whether that participation is occurring inside an organized and efficient market environment.
The oscillator and signal line identify direction, the histogram measures momentum expansion, the pulse band displays intensity, and the soft and hard zones provide context for elevated readings. Its ATR-scaled projection keeps the complete framework connected directly to price, while the live dashboard provides fast insight into volume flow, entropy, efficiency, and the active regime.
Perfect for momentum traders, swing traders, trend-following traders, and systematic analysts who want a cleaner way to determine whether directional price movement is supported by meaningful and structurally efficient volume flow. Indicator

Indicator

Undertow [WT + RSI]INDICATOR — UNDERTOW
Undertow pulls you back. A WaveTrend momentum oscillator with an RSI overlay and clean buy/sell dots that mark when price gets pulled too far, too fast.
WHAT IT IS
Undertow is a momentum oscillator that helps you see when an asset has swung too far in one direction and may be due to turn. It combines three classic tools into one clean panel:
— A WaveTrend wave: the filled cyan/navy "tide" that rises and falls with momentum
— A fast trigger line riding on top of the wave, used to catch turns early
— An RSI line for confirmation of overbought/oversold conditions
When the fast line crosses the wave inside an extreme zone, Undertow plots a dot: green for a potential buy, red for a potential sell.
HOW IT WORKS
The core is the WaveTrend calculation: price is run through a channel-and-average smoothing process that produces an oscillator centered on zero. A faster smoothing of the same series gives the trigger line. When the two cross while the oscillator sits beyond a threshold, the cross is flagged as a signal.
Undertow uses asymmetric thresholds by design: the overbought (sell) level sits higher than the oversold (buy) level is low. This gives the tool a long-friendly bias — it flags buying opportunities on moderate dips, but only flags selling once momentum is stretched well into overbought territory. All thresholds are adjustable in the settings.
SIGNAL TYPES
— Green dot (buy): trigger crosses up while the oscillator is below the oversold bound
— Red dot (sell): trigger crosses down while the oscillator is above the overbought bound
— Large dots (extreme): crosses occurring at the far extremes, pinned to the top/bottom of the panel for visibility
— Dim dots (optional): every other crossover, shown faintly so you can see the full picture; toggle off for a cleaner chart
SETTINGS YOU CAN TUNE
— WT Channel / Average / Signal lengths: control how fast or smooth the wave is
— WT Source: hlc3, hl2, or close
— Overbought / Oversold bounds: where signals are allowed to fire
— Extreme level: where the big dots appear
— RSI length and an optional slower RSI line
— Toggle for showing all crossover dots vs only the strong ones
ALERTS
Built-in alert conditions for Strong Buy, Strong Sell, Extreme Buy, Extreme Sell, and any raw crossover. Set them to "Once Per Bar Close" to avoid signals that flicker while a candle is still forming.
HOW TO READ IT
Treat the dots as context, not automatic trade commands. A green dot in a strong uptrend pullback is very different from a green dot in a sustained downtrend. Combine Undertow with trend context, support/resistance, and your own risk management.
CREDITS & BASIS
Undertow is built on the open-source WaveTrend Oscillator concept (popularized by LazyBear on PulseWire), combined with a standard RSI overlay. It is published open-source so others can learn from, verify, and adapt it.
DISCLAIMER
This script is for educational and informational purposes only. It is not financial advice. No indicator predicts the future; signals can and do fail. Always do your own research and manage risk. Past performance does not guarantee future results. Indicator

Gold Macro Dashboard [invincible3]Gold Macro Indicator Dashboard
A professional macro-driven gold dashboard designed to evaluate the broader gold market regime using automatically sourced PulseWire data. The indicator combines real yields, dollar strength, rate expectations, risk-off demand, gold breadth, and confirmation ratios into a single 0–100 Gold Macro Score.
The model uses a fixed daily macro timeframe, so dashboard readings stay consistent across intraday, daily, and weekly charts.
Main Features
Fixed Daily macro scoring
0–100 Gold Macro Score oscillator
Macro Regime classification
Macro Strength score
Real Yield driver
DXY / US Dollar driver
Gold liquidity proxy
US 2Y rate outlook
VIX risk-off signal
Cross-currency gold breadth
Gold/Silver ratio
Gold/S&P 500 ratio
Copper/Gold ratio
US 10Y–2Y yield spread
Crypto-style clean dashboard layout
Dark/light theme adaptive colors
No manual macro inputs
Score Interpretation
80–100: Strong Bull
60–80: Bullish
40–60: Neutral
20–40: Bearish
0–20: Strong Bear
How It Works
The composite score is weighted as follows:
Real Yield 10Y: 30%
US Dollar DXY: 25%
Gold liquidity proxy: 15%
US 2Y rate outlook: 10%
Risk-Off VIX: 10%
Gold breadth: 10%
Gold breadth checks whether gold is trending higher across major currencies, including XAUUSD, XAUEUR, XAUJPY, XAUGBP, and XAUCNH.
Use Case
This indicator is designed for traders and investors who want a macro-level view of gold’s trend quality. It can help identify whether gold strength is supported by broad macro conditions or only short-term price movement.
Disclaimer
This is an educational macro model only. It is not financial advice and should not be used as a standalone buy or sell signal. Always combine it with your own risk management, technical analysis, and market research. Indicator

Multi-Divergence Strategy | GainzAlgoThe Multi-Divergence Strategy is a comprehensive, quantitative trading tool designed to identify momentum exhaustion through multi-oscillator divergence detection. By visualizing the relationship between price action and nine distinct momentum/volume metrics, this indicator provides a framework for identifying high-probability reversal setups.
Core Logic: How it Identifies Divergence
The indicator functions by monitoring pivot highs and lows across both price and nine independent oscillators (RSI, MFI, Stochastic, Z-Score, ADX, MACD, OBV, Price Action, and Swing Volume).
Logic: The script flags a Bullish Divergence when the price reaches a lower low, but the oscillator reaches a higher low. Conversely, it flags a Bearish Divergence when the price reaches a higher high, but the oscillator reaches a lower high.
Trigger: The script creates a dynamic detection system that triggers signals only when new pivot highs or lows are confirmed, ensuring signals are not repainting.
The Technical Overlay
The Technical Overlayis a visual dashboard that renders seven distinct indicator panes directly on your main chart.
Customization: The Window Width input allows you to adjust the lookback period for these panels, while the Future Offset allows you to shift the UI horizontally to avoid cluttering current price action.
Visuals: When divergence is detected, the overlay renders "neon" glowing markers at the exact pivot point where the divergence occurred, providing immediate visual feedback on which indicator is signaling the reversal.
Settings and Toggle Menus
The indicator is highly modular, allowing for granular control via the inputs menu.
General Settings:
Window Width (Bars): Defines the depth of the visual analysis panes.
Future Offset (Bars): Offsets the UI panels relative to the current bar.
Divergence Pivot Length: Adjusts sensitivity. Lower values (e.g., 2-5) detect micro-divergences, while higher values (up to 15) isolate major structural shifts.
Show Technical Overlay: A master toggle to turn the neon dashboard on or off.
Screener and Risk Management Settings:
SL/TP Multipliers: These adjust the Stop Loss (SL) and Take Profit (TP) distance based on the 14-period Average True Range (ATR).
Custom SL %: If enabled, this bypasses the ATR-based stop in favor of a fixed percentage-based stop loss.
Visuals: Show TP / SL Lines toggles the display of active trade plans on the chart, helping you visualize your risk parameters.
Risk Management and P&L Calculations
Every signal detected by the strategy is treated as a trade plan with a defined entry, stop, and target.
Stop Outs and Exits: The script performs a rolling calculation of every active trade. A trade is closed (marked as a loss) if price hits the SL level, or closed (marked as a win) if price hits the TP level.
ATR-Based P&L: The P&L is not based on arbitrary dollar amounts, but on ATR multipliers. This ensures your performance metrics are normalized against the current market volatility.
Understanding the Performance Table
The performance table provides a real-time summary of every divergence indicator's effectiveness.
Signals: The total number of trades initiated by that specific indicator.
Wins/Losses: The count of trades that reached the TP vs. the SL.
Win%: The percentage of closed trades that resulted in a win.
Avg Win/Loss: The average ATR distance captured in winning trades versus the average risk taken in losing trades.
Cumulative ATR Multi: This is the most critical metric. It represents the total P&L of the strategy expressed in ATR multiples.
A Note on Win Rate and Expectations: You may observe an average win rate of approximately 37%. Do not get discouraged by a low win rate. In quantitative trading, a "high" win rate is often irrelevant if the risk management is poor.
Instead of focusing on the strike rate, prioritize the Cumulative ATR Multi. A strategy with a 37% win rate can be highly profitable if your "Average Win" is significantly larger than your "Average Loss". Use the table to identify which specific indicators are yielding the highest cumulative ATR returns in the current market environment and lean into those signals.
How to Trade with the Strategy
Enable the Table: Keep Show Performance Table enabled to track the "Cumulative ATR Multi" for each indicator.
Monitor Signals: When a neon marker appears on your chart, verify the entry, stop-loss, and take-profit lines.
Analyze and Execute: Focus your trades on the indicators that show a positive or rising "Cumulative ATR Multi" in the performance table.
Risk Management: Always respect the stop-loss lines, as they are calculated to keep your risk consistent with current market volatility.
Disclaimer: This indicator is for analytical and educational purposes only. Past performance does not guarantee future results.
Indicator

Stoch RSI Super BUY only indicator (SRS)Overview
The Stoch RSI Super Strategy (SRS) Combined is a comprehensive, multi-layered momentum and trend-following indicator. It is designed to identify high-probability exhaustion zones, track price divergence, and validate potential entries using price action breakouts and dynamic Moving Average (MA) trend filtering.
Instead of generating basic crossover signals, this indicator operates on a "state-tracking" logic system. It requires a specific sequence of momentum shifts before generating an actionable breakout line and subsequent buy signal, reducing false entries in choppy markets.
How It Works (Under the Hood)
The script is built on three primary components:
Smoothed Stochastic RSI (%K): The script calculates a standard RSI, applies a Stochastic oscillator to that RSI, and then smooths it to create the %K line.
State-Tracking Logic: The indicator looks for a specific sequence of events:
Phase 1 (Overbought Setup): The %K must cross above the 80 level while the RSI is concurrently at or above 70. This plots a small Green Circle, indicating the market has reached extreme momentum.
Phase 2 (Oversold Trigger): After Phase 1 is validated, the indicator waits for the %K line to cross below the 20 level. When this happens, a Red Circle is plotted, and the corresponding price candle is colored black.
Price Action Breakout & Trend Filter: Once the black candle is established, a horizontal breakout line is drawn at its High. For a long signal to trigger, the closing price must break above this horizontal line AND close above the 21-period Simple Moving Average (SMA).
Divergence Detection: The script records the low price and %K value at each "Red Circle" event. If a new setup forms with a lower price but a higher %K value, the script flags a Bullish Divergence ("D" label).
Core Features
Dynamic MA 21: Plotted directly on the main chart, this Moving Average changes color (Green/Red) based on whether the current close is above or below it, providing an immediate visual cue for the baseline trend.
Smart Breakout Line: A dynamic horizontal line that tracks the high of the setup candle. It colors red while waiting for a breakout and locks to green once the price successfully closes above it.
Exit Logic: Once a trade is active, the script tracks the %K line. An exit signal (Red Downward Triangle) is generated when %K pushes back above 70 and subsequently crosses under it, signaling fading bullish momentum.
Built-in Alerts: Fully configured alertconditions for when the breakout line is generated and when a validated buy signal occurs.
How to Use This Indicator
Monitoring: Watch for the sequence to unfold in the sub-pane. A Green Circle followed by a Red Circle means the setup is actively being monitored.
Entry Validation: Do not enter blindly on the Red Circle. Wait for the price to close above the dynamic horizontal line and the 21 SMA. If the Buy label includes a "D", it indicates the setup is backed by hidden bullish divergence, adding confluence.
Trade Management: Use the dynamic 21 SMA as a potential trailing dynamic support, or utilize the built-in exit triangle as a signal to scale out or close the position.
Disclaimer: This script is for educational and analytical purposes only. It is highly recommended to use this indicator in conjunction with broader market structure analysis, support/resistance levels, and strict risk management. Past performance is not indicative of future results. Indicator
