Contents 

Technical Analysis functions library for .NET
Trend Indicators
Advance/Decline Line
Aroon Down
Aroon Oscillator
Aroon Up
Bill Williams Profitunity
DEMA
Exponential Moving Average
Exponential Moving Average Difference
Exponential Moving Average Factor
Exponential Moving Average Factor Difference
Line Weighted Moving Average
Line Weighted Moving Average Difference
MACD
Moving Average
Moving Average Difference
Nicoski
Positive Negative Changes Difference
Qstick Indicator
TEMA
Volatility Indicators
Average True Range
Bollinger Band
Bollinger Band Percent
Breadth Advance/Decline
Bollinger Band Width
True Range
Volatility
Volatility Chaikin
Momentum Indicators
Acceleration
Accumulation/Distribution
Balance Of Power
CCI
Fosback Unchanged Issues
Hughes Breadth Index
McClellan Oscillator
McClellan Summation Index
Momentum
Morris Daily Pressure
OBV Oscillator
OBV with Average Volume
On Balance Volume
Performance
Price Oscillator Percent Difference
Price Oscillator Points Difference
RSI
Stochastic Oscillator
Weighted Close
Wilder RSI
Williams R
Market Strength Indicators
Average Of Volume ROC
Chaikin A/D Oscillator
Chaikin Money Flow
Ease Of Movement
Market Facilitation Index
Volume Oscillator Percent Difference
Volume Oscillator Points Difference
Support and Resistance Indicators
Envelope
Additional Functions
Basic Functions
Average Changes
Average Negative Changes
Average Positive Changes
Change
Cumulative Sum
High Value
Low Value
Mean
Median Price
Negative Changes
Negative Changes Sum
Percent Change
Positive Changes
Positive Changes Sum
Sum Lag
Typical Price
Statistical Functions
Correlation Coefficient
Covariance
Standard Deviation
Variance
All Functions
Order TA4.NET
System requirements
Contacts

TA4.Net Web Online Help

Prev Page Next Page

Williams %R

Williams’ %R (pronounced "percent R") is a momentum indicator that measures overbought/oversold levels.

Williams’ %R was developed by Larry Williams.

The interpretation of Williams' %R is very similar to that of the Stochastic Oscillator except that %R is plotted upside-down and the Stochastic Oscillator has internal smoothing.

To display the Williams’ %R indicator on an upside-down scale, it is usually plotted using negative values (e.g., -20%). For the purpose of analysis and discussion, simply ignore the negative symbols.

Readings in the range of 80 to 100% indicate that the security is oversold while readings in the 0 to 20% range suggest that it is overbought.

As with all overbought/oversold indicators, it is best to wait for the security's price to change direction before placing your trades. For example, if an overbought/oversold indicator (such as the Stochastic Oscillator or Williams' %R) is showing an overbought condition, it is wise to wait for the security's price to turn down before selling the security. (The MACD is a good indicator to monitor change in a security's price.) It is not unusual for overbought/oversold indicators to remain in an overbought/oversold condition for a long time period as the security's price continues to climb/fall. Selling simply because the security appears overbought may take you out of the security long before its price shows signs of deterioration.

An interesting phenomena of the %R indicator is its uncanny ability to anticipate a reversal in the underlying security's price. The indicator almost always forms a peak and turns down a few days before the security's price peaks and turns down. Likewise, %R usually creates a trough and turns up a few days before the security's price turns up.

Syntax:

Public Function WilliamsR(ByVal HLOCV()() As Double, ByVal Lag As Long) As Double

Parameters:

  • ByVal HLOCV()() As Double
  • ByVal Lag As Long

Back to list

 

Example:

 

    Dim TA4Net As New TA4Net.CTAFunctions("YOUR-REGISTRATION-CODE")

    Dim Result() As Double

    Dim HLOCV(,) As Double

 

    ' loading values to array

    HLOCV = GetHLOCVValues()

    ' calculating Technical Analysis function

    Result = TA4Net.WilliamsR(HLOCV, 14)