WAD

William's Accumulation/Distribution
Description
Developed by Larry Williams, the Williams' Accumulation/Distribution indicator aims to reflect whether the market is controlled by buyers (accumulation) or by sellers (distribution). Prices making a new low along with the A/D indicator failing to reach a new low suggests that accumulation is taking place and creates a buy signal. Prices making a new high and the indicator failing to make new highs suggests distribution is taking place and creates a sell signal.
Category
Others
Parameters

None

Chart Script

SUM(IF( CLOSE>REF(CLOSE,1),CLOSE-MIN(REF(CLOSE,1),LOW),IF(CLOSE<REF(CLOSE,1), CLOSE-MAX(REF(CLOSE,1),HIGH),0)),0)