Class PriceChannels
- Namespace
- StockSharp.Algo.Indicators
- Assembly
- StockSharp.Algo.dll
Price Channels indicator.
[Display(ResourceType = typeof(LocalizedStrings), Name = "PriceChannels", Description = "PriceChannelsDescription")]
[IndicatorIn(typeof(CandleIndicatorValue))]
[Doc("topics/indicators/price_channels.html")]
[IndicatorOut(typeof(PriceChannelsValue))]
public class PriceChannels : BaseComplexIndicator<PriceChannelsValue>, IComplexIndicator, IIndicator, IPersistable, ICloneable<IIndicator>, ICloneable
- Inheritance
-
PriceChannels
- Implements
- Derived
- Inherited Members
- Extension Methods
Constructors
PriceChannels()
Initializes a new instance of the PriceChannels.
public PriceChannels()
Properties
Length
Period length.
[Display(ResourceType = typeof(LocalizedStrings), Name = "Period", Description = "IndicatorPeriod", GroupName = "General")]
public int Length { get; set; }
Property Value
LowerChannel
Lower channel (lowest low).
[Browsable(false)]
public Lowest LowerChannel { get; }
Property Value
UpperChannel
Upper channel (highest high).
[Browsable(false)]
public Highest UpperChannel { get; }
Property Value
Methods
CreateValue(DateTimeOffset)
Create PriceChannelsValue.
protected override PriceChannelsValue CreateValue(DateTimeOffset time)
Parameters
time
DateTimeOffset
Returns
Load(SettingsStorage)
Load settings.
public override void Load(SettingsStorage storage)
Parameters
storage
SettingsStorageSettings storage.
OnProcess(IIndicatorValue)
To handle the input value.
protected override IIndicatorValue OnProcess(IIndicatorValue input)
Parameters
input
IIndicatorValueThe input value.
Returns
- IIndicatorValue
The resulting value.
Save(SettingsStorage)
Save settings.
public override void Save(SettingsStorage storage)
Parameters
storage
SettingsStorageSettings storage.
ToString()
public override string ToString()