Description:
This
function measure market pressure and
looks for divergence
Formula:
If current Close > previous Close then
AD = previous AD + current Close - min(current Low or prev Close)
If current Close = previous Close then
AD = previous AD
If current Close < previous Close then
AD = previous AD - max of (current High or prev Close) - current Close
Parameters:
Period
Bars Back to calculate the WilliamsAD on
the selected TimeFrame
Arguments:
OHLC
or Output Indicator of another study
Output Indicators:
WilliamsAD
Example:
Study Name Expanded on
an Intraday Timeframe
I5_WilliamsAD(10)_I5
This study
calculates the WilliamsAD
Intraday 5 minute timeframe over the
last 10 bars
The output indicators names are appended to the studyname,
that is if the studyname is sn1 then
the outputindicator is
sn1::WilliamsAD