IIndicatorsiZigZag Method

Returns calculated values for Zig Zag

Definition

Namespace: SharpTraderBot
Assembly: SharpTraderBot (in SharpTraderBot.dll) Version: 1.0.0+81fb232713f5a80ff428d1daca72bff871bdbcc0
C#
List<double?> iZigZag(
	int sessionIndex,
	string symbol,
	TimeFrame timeframe,
	ZigZagMode mode,
	EndPriceType endType = EndPriceType.Close,
	[OptionalAttribute] decimal percentChange
)

Parameters

sessionIndex  Int32
Index of session in used session list
symbol  String
Common symbol name
timeframe  TimeFrame
Chart timeframe
mode  ZigZagMode
Result type
endType  EndPriceType  (Optional)
Candle prices used for extreme points
percentChange  Decimal  (Optional)
Percent price change to set threshold for minimum size movements

Return Value

ListNullableDouble
List of values

See Also