{ "name": "accumulation_distribution_line_divergence_swing_reversal", "source": "Larry Williams / classic technical analysis (A/D line divergence)", "type": "filter_flag", "rule": "When a 20-bar price swing high makes a higher high vs the prior 20-bar swing high but the Accumulation/Distribution Line (sum of ((Close - Low) - (High - Close)) / (High - Low) * Volume) makes a lower high over the same two swing points, allow only long setups (and vice versa for short divergence), requiring the divergence to be confirmed by a close beyond the prior swing high/low.", "pseudocode": "if len(bars) < 50: skip = cumsum(((close - low) - (high - close)) / (high - low) * volume) # handle high==low_high = max(high[-20:])_swing_high = max(high[-40:-20])_low = min(low[-20:])_swing_low = min(low[-40:-20]) close[-1] > prev_swing_high and swing_high > prev_swing_high and ad[-1] < ad[-20]: flag = 'long_only' close[-1] < prev_swing_low and swing_low < prev_ Author: Andrew Stewart Caldin, Independent Researcher, UK. Part of the E8 Intelligence Research series. Platform: e8intelligence.com
No takes yet. Share an insight, caveat, or question.
Andrew Stewart Caldin (2026) studied this question.
Synapse has enriched 5 closely related papers on similar clinical questions. Consider them for comparative context: