Accumulation/Distribution self-test, 2026-10-22T09:36:06.908Z 1. Hand-worked bars (4-hour slots from 1 Jan 2024) A. A/D: 10/12/8/11 vol 100 -> MFM 0.5, +50; 11/11/11/11 vol 50 -> high = low, 0; a slot of 100 minutes is skipped; 11/13/10/10 vol 200 -> MFM -1, -200: A/D 50, 50, -150; EMA3 50, 50, -50; EMA10 50, 50, 13.6364; Chaikin oscillator 0, 0, -63.6364 [ok] A/D 50, 50, -150; oscillator 0.0000, 0.0000, -63.6364 B. AD-CHO: a bar closing at its high on volume turns the oscillator up -> long at the next open (102); a bar closing at its low on large volume turns it down -> reversed short at the next open (98), held to the end [ok] long -4.020%, then short to the end [ok] reference identical (3 variants) C. AD-MA: 25 bars with no money flow, then a bar closing at its high on volume: A/D crosses above its 20-bar average -> long at the next open [ok] long from the open of bar 27; reference identical D. AD-DIV: a swing low at bar 6 (low 90) and a lower one at bar 20 (low 85) with A/D higher (buying in between) -> bullish divergence, known at bar 25; long at the open of bar 26 (105), stop 85, R 20, target 145 [ok] stopped at 85: -19.138%; reference identical [ok] neither level in 30 slots: out at the open of the 30th slot after the entry; reference identical [ok] previous swing low 64 bars earlier (more than 60): no trade 2. Real data: engine against the independent reference 4789278 minutes 2017-08-17 04:00 .. 2026-09-30 23:59 UTC (open times); 19968 used 4-hour bars [ok] AD-DIV: 316 trades, reference 316, identical [ok] AD-MA: 2453 trades, reference 2453, identical [ok] AD-CHO: 2231 trades, reference 2231, identical 3. Control at offset 0 [ok] AD-DIV: 315 control trades on the real entry slots and directions (exits at slot opens by definition) [ok] AD-MA: 2452 control trades identical to the real ones [ok] AD-CHO: 2230 control trades identical to the real ones PASSED