Table of Contents

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

int

LowerChannel

Lower channel (lowest low).

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

Property Value

Lowest

UpperChannel

Upper channel (highest high).

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

Property Value

Highest

Methods

CreateValue(DateTimeOffset)

protected override PriceChannelsValue CreateValue(DateTimeOffset time)

Parameters

time DateTimeOffset

Time

Returns

PriceChannelsValue

PriceChannelsValue

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.

Save(SettingsStorage)

Save settings.

public override void Save(SettingsStorage storage)

Parameters

storage SettingsStorage

Settings storage.

ToString()

public override string ToString()

Returns

string