Class that manages the list of indicators.
Namespace:
RightEdge.CommonAssembly: Common (in Common.dll)
Version: 2008.1.0.0 (2008.1.0.0)
Syntax
| C# |
|---|
[SerializableAttribute] public class IndicatorCollections |
| Visual Basic (Declaration) |
|---|
<SerializableAttribute> _ Public Class IndicatorCollections |
| Visual C++ |
|---|
[SerializableAttribute] public ref class IndicatorCollections |
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#)
CopyC#
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();