Trading Indicator
Accumulation Distribution Indicator for Automated Trading
Learn the Accumulation Distribution indicator and automate it with Tradeworks. Volume-based buying and selling pressure analysis for forex trading.
Understanding Accumulation/Distribution
Accumulation/Distribution (A/D) is a volume-based indicator that estimates whether buying pressure or selling pressure is dominating. It combines price position within the period range with volume, then adds that value to a cumulative line.
In automated trading, A/D can help a bot check whether a move has volume support before entering a position. A rising A/D line can support long-side trend filters, while a falling A/D line can support short-side trend filters.
- Accumulation: Buying pressure is increasing and the A/D line rises
- Distribution: Selling pressure is increasing and the A/D line falls
- Trend Confirmation: A/D can support price-based trend filters when both point in the same direction
- Volume Context: A/D adds volume information to strategies that would otherwise rely only on price
- Manual Divergence Context: Traders can manually review divergence, but Tradeworks should not present it as an automated strategy
Accumulation/Distribution (A/D) is determined by the changes in price and volume. The indicator measures the strenght of the supply and demand for the particular instrument. If the indicator is following the direction of the price, it can be used as the confirmation of the current trend. The divergence between price and the indicator may provide reversal context for manual review.
Strategy 1: A/D Moving Average Trend Confirmation
Trend Confirmation
This strategy uses A/D as a volume confirmation layer and Moving Average as the price trend filter. The goal is to avoid A/D-only signals and require both price trend and volume context to align.
Setup in Tradeworks:
- Add Accumulation/Distribution (A/D) indicator to your strategy
- Add Moving Average with period 200 as price trend filter
- Add a Moving Average smoothing/filter line for the A/D value if available in the editor
- Configure entry conditions:
- Open Position Buy Signal: Strategy symbol ASK price is greater than Moving Average (200) value AND A/D value is greater than A/D Moving Average value
- Open Position Sell Signal: Strategy symbol BID price is less than Moving Average (200) value AND A/D value is less than A/D Moving Average value
Trade Management
- Stop Loss Exit Signal:
- Take Profit Exit Signal:
- Testing note: Compare chart intervals and instruments in backtesting before deciding where this setup fits your approach.
Implementation note: if an A/D Moving Average value cannot be selected directly in the editor, use Strategy 2 or Strategy 3 instead.
Strategy 2: A/D Zero-Line Momentum Filter
Momentum Filter
This strategy uses a simple threshold approach, combining A/D direction with a Moving Average price filter. It is included only if the editor exposes A/D values in a way that can be compared with 0.
Setup in Tradeworks:
- Add Accumulation/Distribution (A/D) indicator
- Add Moving Average with period 50
- Configure entry conditions:
- Open Position Buy Signal: A/D value crosses from below to above 0 AND Strategy symbol ASK price is greater than Moving Average (50) value
- Open Position Sell Signal: A/D value crosses from above to below 0 AND Strategy symbol BID price is less than Moving Average (50) value
Trade Management
- Stop Loss Exit Signal:
- For longs: 'Strategy symbol BID price is less than Moving Average (50) value'
- For shorts: 'Strategy symbol ASK price is greater than Moving Average (50) value'
- Take Profit Exit Signal:
- Common Timeframe: 1-hour to 4-hour charts
- Common Pairs: EUR/USD, GBP/USD, AUD/USD
Implementation note: because A/D is cumulative, confirm whether 0 is a meaningful selectable threshold in the editor. If not, use A/D versus A/D Moving Average or an equivalent supported comparison.
Strategy 3: A/D Bollinger Band Confirmation
Volatility Confirmation
This strategy uses Bollinger Bands for price context and A/D as a volume confirmation filter. It avoids pattern detection and only uses crossings/comparisons.
Setup in Tradeworks:
- Add Accumulation/Distribution (A/D) indicator
- Add Bollinger Bands with period 20 and standard deviation 2
- Add Average True Range (ATR) for volatility-based exits
- Configure entry conditions:
- Open Position Buy Signal: Strategy symbol ASK price crosses from below to above Bollinger Bands middle band AND A/D value is greater than 0
- Open Position Sell Signal: Strategy symbol BID price crosses from above to below Bollinger Bands middle band AND A/D value is less than 0
Trade Management
- Stop Loss Exit Signal:
- Take Profit Exit Signal:
- For longs: 'Strategy symbol BID price is greater than Bollinger Bands upper band'
- For shorts: 'Strategy symbol ASK price is less than Bollinger Bands lower band'
- Typical Timeframe: 1-hour to 4-hour charts
- Suitable Pairs: EUR/USD, GBP/USD, EUR/GBP, AUD/USD
For Bot Developers: Implementation Tips
Choosing A/D Settings and Context
- Cumulative behavior: A/D builds over time and should not be treated like a bounded oscillator
- Moving Average comparison: A/D value above or below a Moving Average of A/D is usually easier to express than chart-pattern logic
- Price filter: Pair A/D with price-based filters such as Moving Average or Bollinger Bands
- Manual review: Divergence can help discretionary analysis, but it should not be implemented as an automated Tradeworks rule
Combining with Other Indicators
- Trend Filter: Use Moving Average to align A/D confirmation with broader price direction
- Volatility Adjustment: Use Average True Range (ATR) for dynamic Stop Loss Exit Signal and Take Profit Exit Signal levels
- Volatility Context: Use Bollinger Bands for price-location confirmation
- Volume Comparison: Compare A/D with Money Flow Index (MFI) for another volume-based confirmation layer
- Momentum Context: Use Relative Strength Index (RSI) when a separate momentum filter is useful
Common Pitfalls to Avoid
- Automating divergence: Avoid visual chart-structure comparisons in Tradeworks strategy rules
- Using position-reference shortcuts: Prefer concrete rules such as previous bar close, Moving Average, Bollinger Bands, or ATR-based levels
- Trading A/D alone: Add a price, trend, or volatility filter so the bot has more context
Manageable Beginner Setup
- Start with trend confirmation: Use Strategy symbol ASK price above MA200 and A/D above a smoothing line for long setups
- Use ATR exits: Keep Stop Loss Exit Signal and Take Profit Exit Signal rules consistent across tests
- Test one direction at a time: Compare long-only, short-only, and two-way rule sets
- Review divergence manually: Keep divergence out of automated logic unless editor operators support it directly
Questions
Frequently Asked Questions
What does Accumulation/Distribution measure?
Accumulation/Distribution (A/D) combines price and volume to estimate whether buying pressure or selling pressure is dominating. A rising A/D line suggests accumulation, while a falling line suggests distribution.
How can Accumulation/Distribution be used in automated trading?
In Tradeworks, A/D can be used as a rule-based volume confirmation input alongside trend filters such as Moving Average, volatility filters such as Bollinger Bands, and ATR-based exit rules.
Can Tradeworks automate A/D divergence?
No. Traders can manually review divergence between A/D and price, but Tradeworks should not present divergence as an automated strategy because the required chart-structure comparisons are not available in the editor operators.
Which indicators combine well with Accumulation/Distribution?
A/D commonly combines with Moving Average for trend direction, Average True Range for volatility-based exits, Bollinger Bands for volatility context, and Money Flow Index for another volume-based confirmation layer.
Is Accumulation/Distribution a standalone trading system?
No. A/D is usually tested as a confirmation indicator. Automated strategies should combine it with clear entry filters, exit rules, and backtesting before any live use.
Try it in Tradeworks
Want to try Accumulation/Distribution in Tradeworks?
Build and test Accumulation/Distribution rules in a no-code strategy builder before deciding whether they fit your trading approach.
Trend Indicators
Trend indicators help traders identify the direction of market movement. They smooth price data to show whether an uptrend, downtrend, or sideways movement is occurring.
Simple Moving Average
Learn more →
Exponential Moving Average
Learn more →
Parabolic SAR
Learn more →
Heikin Ashi
Learn more →
High Low
Learn more →
Linear Regression
Learn more →
Two Pole Butterworth Filter
Learn more →
Ichimoku Kinko Hyo
Learn more →
Alligator
Learn more →
Envelopes
Learn more →
Doji Arrows
Learn more →
Oscillators
Oscillators are bounded indicators that move between set values. They help identify overbought and oversold conditions, momentum, and potential reversal points.
Relative Strength Index
Learn more →
Relative Momentum Index
Learn more →
Stochastic Oscillator
Learn more →
Moving Average Convergence/Divergence
Learn more →
Awesome Oscillator
Learn more →
Accelerator/Decelerator Oscillator
Learn more →
Commodity Channel Index
Learn more →
Relative Vigor Index
Learn more →
Williams' Percent Range
Learn more →
Gator Oscillator
Learn more →
DeMarker
Learn more →
Fisher Transform
Learn more →
Fisher CG
Learn more →
Laguerre RSI
Learn more →
Momentum
Learn more →
Moving Average of Oscillator
Learn more →
Volume Indicators
Volume indicators measure the strength of price movements by analyzing trading volume. They help confirm trends and identify potential reversals.
Volatility Indicators
Volatility indicators measure the rate of price change. They help traders set stop losses, determine risk levels, and identify potential breakouts.
Bill Williams Indicators
A collection of indicators developed by Bill Williams for trend identification, momentum analysis, and fractal pattern recognition.