Average Directional Movement Rating (ADXR)
<< Click to Display Table of Contents >> Average Directional Movement Rating (ADXR) |
The ADXR is equal to the current ADX plus the ADX from n bars ago divided by two.
ADXR(int interval, int period)
ADXR(ISeries<double> input, int interval, int period)
Returns default value
ADXR(int interval, int period)[int barsAgo]
ADXR(ISeries<double> input, int interval, 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 (?) |
interval |
The interval between the first ADX value and the current ADX value |
period |
Number of bars used in the calculation |
// Prints the current value of a 20 period ADXR 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.