IndicatorAttribute


Summary

Initializes a new instance of the IndicatorAttribute

Remarks

To make it effective apply enclosed in square brackets, e.g. [Indicator] before the indicator class declaration. The name is displayed on the top left of the indicator panel.

Syntax

public IndicatorAttribute IndicatorAttribute(string name)
public IndicatorAttribute IndicatorAttribute()

Example 1

namespace cAlgo.Indicators
{
    [Indicator()]
    public class SampleIndicator : Indicator
    {
        //...
    }
}