IIndicatorsiATRStop Method

Returns calculated values for ATR Trailing Stop

Definition

Namespace: SharpTraderBot
Assembly: SharpTraderBot (in SharpTraderBot.dll) Version: 1.0.0+81fb232713f5a80ff428d1daca72bff871bdbcc0
C#
List<double?> iATRStop(
	int sessionIndex,
	string symbol,
	TimeFrame timeframe,
	ATRStopMode mode,
	int lookbackPeriods = 21,
	double multiplier = 3,
	EndPriceType endType = EndPriceType.Close
)

Parameters

sessionIndex  Int32
Index of session in used session list
symbol  String
Common symbol name
timeframe  TimeFrame
Chart timeframe
mode  ATRStopMode
Result type
lookbackPeriods  Int32  (Optional)
Number of periods for ATR
multiplier  Double  (Optional)
Multiplier sets the ATR band width
endType  EndPriceType  (Optional)
Candle prices used as basis for stop offsets

Return Value

ListNullableDouble
List of values

See Also