IIndicatorsiPivots Method
Returns calculated values for Pivots (swing highs/lows and trend lines)
Namespace: SharpTraderBotAssembly: SharpTraderBot (in SharpTraderBot.dll) Version: 1.0.0+81fb232713f5a80ff428d1daca72bff871bdbcc0
List<double?> iPivots(
int sessionIndex,
string symbol,
TimeFrame timeframe,
PivotsMode mode,
int leftSpan = 2,
int rightSpan = 2,
int maxTrendPeriods = 20,
EndPriceType endType = EndPriceType.HighLow
)
Function iPivots (
sessionIndex As Integer,
symbol As String,
timeframe As TimeFrame,
mode As PivotsMode,
Optional leftSpan As Integer = 2,
Optional rightSpan As Integer = 2,
Optional maxTrendPeriods As Integer = 20,
Optional endType As EndPriceType = EndPriceType.HighLow
) As List(Of Double?)
List<Nullable<double>>^ iPivots(
int sessionIndex,
String^ symbol,
TimeFrame timeframe,
PivotsMode mode,
int leftSpan = 2,
int rightSpan = 2,
int maxTrendPeriods = 20,
EndPriceType endType = EndPriceType::HighLow
)
abstract iPivots :
sessionIndex : int *
symbol : string *
timeframe : TimeFrame *
mode : PivotsMode *
?leftSpan : int *
?rightSpan : int *
?maxTrendPeriods : int *
?endType : EndPriceType
(* Defaults:
let _leftSpan = defaultArg leftSpan 2
let _rightSpan = defaultArg rightSpan 2
let _maxTrendPeriods = defaultArg maxTrendPeriods 20
let _endType = defaultArg endType EndPriceType.HighLow
*)
-> List<Nullable<float>>
- sessionIndex Int32
- Index of session in used session list
- symbol String
- Common symbol name
- timeframe TimeFrame
- Chart timeframe
- mode PivotsMode
- Result type
- leftSpan Int32 (Optional)
- Number of span periods to the left of the evaluation period
- rightSpan Int32 (Optional)
- Number of span periods to the right of the evaluation period
- maxTrendPeriods Int32 (Optional)
- Number of periods in the lookback window for trend lines
- endType EndPriceType (Optional)
- Candle prices used for pivot points
ListNullableDoubleList of values