Williams’ Accumulation / Distribution
Another indicator developed by trader Larry Williams, the Accumulation /
Distribution indicator shows a relationship of price and volume.
When the indicator is rising, the security is said to be accumulating. Conversely, when the indicator is falling, the security is said to being distributing. Prices may reverse when the indicator converges with price.
set BUY = WAD() < 1
Evaluates to buy when Williams’ Accumulation / Distribution is below 1.