Click or drag to resize

ZigZag Class

Inheritance Hierarchy

Namespace:  StockSharp.Algo.Indicators
Assembly:  StockSharp.Algo (in StockSharp.Algo.dll) Version: (4.4.17)
public class ZigZag : BaseIndicator

The ZigZag type exposes the following members.

Public methodZigZag
Initializes a new instance of the ZigZag.
Public propertyBackStep
Minimum number of bars between local maximums, minimums.
Public propertyContainer
The container storing indicator data.
(Inherited from BaseIndicator.)
Public propertyCurrentValue
The indicator current value.
Public propertyCurrentValueFunc
The converter, returning from the candle a price for the current value.
Public propertyDepth
Bars minimum, on which Zigzag will not build a second maximum (or minimum), if it is smaller (or larger) by a deviation of the previous respectively.
Public propertyDeviation
Minimum number of points between maximums (minimums) of two adjacent bars used by Zigzag indicator to form a local peak (local trough).
Public propertyHighValueFunc
The converter, returning from the candle a price for search of maximum.
Public propertyId
Unique ID.
(Inherited from BaseIndicator.)
Public propertyInputType
Input values type.
(Inherited from BaseIndicator.)
Public propertyIsFormed
Whether the indicator is set.
(Inherited from BaseIndicator.)
Public propertyLastValueShift
Shift for the last indicator value.
Public propertyLowValueFunc
The converter, returning from the candle a price for search of minimum.
Public propertyName
Indicator name.
(Inherited from BaseIndicator.)
Public propertyResultType
Result values type.
(Inherited from BaseIndicator.)
Public methodClone
Create a copy of IIndicator.
(Inherited from BaseIndicator.)
Public methodEquals
Determines whether the specified object is equal to the current object.
(Inherited from Object.)
Protected methodFinalize
Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection.
(Inherited from Object.)
Public methodGetHashCode
Serves as a hash function for a particular type.
(Inherited from Object.)
Public methodGetType
Gets the Type of the current instance.
(Inherited from Object.)
Public methodLoad
Load settings.
(Overrides BaseIndicatorLoad(SettingsStorage).)
Protected methodMemberwiseClone
Creates a shallow copy of the current Object.
(Inherited from Object.)
Protected methodOnProcess
To handle the input value.
(Overrides BaseIndicatorOnProcess(IIndicatorValue).)
Public methodProcess
To handle the input value.
(Inherited from BaseIndicator.)
Protected methodRaiseChangedEvent
To call the event Changed.
(Inherited from BaseIndicator.)
Public methodReset
To reset the indicator status to initial. The method is called each time when initial settings are changed (for example, the length of period).
(Overrides BaseIndicatorReset.)
Public methodSave
Save settings.
(Overrides BaseIndicatorSave(SettingsStorage).)
Public methodToString
Returns a string that represents the current object.
(Inherited from BaseIndicator.)
Public eventChanged
The indicator change event (for example, a new value is added).
(Inherited from BaseIndicator.)
Public eventReseted
The event of resetting the indicator status to initial. The event is called each time when initial settings are changed (for example, the length of period).
(Inherited from BaseIndicator.)
ZigZag traces and combines extreme points of the chart, distanced for not less than specified percentage by the price scale.
See Also