Table of Contents

Class ChandeKrollStop

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

Chande Kroll Stop indicator.

[Display(ResourceType = typeof(LocalizedStrings), Name = "CKS", Description = "ChandeKrollStop")]
[IndicatorIn(typeof(CandleIndicatorValue))]
public class ChandeKrollStop : BaseComplexIndicator, IComplexIndicator, IIndicator, IPersistable, ICloneable<IIndicator>, ICloneable
Inheritance
ChandeKrollStop
Implements
IPersistable
ICloneable<IIndicator>
Derived
Inherited Members
Extension Methods

Constructors

ChandeKrollStop()

Initializes a new instance of the ChandeKrollStop.

public ChandeKrollStop()

Properties

Multiplier

Multiplier.

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

Property Value

decimal

Period

Period for Highest and Lowest.

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

Property Value

int

StopPeriod

Stop Period for SMA.

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

Property Value

int

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 void Reset()

Save(SettingsStorage)

Save settings.

public override void Save(SettingsStorage storage)

Parameters

storage SettingsStorage

Settings storage.