NinjaScript > Language Reference > Indicator Methods >
Average Directional Movement Rating (ADXR)
The ADXR is equal to the current ADX plus the ADX from n bars ago divided by two.
double; Accessing this method via an index value [int barsAgo] returns the indicator value of the referenced bar.
You can view this indicator method source code by selecting the menu Tools > Edit NinjaScript > Indicator within the NinjaTrader Control Center window.