Heikin Ashi self-test, 2026-10-21T18:26:47.526Z 1. Hand-worked bars (4-hour slots from 1 Jan 2024) A. HA values: bar 1 (100/110/90/105): HA open 102.5, HA close 101.25, red; bar 2 (105/120/104/118): HA open 101.875, HA close 111.75, HA low 101.875 = HA open -> green, no lower wick; bar 4 (124/124/100/101): HA open 113.90625, HA close 112.25, HA high 124 -> red with an upper wick; bar 5 (101/101/95/96): HA open 113.078125, HA high = HA open -> red, no upper wick [ok] bar 1 [ok] bar 2 green, no lower wick [ok] bar 4 red with an upper wick [ok] bar 5 red, no upper wick B. HA-NOWICK: long at the open of bar 3 (118), out at the open of bar 5 (101) after the red bar 4 (it has an upper wick, so no short); short at the open of bar 6 (96) after the no-wick red bar 5; closed at the last close (97) at the end of the data HA-FLIP: long at 118 on the colour change of bar 2, reversed short at 101 (open of bar 5), closed at 97 [ok] HA-NOWICK: -14.500%, -1.142% [ok] HA-FLIP: reversal at the same minute [ok] the signal of bar 2 is executed at the first minute of bar 3 [ok] reference identical (3 variants) C. a 4-hour slot with only 100 minutes after bar 2: no HA bar, the chain continues; the signal of bar 2 executes at the open of that short slot [ok] short slot skipped; entry at 200; reference identical D. the 200-bar average: a steady rise gives a no-wick green bar every time; HA-NOWICK is long from the open of bar 3, HA-NOWICK-200 only from bar 201 (the first with 200 closes, above their mean); a steady fall gives the shorts the same way [ok] entries 1002, 1200, 2998, 2800 [ok] reference identical E. no signal is taken on a bar that ends before 1 Oct 2017 [ok] the bar ending at 00:00 on 1 Oct is the first live one 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] HA-FLIP: 4990 trades, reference 4990, identical [ok] HA-NOWICK: 2873 trades, reference 2873, identical [ok] HA-NOWICK-200: 1670 trades, reference 1670, identical 3. Control at offset 0 [ok] HA-FLIP: 4990 control trades identical to the real ones [ok] HA-NOWICK: 2873 control trades identical to the real ones [ok] HA-NOWICK-200: 1670 control trades identical to the real ones PASSED