Optimization parameters class.

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

Syntax

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

Remarks

An instance of this class is created by a system and resides as a member of the SystemData class. You should never need to create an instance of this class independently.

Examples

Accessing system parameters within a system
C# Copy imageCopy
public override void Startup()
{
    // Create an ADX indicator based on optimization parameters.
    int adxPeriods = (int)SystemParameters["adxPeriods"];
    Indicators["ADX"].CreateIndicator(new ADX(adxPeriods));
}
Visual Basic.Net Copy imageCopy
Public Overloads Overrides Sub Startup()
    ' Create an ADX indicator based on optimization parameters.
    Dim adxPeriods As Integer = CType(SystemParameters("adxPeriods"), Integer)
    Indicators("ADX").CreateIndicator(New ADX(adxPeriods))
End Sub

Inheritance Hierarchy

System..::..Object
  RightEdge.Common..::..SystemParameters

See Also