IIndicatorsiROC Method
Returns calculated values for Rate of Change (ROC) and Momentum
Namespace: SharpTraderBotAssembly: SharpTraderBot (in SharpTraderBot.dll) Version: 1.0.0+81fb232713f5a80ff428d1daca72bff871bdbcc0
List<double?> iROC(
int sessionIndex,
string symbol,
TimeFrame timeframe,
PriceUsed price,
ROCMode mode,
int lookbackPeriods,
int? smaPeriods = null
)
Function iROC (
sessionIndex As Integer,
symbol As String,
timeframe As TimeFrame,
price As PriceUsed,
mode As ROCMode,
lookbackPeriods As Integer,
Optional smaPeriods As Integer? = Nothing
) As List(Of Double?)
List<Nullable<double>>^ iROC(
int sessionIndex,
String^ symbol,
TimeFrame timeframe,
PriceUsed price,
ROCMode mode,
int lookbackPeriods,
Nullable<int> smaPeriods = nullptr
)
abstract iROC :
sessionIndex : int *
symbol : string *
timeframe : TimeFrame *
price : PriceUsed *
mode : ROCMode *
lookbackPeriods : int *
?smaPeriods : Nullable<int>
(* Defaults:
let _smaPeriods = defaultArg smaPeriods null
*)
-> 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 ROCMode
- Result type
- lookbackPeriods Int32
- Number of periods to consider
- smaPeriods NullableInt32 (Optional)
- Optional. Number of periods for an ROC SMA signal line. Must be greater than 0, if specified
ListNullableDoubleList of values