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))]
[Doc("topics/api/indicators/list_of_indicators/chande_kroll_stop.html")]
[IndicatorOut(typeof(ChandeKrollStopValue))]
public class ChandeKrollStop : BaseComplexIndicator<ChandeKrollStopValue>, IComplexIndicator, IIndicator, IPersistable, ICloneable<IIndicator>, ICloneable
Inheritance
ChandeKrollStop
Implements
Derived
Inherited Members
Extension Methods

Constructors

ChandeKrollStop()

Initializes a new instance of the ChandeKrollStop.

public ChandeKrollStop()

Properties

Highest

Highest line.

[Browsable(false)]
public Highest Highest { get; }

Property Value

Highest

Lowest

Lowest line.

[Browsable(false)]
public Lowest Lowest { get; }

Property Value

Lowest

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

CreateValue(DateTimeOffset)

protected override ChandeKrollStopValue CreateValue(DateTimeOffset time)

Parameters

time DateTimeOffset

Time

Returns

ChandeKrollStopValue

ChandeKrollStopValue

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.