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
-
IPersistableICloneable<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
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
ShortPeriod
Shortest Moving Average period.
[Display(ResourceType = typeof(LocalizedStrings), Name = "Short", Description = "ShortPeriod", GroupName = "General")]
public int ShortPeriod { get; set; }
Property Value
Methods
Load(SettingsStorage)
Load settings.
public override void Load(SettingsStorage storage)
Parameters
storage
SettingsStorageSettings 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
SettingsStorageSettings storage.
ToString()
public override string ToString()