PriceChannels
StockSharp.Algo.Indicators
Price Channels indicator.
Inherits: BaseComplexIndicator<IPriceChannelsValue>
Constructors
PriceChannels
public PriceChannels()
priceChannels = PriceChannels()
Initializes a new instance of the PriceChannels.
Properties
Length
public int Length { get; set; }
value = priceChannels.Length
priceChannels.Length = value
Period length.
LowerChannel
public Lowest LowerChannel { get; }
value = priceChannels.LowerChannel
Lower channel (lowest low).
UpperChannel
public Highest UpperChannel { get; }
value = priceChannels.UpperChannel
Upper channel (highest high).
Methods
CreateValue
protected override IPriceChannelsValue CreateValue(DateTime time)
result = priceChannels.CreateValue(time)
Create .
- time
- Time
Load
public override void Load(SettingsStorage storage)
priceChannels.Load(storage)
Load settings.
- storage
- Settings storage.
OnProcess
protected override IIndicatorValue OnProcess(IIndicatorValue input)
result = priceChannels.OnProcess(input)
To handle the input value.
- input
- The input value.
Returns: The resulting value.
Save
public override void Save(SettingsStorage storage)
priceChannels.Save(storage)
Save settings.
- storage
- Settings storage.
ToString
public override string ToString()
result = priceChannels.ToString()
Преобразовать к строковому представлению.
Returns: Строковое представление.