IIndicatorsiBollingerBands Method

Returns calculated values for Bollinger Bands

Definition

Namespace: SharpTraderBot
Assembly: SharpTraderBot (in SharpTraderBot.dll) Version: 1.0.0+81fb232713f5a80ff428d1daca72bff871bdbcc0
C#
List<double?> iBollingerBands(
	int sessionIndex,
	string symbol,
	TimeFrame timeframe,
	PriceUsed price,
	BollingerBandsMode mode,
	int lookbackPeriods = 20,
	double standardDeviations = 2
)

Parameters

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  BollingerBandsMode
Result type
lookbackPeriods  Int32  (Optional)
Number of periods to consider
standardDeviations  Double  (Optional)
Width of bands. Number of standard deviations from the moving average

Return Value

ListNullableDouble
List of values

See Also