As long as the last trade of the dat is in the top half of the spread, the A/D line moves up. That’s why it’s such a bogus measurement on a thinly traded stock.