Skip to content

IndicatorLineOutput

Summary

The interface representing an indicator line.Provides properties that allow for accessing various information about a line.

Signature

1
public abstract interface IndicatorLineOutput

Namespace

cAlgo.API

Examples

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
17
 using cAlgo.API;
 namespace cAlgo.Robots;
 [Robot(AccessRights = AccessRights.None)]
 public class TestExample : Robot
 {
    protected override void OnStart()
    {
        foreach (var chartIndicator in ChartIndicators)
        {
             Print($"Name: {chartIndicator.Name} | | Line Outputs #: {chartIndicator.LineOutputs.Count}");
             foreach (var lineOutput in chartIndicator.LineOutputs)
             {
                 Print($"Name: {lineOutput.Name}");
             }
        }
    }
 }

See Also

Properties

Name

Summary

Gets the name of a line.

Signature

1
public abstract string Name {get;}

Return Value

string

LineStyle

Summary

Gets or sets the LineStyle of a line.

Signature

1
public abstract LineStyle LineStyle {get; set;}

Return Value

LineStyle

Color

Summary

Gets or sets the Color of a line.

Signature

1
public abstract Color Color {get; set;}

Return Value

Color

Thickness

Summary

Gets or sets the thickness of a line.

Signature

1
public abstract float Thickness {get; set;}

Return Value

float

Related Tutorials

IsVisible

Summary

Gets or sets the visibility of a line.

Signature

1
public abstract bool IsVisible {get; set;}

Return Value

bool

PlotType

Summary

Gets the PlotType of a line.

Signature

1
public abstract PlotType PlotType {get;}

Return Value

PlotType

StickToBottom

Summary

Gets or sets whether line should stick to bottom of it's panel or not similar to Tick Volume (Default: false).

Remarks

StickToBottom works only if PlotType is Histogram.

Signature

1
public abstract bool StickToBottom {get; set;}

Return Value

bool