HomeFeaturesAcademyLive SignalsCompareTrack RecordPricingToolsBlog
🌐 ES FR DE ZH AR
Log In Sign Up
✓Free indicator · open source · Pine Script

Multi-Oscillator Divergence Scanner [Quantum Algo]

Seven independent oscillators scanned at every confirmed swing, a divergence printed only when several agree, graded by how many, drawn on the candles and mirrored on a consensus pane — with the exact engines named on every label and a reaction zone that tells you when the signal has failed.

13Likes on TradingView
128Traders using it
7Oscillators
5 namedAlerts
Open sourceLicence
Multi-Oscillator Divergence Scanner by Quantum Algo on BTCUSDT perpetual 6-hour chart: a graded divergence line on price with its reaction zone and engine list, mirrored on the Composite Oscillator pane below
A graded divergence on Bitcoin 6H with its reaction zone, and the same line mirrored on the composite pane.
◆ What it is

The short answer

The Multi-Oscillator Divergence Scanner is a free, open-source TradingView indicator that scans up to seven classic oscillators simultaneously — RSI, MACD, Stochastic, CCI, On Balance Volume, Money Flow Index and Momentum — and displays the result on two synchronised canvases: divergence lines, graded labels and reaction zones on the price chart, and a Composite Oscillator built from every enabled engine in a pane below, with the same divergence lines mirrored onto the composite. You see both slopes of every divergence — price disagreeing with momentum — in one glance. The problem it solves is selective divergence trading: any single oscillator produces frequent divergences and most fail; requiring several mathematically independent engines to diverge at the same confirmed swing filters the noise to setups where the disagreement is broad, not incidental.

WHAT IT DRAWS?

Divergence lines on price and on the Composite Oscillator, graded labels listing the engines, reaction zones and a dashboard with per-engine state.

THE ORIGINAL PART?

True multi-engine confluence with full transparency — the label says which oscillators diverged.

REPAINT?

No — evaluated on confirmed pivots at bar close.

◆ Section

What a divergence is

A divergence occurs when price prints a new extreme but an oscillator refuses to confirm it. Regular bullish: price lower low, oscillator higher low — a reversal condition. Regular bearish: price higher high, oscillator lower high. Hidden divergences are the continuation counterparts: price higher low with oscillator lower low (hidden bullish), price lower high with oscillator higher high (hidden bearish). The scanner detects all four on confirmed swing pivots. Our divergence guide covers the reading; this page is the scanner.

◆ Section

The Composite Oscillator

The consensus reading of every engine you enable: bounded oscillators (RSI, Stochastic, MFI) contribute their native 0–100 values; unbounded engines (MACD histogram, OBV, Momentum) are range-normalised over a configurable lookback; CCI is rescaled onto the same axis. The average plots as a single gradient line with overbought and oversold guides, a midline fill, and the divergence lines drawn directly on it — aggregate momentum from the same engines that vote on every signal, not a separate calculation.

◆ On the chart

What it draws

Divergence lines on price

Connecting the two confirmed pivots, thickening with confluence; Strong signals in the accent colour.

Graded labels

With a diamond meter (one per contributing oscillator) and the list of engines that diverged — for example RSI · OBV · MFI.

Reaction zones

ATR-sized boxes around the pivot that grey out the moment price invalidates them.

The Composite Oscillator pane

With mirrored divergence lines, triangle marks and tinted extreme bands.

The dashboard

Last signal, a live divergence pressure meter, and one row per engine with its live value and last divergence side.

The Bitcoin 6-hour screenshot on this page shows a graded divergence on price with its reaction zone and the composite pane; the settings screenshot shows the Inputs tab.

CONFLUENCE GRADERWhich engines diverged and the context → the grade and how to trade it
Grade——
◆ Section

Why it is different

True multi-engine confluence.

All seven engines are evaluated independently at every confirmed pivot; a signal exists only when the minimum confluence count is reached.

Dual-canvas mirroring.

Every qualified divergence is drawn twice, connected at the same two pivots — the visual proof that defines a divergence.

Full transparency on every label.

Strength as a diamond meter and the exact oscillators that diverged; nothing is a black box.

Reaction zones with a life cycle.

Live zones and dead ones are always distinguished.

A divergence pressure gauge.

A decaying model of bullish and bearish divergence weight over time — which side has been stacking disagreement.

◆ Under the hood

How it works

1

Pivot scanning. Swing highs and lows confirmed with a symmetric lookback; all checks on closed bars at pivot confirmation.

2

Confluence evaluation. Each enabled oscillator's value at the pivot compared against its value at the previous same-side pivot; the four types tested independently per oscillator.

3

Grading. Signals meeting the minimum confluence print with diamonds; those reaching the Strong threshold upgrade in colour and thickness on both canvases.

4

Composite rendering and reaction zones as described; zones grey out on an invalidating close.

5

Chart hygiene. Divergences kept are capped on both canvases; older drawings deleted automatically.

◆ Inputs

Settings

GroupInputWhat it doesWhere to start
PivotsLeft / right lengthSwing size5 / 5 intraday; 8 / 8 on 4H+
EnginesToggles and lengths for RSI, MACD, Stochastic, CCI, OBV, MFI, MomentumWhich oscillators votedefault mix
CompositeNormalisation lookback, OB/OS levels, pane marks, mirrored linesThe consensus pane100; 70 / 30; on
DivergencesRegular and hidden togglesTypes detectedon / on
Minimum confluenceEngines that must agree2
Strong thresholdUpgrade to accent4
Reaction zonesHeight (ATR ratio), extensionSize and length of the box0.5; 20 bars
HygieneDivergences to keepDrawings cap12
DashboardText size, position, live values, coloursThemeable—
Multi-Oscillator Divergence Scanner settings panel: pivot lengths, seven oscillator toggles and lengths, composite normalisation, regular and hidden divergence toggles, minimum confluence, Strong threshold, reaction zones
Pivots, the seven engine toggles, the composite pane and the confluence thresholds.
◆ Alerts

Alerts

Bullish DivergenceBearish Divergence (a regular divergence met the minimum)Hidden Bullish DivergenceHidden Bearish DivergenceStrong Divergence

Five named conditions: Bullish Divergence, Bearish Divergence (a regular divergence met the minimum), Hidden Bullish Divergence, Hidden Bearish Divergence, and Strong Divergence.

◆ Workflow

How to use it

1

Start at minimum confluence 2 and Strong 4. Raise to 3 for a strict, low-frequency reversal tool; lower to 1 to study single-oscillator behaviour.

2

Read the pane and the chart together. Price sloping one way, the composite the other, connected at the same pivots.

3

Regular divergences are reversal-oriented — exhaustion evidence at swing extremes, strongest with the composite inside an extreme band.

4

Hidden divergences are continuation-oriented — trend re-entry evidence on pullbacks; do not read them as reversals.

5

Use the reaction zone as the decision area. A live zone holding on retest supports the signal; a greyed zone means it failed.

◆ Setups

Three ways to trade it

The sweep divergence.

A Strong regular bearish divergence whose second pivot is a swept high from Liquidity Sweeps — exhaustion at the raid; short the change of character with the stop above the zone.

The hidden continuation.

Hidden bullish divergence on a pullback into an order block in an uptrend — the trend re-entry with structure; stop below the block.

The zone retest.

A live reaction zone holding on the second touch, with the composite still in its extreme band — the confirmation entry, target the opposite Institutional Key Level.

◆ Comparison

How it compares

Against single-oscillator divergence scripts: one engine and every divergence versus seven independent engines, graded confluence and a composite. Against the TDI: the TDI is one momentum pane; the scanner votes across seven. Against MACD Matrix: the matrix reads one engine deeply across timeframes; the scanner reads seven engines at one pivot. Against Zeno: Zeno prints the entry from structure; a Strong divergence at the same level is the momentum confirmation.

◆ Honest limits

Limitations

Divergence can persist or fail during strong trends; regular divergences against a powerful trend are the weakest application. Volume engines are less meaningful on symbols with unreliable volume. Pivot confirmation introduces intentional delay.

◆ Credits

Credits

RSI by J. Welles Wilder Jr. (1978); MACD by Gerald Appel; the Stochastic Oscillator popularised by George C. Lane; CCI by Donald Lambert (1980); On Balance Volume by Joseph Granville (1963); the Money Flow Index by Gene Quong and Avrum Soudack. Drawing divergence lines on an oscillator is shared prior art. The multi-engine confluence scanner, the consensus Composite Oscillator, dual-canvas mirroring, transparency labelling, strength grading, the reaction-zone life cycle, the pressure model and all code are original work by Quantum Algo, published open source.

◆ Setup

Step-by-step: adding it to your TradingView chart

1

Open the script page on TradingView (link above) and click Add to favorites, then Use on chart — or on any chart open Indicators, search "Multi-Oscillator Divergence Scanner Quantum Algo" and add it. Free on every TradingView plan.

2

Open the indicator's settings and set the inputs for your market and timeframe from the table above; the defaults are tuned for crypto on 1-hour to 6-hour charts.

3

In the Style tab, match the colours to your chart theme; the dashboard position and text size are in Inputs.

4

To set alerts, right-click the chart → Add alert, choose the indicator as the condition and pick the event; set "Once per bar close" so alerts match the closed-bar logic.

5

Save the layout, and add the other free Quantum Algo tools to it — they are designed to sit together.

6

To read or reuse the code, click Source code on the script page; republishing is subject to TradingView's house rules.

◆ Open source

Inside the code, for developers

Pine Script, open source. Worth reading if you want to modify it: every detection and signal gated on barstate.isconfirmed; state held in capped arrays of drawing objects with explicit create, update and retire functions; where statistics are kept, first-in-first-out arrays with shrinkage and a Wilson bound computed inline; named alertcondition calls so webhooks receive a consistent payload. The Academy's Pine Script tutorials and the TradingView backtesting guide cover strategy conversion.

◆ Layering

Using it with the other free indicators

The free tools layer on one chart: the Smart Money Concepts Engine for bias and the Confluence Score; Order Blocks with Volume, Fair Value Gaps + Inversion and Institutional Key Levels for the zone; Liquidity Sweeps, Sessionscope and Liquidation Magnet for the liquidity and the trigger; OTE + Silver Bullet for the time-qualified entry; the Institutional Volume Profile and Pressure Oscillator for whether volume agrees; the trend and volatility family — the Adaptive Trend Sentinel, SuperTrend Engine, Golden Cross Engine, Anchored VWAP Engine, Trendline Architect, Keltner Rings and Volatility Storm Tracker — for regime, direction and room; and the momentum and statistics family — MACD Matrix, the Multi-Oscillator Divergence Scanner, the Event Probability Engine, the Market Bottom Finder, the Neural Confluence Engine, the Adaptive Lorentzian Classification and the Directional Strength Index — for momentum, probability and strength. The free-indicators hub lists every tool; the SMC guide is the method behind the layering.

◆ Avoid these

Common mistakes with this indicator

  • Trusting the developing bar — every event waits for the close.
  • Trading every marker — the tool gives momentum and context; the entry needs a structure level and a stop beyond it.
  • Default lengths on the wrong timeframe — adjust the inputs, as the settings table shows.
  • Reading the statistics as promises — they describe this chart's history, shrunk toward neutral on purpose.
  • Stacking ten random scripts — the free tools layer because they were built to.
◆ The premium layer

Want the signal, not just the structure?

Zeno reads Smart Money structure across timeframes and prints the entry, stop, TP1 and TP2 on your chart — with a public record of 160 posted trades, 120 wins and 40 losses at the stated levels. QuantumBot executes it on Bybit, Binance, OKX, Bitget and Kraken.

Quantum Algo Zeno Gold on XAUUSD 15-minute chart with long and short signals, stop-loss zone, TP1, TP2 and dashboard
◆ Zeno Gold · XAUUSD 15M · the premium engine
◆ Vocabulary

Glossary for this indicator

DivergencePrice making a new extreme while an oscillator refuses to confirm it.
Regular divergenceThe reversal form: lower low in price with a higher low in the oscillator, or the mirror.
Hidden divergenceThe continuation form: higher low in price with a lower low in the oscillator, or the mirror.
ConfluenceThe number of enabled oscillators diverging at the same confirmed pivot.
Strong signalA divergence reaching the Strong threshold, upgraded in colour and thickness.
Composite OscillatorThe average of every enabled engine, normalised onto one 0–100 axis.
Reaction zoneAn ATR-sized box around the pivot that greys out when price invalidates it.
Pressure gaugeA decaying model of bullish versus bearish divergence weight over time.
PivotA confirmed swing high or low, defined by symmetric left and right lengths.
◆ Questions

Frequently asked questions

Does the Divergence Scanner repaint?

No. Divergences are evaluated only on confirmed pivots at bar close; the trade-off is confirmation lag equal to the right-side pivot length.

Why do some obvious divergences not print?

Either the confluence minimum was not reached, the oscillator involved is disabled, or the swing did not confirm as a pivot under the current lengths.

Which oscillators should I enable?

The default set mixes momentum and volume perspectives — independent evidence, not seven copies of the same maths.

Is a Strong signal a guaranteed reversal?

No. Strength counts agreement between engines; it is a transparency measure, not a probability of profit.

Why does a pane line start slightly off the composite's peak?

Divergence is measured at price structure points; the line connects the composite's values at the two confirmed price pivots, which is the correct comparison.

How does it relate to Zeno?

Zeno prints entries from structure; the scanner says whether momentum disagrees with price at that level — a Strong divergence on a Zeno signal bar is the strongest version of both.

Which divergence indicator is the most reliable?

None on its own; reliability comes from requiring independent evidence. Seven engines voting at one confirmed pivot, graded by agreement, is the closest thing to a reliable divergence read.

What is the difference between regular and hidden divergence?

Regular signals reversal — price extreme not confirmed by momentum; hidden signals continuation — a pullback not confirmed by momentum. The scanner detects both and labels them.

Can I get a divergence alert?

Yes — Bullish, Bearish, Hidden Bullish, Hidden Bearish and Strong Divergence are named alert conditions.

Why is there a pane at all?

Because a divergence is two slopes; the Composite Oscillator gives you the momentum slope next to the price slope, connected at the same pivots.

Does it work on forex?

Yes; disable the volume engines on tick-volume symbols and require 3 of the remaining 5 for the same selectivity.

What is the reaction zone for?

The decision area around the pivot: live while it holds, greyed the moment price invalidates it — so a failed divergence never lingers on the chart as a signal.

◆ Free · open source

Add Multi-Oscillator Divergence Scanner to your chart

One click on TradingView, free on every plan, code you can read. Nothing repaints.