IIndicatorsiPivots Method

Returns calculated values for Pivots (swing highs/lows and trend lines)

Definition

Namespace: SharpTraderBot
Assembly: SharpTraderBot (in SharpTraderBot.dll) Version: 1.0.0+81fb232713f5a80ff428d1daca72bff871bdbcc0
C#
List<double?> iPivots(
	int sessionIndex,
	string symbol,
	TimeFrame timeframe,
	PivotsMode mode,
	int leftSpan = 2,
	int rightSpan = 2,
	int maxTrendPeriods = 20,
	EndPriceType endType = EndPriceType.HighLow
)

Parameters

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

Return Value

ListNullableDouble
List of values

See Also