Class that manages the list of indicators.

Namespace: RightEdge.Common
Assembly: Common (in Common.dll) Version: 2010.1.0.0 (2010.1.0.0)

Syntax

C#
[SerializableAttribute]
public class IndicatorCollections
Visual Basic
<SerializableAttribute>
Public Class IndicatorCollections
Visual C++
[SerializableAttribute]
public ref class IndicatorCollections
F#
[<SerializableAttribute>]
type IndicatorCollections =  class end

Remarks

There is an instance of this class created with every trading system. This instance is global across all symbols. There is no need to create an instance of this.

Examples

Add a 50 period SMA indicator to the system (C#)
 Copy imageCopy
Indicators["SMA50"].CreateIndicator(new SMA(50));

// Specify the closing price as the input.
Indicators["SMA50"].SetInputs(BarElement.Close);

// Set the series color
Indicators["SMA50"].SeriesColor = Color.Green;

// Indicate that it will be added to the charts.
Indicators["SMA50"].AddToCharts();

Inheritance Hierarchy

System..::..Object
  RightEdge.Common..::..IndicatorCollections

See Also