IIndicatorsiATR Method
Returns calculated values for Average True Range indicator
Namespace: SharpTraderBotAssembly: SharpTraderBot (in SharpTraderBot.dll) Version: 1.0.0
List<double?> iATR(
int sessionIndex,
string symbol,
TimeFrame timeframe,
PriceUsed price,
ATRMode mode,
int lookbackPeriods = 14
)
Function iATR (
sessionIndex As Integer,
symbol As String,
timeframe As TimeFrame,
price As PriceUsed,
mode As ATRMode,
Optional lookbackPeriods As Integer = 14
) As List(Of Double?)
List<Nullable<double>>^ iATR(
int sessionIndex,
String^ symbol,
TimeFrame timeframe,
PriceUsed price,
ATRMode mode,
int lookbackPeriods = 14
)
abstract iATR :
sessionIndex : int *
symbol : string *
timeframe : TimeFrame *
price : PriceUsed *
mode : ATRMode *
?lookbackPeriods : int
(* Defaults:
let _lookbackPeriods = defaultArg lookbackPeriods 14
*)
-> List<Nullable<float>>
- sessionIndex Int32
- Index of session in used session list
- symbol String
- Common symbol name
- timeframe TimeFrame
- Chart timeframe
- price PriceUsed
- Price used in calculations
- mode ATRMode
- Result type
- lookbackPeriods Int32 (Optional)
- Number of periods to consider
ListNullableDoubleList of values