Table of Contents

Class CandlePatternIndicator

Namespace
StockSharp.Algo.Indicators
Assembly
StockSharp.Algo.dll

Indicator, based on ICandlePattern.

[Display(ResourceType = typeof(LocalizedStrings), Name = "Pattern", Description = "Pattern")]
[IndicatorIn(typeof(CandleIndicatorValue))]
[IndicatorOut(typeof(CandlePatternIndicatorValue))]
public class CandlePatternIndicator : BaseIndicator, IIndicator, IPersistable, ICloneable<IIndicator>, ICloneable
Inheritance
CandlePatternIndicator
Implements
IPersistable
ICloneable<IIndicator>
Inherited Members
Extension Methods

Remarks

Constructors

CandlePatternIndicator()

Initializes a new instance of the CandlePatternIndicator.

public CandlePatternIndicator()

Properties

CandlesCount

Number of candles in the pattern.

[Browsable(false)]
public int CandlesCount { get; }

Property Value

int

Pattern

Candle pattern.

[Display(ResourceType = typeof(LocalizedStrings), Name = "Pattern", Description = "Pattern", GroupName = "General")]
public ICandlePattern Pattern { get; set; }

Property Value

ICandlePattern

Methods

Load(SettingsStorage)

Load settings.

public override void Load(SettingsStorage storage)

Parameters

storage SettingsStorage

Settings storage.

OnProcess(IIndicatorValue)

To handle the input value.

protected override IIndicatorValue OnProcess(IIndicatorValue input)

Parameters

input IIndicatorValue

The input value.

Returns

IIndicatorValue

The resulting value.

Reset()

To reset the indicator status to initial. The method is called each time when initial settings are changed (for example, the length of period).

public override sealed void Reset()

Save(SettingsStorage)

Save settings.

public override void Save(SettingsStorage storage)

Parameters

storage SettingsStorage

Settings storage.