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
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
Load
public override void Load(SettingsStorage storage)
chandeKrollStop.Load(storage)
Load settings.
- storage
- Settings storage.
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).
Save
public override void Save(SettingsStorage storage)
chandeKrollStop.Save(storage)
Save settings.
- storage
- Settings storage.