ChandeKrollStop

StockSharp.Algo.Indicators

Chande Kroll Stop indicator.

Inherits: BaseComplexIndicator<IChandeKrollStopValue>

Constructors

ChandeKrollStop
public ChandeKrollStop()
chandeKrollStop = ChandeKrollStop()

Initializes a new instance of the ChandeKrollStop.

Properties

Highest
public Highest Highest { get; }
value = chandeKrollStop.Highest

Highest line.

Lowest
public Lowest Lowest { get; }
value = chandeKrollStop.Lowest

Lowest line.

Multiplier
public decimal Multiplier { get; set; }
value = chandeKrollStop.Multiplier
chandeKrollStop.Multiplier = value

Multiplier.

Period
public int Period { get; set; }
value = chandeKrollStop.Period
chandeKrollStop.Period = value

Period for Highest and Lowest.

StopPeriod
public int StopPeriod { get; set; }
value = chandeKrollStop.StopPeriod
chandeKrollStop.StopPeriod = value

Stop Period for SMA.

Methods

CreateValue
protected override IChandeKrollStopValue CreateValue(DateTime time)
result = chandeKrollStop.CreateValue(time)

Create .

time
Time
LoadAsync
public override Task LoadAsync(SettingsStorage storage, CancellationToken cancellationToken)
result = chandeKrollStop.LoadAsync(storage, cancellationToken)

Load settings.

storage
Settings storage.
cancellationToken
CancellationToken

Returns: Task

OnProcess
protected override IIndicatorValue OnProcess(IIndicatorValue input)
result = chandeKrollStop.OnProcess(input)

To handle the input value.

input
The input value.

Returns: The resulting value.

Reset
public override void Reset()
chandeKrollStop.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).

SaveAsync
public override Task SaveAsync(SettingsStorage storage, CancellationToken cancellationToken)
result = chandeKrollStop.SaveAsync(storage, cancellationToken)

Save settings.

storage
Settings storage.
cancellationToken
CancellationToken

Returns: Task