IndicatorTypeLineOutput
Summary
Represents an indicator type line output.
Signature
| public abstract interface IndicatorTypeLineOutput
|
Namespace
cAlgo.API
Examples
1
2
3
4
5
6
7
8
9
10
11
12
13 | [Robot(AccessRights = AccessRights.None)]
public class TestExample : Robot
{
protected override void OnStart()
{
if (AlgoRegistry.Get("Simple Moving Average", AlgoKind.StandardIndicator) is not IndicatorType smaIndicatorType)
return;
foreach (var lineOutput in smaIndicatorType.Lines)
{
Print($"Name: {lineOutput.Name}");
}
}
}
|
Properties
Name
Summary
Gets output name.
Signature
| public abstract string Name {get;}
|
Return Value
string
DefaultLineStyle
Summary
Gets default line style.
Signature
| public abstract LineStyle DefaultLineStyle {get;}
|
Return Value
LineStyle
DefaultColor
Summary
Gets default color.
Signature
| public abstract Color DefaultColor {get;}
|
Return Value
Color
DefaultThickness
Summary
Gets default thickness.
Signature
| public abstract float DefaultThickness {get;}
|
Return Value
float
DefaultPlotType
Summary
Gets the PlotType.
Signature
| public abstract PlotType DefaultPlotType {get;}
|
Return Value
PlotType