Return value of the Williams Accumulation Distribution indicator of selected price.
Syntax:
1 |
WilliamsAccumDistr(price) |
Calculation :
TRH = the highest of (yesterday’s close or today’s high)
TRL = the smallest of (yesterday’s close or today’s low)
If the today’s close > yesterday’s close then A/D = today’s close – TRL
if the today’s close < the yesterday’s close then A/D = today’s close – TRH
If the today’s close = yesterday’s close then A/D = 0
A/D William = today’s A/D + yesterrday’s A/D William