IndicatorAttribute


Summary

Initializes a new instance of the IndicatorAttribute and sets the name of the indicator.

Remarks

To make it effective apply enclosed in square brackets, e.g. [Indicator("IndicatorName")] 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()

Parameters

NameDescription

Example 1

[Indicator("IndicatorName")] 
public class SampleIndicator : Indicator