Summary
Initializes a new instance of the OutputAttribute and sets the name.
Remarks
The members have the following default values:
PlotType = PlotType.Line;
LineStyle = LineStyle.Solid;
Thickness = 1f;
LineColor = "Green";
Name = lineName;
Syntax
public OutputAttribute OutputAttribute(string lineName)
Parameters
Name | Description |
---|
Example 1
// Simple plot that uses the default solid line plot in green color [Output("Main")] public IndicatorDataSeries Result { get; set; }
Example 2
//Plot a simple moving average with a set of lines (dashes) [Output("Simple Moving Average", LineStyle = LineStyle.Lines)] public IndicatorDataSeries SMA { get; set; }
Example 3
//... //Plot a Histogram. [Output("Commodity Channel Index", PlotType = PlotType.Histogram)] public IndicatorDataSeries Result { get; set; } //...