Volúmenes VolumeCumulativeDivergence Disponible en Builder

Accumulation/Distribution

The Accumulation/Distribution line is a running total of each bar's volume, weighted by where the bar closed inside its own range. Closing near the high adds almost all of it, closing near the low subtracts almost all of it, closing in the middle adds nothing. Its level is arbitrary — what carries information is the slope, and where that slope disagrees with price.

Parameters
None
Zero line
None
Volume used
Tick
No zero line — only the slope carries meaningA/D — volume weighted by where the close sat in the bar

Ilustrativo — datos sintéticos, no una cotización en vivo.

What the A/D line tells you

Each bar gets a score between −1 and +1 for where it closed between its own high and low. Multiply that score by the bar's volume and add it to a running total. A day that closes on its high with heavy trading adds a lot; the same volume closing mid-range adds nothing at all. The result is a line that goes up while closes are being pushed toward highs and down while they are being pushed toward lows. Because it is a total, the number itself depends on where the chart's history begins and means nothing — the two things you can read are which way it is sloping and whether that agrees with price.

  • Rising: closes are landing near highs, and volume is behind them
  • Falling: closes are landing near lows
  • Flat while price moves: the range is being covered but the closes are not committing
  1. 1 Score the bar: ((close − low) − (high − close)) / (high − low)
  2. 2 Multiply the score by the bar's volume
  3. 3 Add it to the running total
Mostrar la fórmula y detalles de cálculo

The Accumulation/Distribution line is one score and one running total:

  1. MFM = ((close − low) − (high − close)) / (high − low)
  2. A/D = A/D[1] + MFM × volume

The first line places the close between the bar’s own extremes: at the high it is +1, at the low −1, exactly in the middle 0. The second weights that by how much trading the bar took and adds it to everything before it. So the line rises while closes are being pushed toward highs on real participation and falls while they are being pushed toward lows.

In MQL5 the call is iAD(symbol, period, applied_volume) — three arguments, and there is no period among them. There is nothing to optimise inside the indicator, because there is no window: every bar in the loaded history contributes. There is one buffer, read at index 0, drawn with DRAW_LINE, and the reference says so plainly.

Two consequences shape every rule you can build.

The level is meaningless. The total starts wherever the chart’s history starts, so the absolute number belongs to your terminal’s download rather than to the market. It changes when more history arrives. What survives that is the shape and every difference between two bars, which is why the Builder’s template never references a value — only one shift against another.

There is no zero to cross. Most oscillators hand you an event: a crossing, a threshold, a sign change. A/D hands you a slope. The nearest thing to an event is disagreement with price, and the classic version of it — a price swing low against an A/D swing low — needs swing detection the node palette does not have. The template uses a fixed ten-bar lookback instead, which is the same idea coarsened enough to be buildable, and it is worth being clear that the two are not the same test.

Where A/D earns its place next to OBV is on bars that reversed inside themselves. A long red candle that fell hard and closed back near its high subtracts its entire volume from OBV and adds to A/D. Neither answer is wrong; they are answers to different questions, and A/D’s question — where did the closes land inside their own ranges — is the one the Chaikin Oscillator then differences into something with a zero.

Señales

Las señales distintivas y testeables que ofrece A/D — y el régimen adecuado para cada una.

Divergence from Price

Listo en Builder
Condición
Price is lower than it was N bars ago while A/D is higher
Mejor régimen
Trend exhaustion
Uso típico
The template's rule — buying went on through the decline

Slope Agreement

Listo en Builder
Condición
A/D is above its own value N bars ago
Mejor régimen
Trending
Uso típico
A permission filter for entries decided by price

Breakout Confirmation

Listo en Builder
Condición
Price leaves a range and A/D is rising with it
Mejor régimen
Breakout
Uso típico
Separate a break that was accumulated into from one that drifted

Swing-to-Swing Divergence

Lógica avanzada
Condición
Price makes a new low and the A/D total's swing low is higher
Mejor régimen
Trend exhaustion
Uso típico
The classic reading; needs swing detection rather than a fixed lookback

Implementación en MT5

Lo que MetaTrader 5 calcula y dibuja realmente: la referencia de cada regla de esta página.

Búferes

Índice Búfer Dibujado en MT5 como Qué contiene
0 MAIN_LINE Line The running total. One buffer, drawn with DRAW_LINE. The reference says so without qualification — 'It has only one buffer' — and the example on the same page copies index 0 and nothing else.

Notas de la plataforma

Funciona mejor / usar con cuidado

Ningún indicador tiene ventaja universal. Aquí es donde A/D ayuda — y donde engaña.

Funciona mejor

  • Confirming that a breakout was accumulated into rather than drifted through
  • Higher timeframes, where the close's position in the bar carries information
  • As a second opinion on a move price alone has already suggested
  • Instruments and sessions where the tick count actually reflects activity

Usar con cuidado

  • The level itself — it depends entirely on how much history your terminal has loaded
  • Bars that gap; the score only measures the distance travelled inside the bar
  • Comparing the value across symbols, timeframes or even brokers
  • Doji-heavy quiet stretches, where a close in the middle of a tiny range adds nothing at any volume

Crear una estrategia A/D

Conecta la señal a las reglas de entrada y salida, luego exporta un EA MT5 compilable — sin código.

  1. A/D at the bar that just closed (shift 1) and at the eleventh bar back
  2. Close at the same two bars
  3. A/D higher AND price lower → Open Buy · SL 50 / TP 150
  4. A/D lower AND price higher → Open Sell

Combinar A/D con otros indicadores

Un indicador raramente se sostiene solo. Estas combinaciones cubren los puntos ciegos de A/D.

A/D + Chaikin Oscillator

  1. A/D above its value 10 bars ago
  2. Chaikin above zero
  3. Buy
Por qué
The Chaikin Oscillator is this line with the level thrown away — a fast average of A/D minus a slow one. Reading them together is reading the same series at two speeds: A/D says which way the accumulation has gone over the whole stretch, and the oscillator says whether the recent part of it has turned. It is not an independent confirmation, and knowing that is the point
Mejor régimen
Trending

No single-flow template pairs them. Start from A/D Divergence Dip Buy and add a Chaikin node with a Compare against a Constant of 0 into the existing AND gate.

Abrir el Builder →

A/D + OBV

  1. A/D above its value 10 bars ago
  2. OBV above its value 10 bars ago
  3. Buy
Por qué
The other running total, built from the same tick volume by a different rule. OBV gives a bar's whole volume to whichever way it closed against the previous close; A/D splits that volume by where the close sat inside the bar. They part company exactly on the bars that reversed intrabar — a long red candle that closed off its low adds to A/D and subtracts from OBV
Mejor régimen
Trending

No single-flow template pairs the two. Start from A/D Divergence Dip Buy and add an OBV node plus a second OBV node at shift 11, compared against each other the same way the A/D pair is.

Abrir el Builder →

A/D + Bollinger Bands

  1. Price below the lower band
  2. A/D above its value 10 bars ago
  3. Buy
Por qué
A divergence says the flow disagrees with price but not when to act on it. A band gives the disagreement a place to resolve: price stretched to the lower band while the total is still rising is the same reading with an entry level attached
Mejor régimen
Reversal

No single-flow template pairs them. Start from A/D Divergence Dip Buy and swap the Close-versus-Close pair for a Bollinger node and a Price node into a Compare.

Abrir el Builder →

Parámetros

Valores iniciales para validar en tu propio par y temporalidad — no son configuraciones garantizadas.

Parámetro Valor predeterminado Rango de prueba sugerido Qué hace
Shift 0 0–30 Which bar back the node reads the total from. It is the only setting that changes what the node returns, and the template is built entirely out of it: since A/D has no level and no zero, every rule is one shift compared against another.
Timeframe Current M1–MN1 Which chart the total is accumulated on. Changing it changes the series completely — an H1 A/D and an H4 A/D are different totals over the same market, not the same total sampled differently.
Applied volume Tick volume Tick or Real Which volume series is accumulated. The Builder fixes this to tick volume, because real volume is unavailable on most retail forex feeds. It is the third and last argument iAD takes.
Period Not applicable There is none. The total has no averaging window; every bar since the start of the loaded history contributes. This is why the level is arbitrary and only differences are usable.

Ajustes preestablecidos iniciales

There are none iAD takes a symbol, a timeframe and a volume type. Nothing else exists to preset.

Ejemplos de mercado

Dónde A/D funciona, dónde falla y cómo un filtro cambia el resultado.

Funciona

Accumulation through a decline

Price grinds ten bars lower while each bar closes in the upper half of its range. The total finishes higher than it started, the entry fires, and the fixed target is reached on the rebound.

Falla

Divergence with nothing behind it

A quiet stretch where price slips a few pips and one heavy bar closing near its high lifts the total. Both conditions are met and the disagreement is a rounding error.

Filtrado

The decline the rule declines

Price falls ten bars and the closes land near the lows all the way down. The total falls with it, the divergence condition is not met, and no entry is taken — which is the difference between selling pressure and accumulation into weakness.

FAQ

What is the difference between A/D and OBV?
Both are running totals of the same tick volume; they differ in how a bar's volume is credited. OBV assigns the whole of it to one side based on whether the bar closed above or below the previous close. A/D splits it by where the close sat inside that bar's own high-low range, so a bar can contribute a fraction, and a bar that closes exactly mid-range contributes nothing at all. The practical difference shows up on reversal bars: a long red candle that closed well off its low subtracts everything from OBV and adds a little to A/D.
What is the difference between A/D and the Chaikin Oscillator?
The Chaikin Oscillator is this line differenced — a three-period average of A/D minus a ten-period one. That throws away the arbitrary level and leaves a series with a meaningful zero. If you want to know which way accumulation has gone over a stretch, read A/D. If you want an event you can act on, the oscillator crossing zero is one and A/D has none.
What settings should I use?
There are none. iAD takes a symbol, a timeframe and a volume type — no period, no applied price, no method. The only choices are which timeframe to accumulate on and what lookback you compare against, and the lookback lives in your rule rather than in the indicator.
Why does my A/D value differ from another platform's?
Almost certainly because of where the count started. The total accumulates from the oldest bar loaded, so a terminal with two years of history and one with ten will show different numbers for the same bar. Tick volume also varies between brokers. Neither affects the shape or any difference between two bars, which is all the indicator is usable for.
Can I build an A/D EA without coding?
Yes. The A/D Divergence Dip Buy template reads the line at the bar that just closed and at the eleventh bar back, reads the close at the same two bars, and requires the total to be higher while price is lower. The mirrored pair sells. There are no indicator parameters to set — only the lookback shifts and the stop distances.
How should I validate settings before going live?
Backtest on quality tick data, then run on a demo account before risking money. Two cautions specific to this one. Tick volume is broker-specific, so results carried over from someone else's data deserve extra scepticism. And the ten-bar lookback is a stand-in for swing-to-swing divergence, not the same thing — it fires far more often, so read the trade count before the profit and check whether a different lookback changes the answer entirely.

Glossary

Términos clave