Definition
The ADXR is equal to the current ADX plus the ADX from n bars ago divided by 2.
Syntax
ADXR(int interval, int period)
ADXR(IDataSeries inputData, int interval, int period)
Returns default value
ADXR(int interval, int period)[int barsAgo]
ADXR(IDataSeries inputData, int interval, int period)[int barsAgo]
Return Type
double; Accessing this method via an index value [int barsAgo] returns the indicator value of the referenced bar.
|
Parameters |
|
|
interval |
The interval between the first ADX value and the current ADX value |
|
period |
The number of bars to include in the calculation |
|
inputData |
Indicator source data (?) |
Examples
|
// Prints the current value of a 20 period ADXR using default price type
|
Source Code
You can open up the indicator source code via the NinjaScript Editor.