Williams %R
<< Click to Display Table of Contents >> Williams %R |
Developed by Larry Williams, Williams %R is a momentum indicator that works much like the Stochastic Oscillator. It is especially popular for measuring overbought and oversold levels. The scale ranges from 0 to -100 with readings from 0 to -20 considered overbought, and readings from -80 to -100 considered oversold.
... Courtesy of StockCharts
WilliamsR(int period)
WilliamsR(ISeries<double> input, int period)
Returns default value
WilliamsR(int period)[int barsAgo]
WilliamsR(ISeries<double> input, int period)[int barsAgo]
double; Accessing this method via an index value [int barsAgo] returns the indicator value of the referenced bar.
input |
Indicator source data (?) |
period |
Number of bars used in the calculation |
// Prints the current value of a 20 period WilliamsR using default price type |
You can view this indicator method source code by selecting the menu New > NinjaScript Editor > Indicators within the NinjaTrader Control Center window.