Table of Contents

Class Envelope

Namespace
StockSharp.Algo.Indicators
Assembly
StockSharp.Algo.dll

Envelope.

[Display(ResourceType = typeof(LocalizedStrings), Name = "Envelope")]
public class Envelope : BaseComplexIndicator, IComplexIndicator, IIndicator, IPersistable, ICloneable<IIndicator>, ICloneable
Inheritance
Envelope
Implements
IPersistable
ICloneable<IIndicator>
Derived
Inherited Members
Extension Methods

Remarks

Constructors

Envelope()

Initializes a new instance of the Envelope.

public Envelope()

Envelope(LengthIndicator<decimal>)

Initializes a new instance of the Envelope.

public Envelope(LengthIndicator<decimal> ma)

Parameters

ma LengthIndicator<decimal>

Middle line.

Properties

Length

Period length. By default equal to 1.

[Display(ResourceType = typeof(LocalizedStrings), Name = "Period", Description = "IndicatorPeriod", GroupName = "General")]
public int Length { get; set; }

Property Value

int

Lower

Lower line.

[Browsable(false)]
public LengthIndicator<decimal> Lower { get; }

Property Value

LengthIndicator<decimal>

Middle

Middle line.

[Browsable(false)]
public LengthIndicator<decimal> Middle { get; }

Property Value

LengthIndicator<decimal>

Shift

The shift width. Specified as percentage from 0 to 1. The default equals to 0.01.

[Display(ResourceType = typeof(LocalizedStrings), Name = "Threshold", Description = "ThresholdDesc", GroupName = "General")]
public decimal Shift { get; set; }

Property Value

decimal

Upper

Upper line.

[Browsable(false)]
public LengthIndicator<decimal> Upper { get; }

Property Value

LengthIndicator<decimal>

Methods

CalcIsFormed()

Calc IsFormed.

protected override bool CalcIsFormed()

Returns

bool

IsFormed

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