IIndicatorsiBollingerBands Method
Returns calculated values for Bollinger Bands
Namespace: SharpTraderBotAssembly: SharpTraderBot (in SharpTraderBot.dll) Version: 1.0.0+81fb232713f5a80ff428d1daca72bff871bdbcc0
List<double?> iBollingerBands(
int sessionIndex,
string symbol,
TimeFrame timeframe,
PriceUsed price,
BollingerBandsMode mode,
int lookbackPeriods = 20,
double standardDeviations = 2
)
Function iBollingerBands (
sessionIndex As Integer,
symbol As String,
timeframe As TimeFrame,
price As PriceUsed,
mode As BollingerBandsMode,
Optional lookbackPeriods As Integer = 20,
Optional standardDeviations As Double = 2
) As List(Of Double?)
List<Nullable<double>>^ iBollingerBands(
int sessionIndex,
String^ symbol,
TimeFrame timeframe,
PriceUsed price,
BollingerBandsMode mode,
int lookbackPeriods = 20,
double standardDeviations = 2
)
abstract iBollingerBands :
sessionIndex : int *
symbol : string *
timeframe : TimeFrame *
price : PriceUsed *
mode : BollingerBandsMode *
?lookbackPeriods : int *
?standardDeviations : float
(* Defaults:
let _lookbackPeriods = defaultArg lookbackPeriods 20
let _standardDeviations = defaultArg standardDeviations 2
*)
-> 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 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
ListNullableDoubleList of values