Skip to content

IndicatorTypeLineOutput

Summary

Represents an indicator type line output.

Signature

1
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

1
public abstract string Name {get;}

Return Value

string

DefaultLineStyle

Summary

Gets default line style.

Signature

1
public abstract LineStyle DefaultLineStyle {get;}

Return Value

LineStyle

DefaultColor

Summary

Gets default color.

Signature

1
public abstract Color DefaultColor {get;}

Return Value

Color

DefaultThickness

Summary

Gets default thickness.

Signature

1
public abstract float DefaultThickness {get;}

Return Value

float

DefaultPlotType

Summary

Gets the PlotType.

Signature

1
public abstract PlotType DefaultPlotType {get;}

Return Value

PlotType