IIndicatorsiSlope Method

Returns calculated values for Slope and Linear Regression

Definition

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

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  SlopeMode
Result type
lookbackPeriods  Int32
Number of periods to consider

Return Value

ListNullableDouble
List of values

See Also