Table of Contents

Class MovingAverageRibbon

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

Moving Average Ribbon indicator.

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

Constructors

MovingAverageRibbon()

Initializes a new instance of the MovingAverageRibbon.

public MovingAverageRibbon()

Properties

LongPeriod

Longest Moving Average period.

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

Property Value

int

RibbonCount

Number of Moving Averages in the ribbon.

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

Property Value

int

ShortPeriod

Shortest Moving Average period.

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

Property Value

int

Methods

Load(SettingsStorage)

Load settings.

public override void Load(SettingsStorage storage)

Parameters

storage SettingsStorage

Settings storage.

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).

public override void Reset()

Save(SettingsStorage)

Save settings.

public override void Save(SettingsStorage storage)

Parameters

storage SettingsStorage

Settings storage.

ToString()

public override string ToString()

Returns

string