NinjaScript > Language Reference > Indicator Methods > Average True Range (ATR) |
|
Description A measure of volatility introduced by Welles Wilder in his book: New Concepts in Technical Trading Systems.
The True Range indicator is the greatest of the following: -current high less the current low. -the absolute value of the current high less the previous close. -the absolute value of the current low less the previous close.
The Average True Range is a moving average (generally 14-days) of the True Ranges.
... Courtesy of Investopedia
Syntax
Return Value double; Accessing this method via an index value [int barsAgo] returns the indicator value of the referenced bar.
Parameters
Examples
Source Code You can view this indicator method source code by selecting the menu Tools > Edit NinjaScript > Indicator within the NinjaTrader Control Center window. |