Skip to content

IndicatorBarOutput

Summary

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

Signature

1
public abstract interface IndicatorBarOutput

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} | | Bar Outputs #: {chartIndicator.BarOutputs.Count}");
             foreach (var barOutput in chartIndicator.BarOutputs)
             {
                 Print($"Name: {barOutput.Name}");
             }
        }
    }
 }

See Also

Properties

Name

Summary

Gets the name of a line.

Signature

1
public abstract string Name {get;}

Return Value

string

ChartType

Summary

Gets or sets the type of the chart - Bar, Candlesticks, Line or Dots chart.

Signature

1
public abstract ChartType ChartType {get; set;}

Return Value

ChartType

BullOutlineColor

Summary

Gets or sets the color of the bull candle or bar outline.

Signature

1
public abstract Color BullOutlineColor {get; set;}

Return Value

Color

BearOutlineColor

Summary

Gets or sets the color of the bear candle or bar outline.

Signature

1
public abstract Color BearOutlineColor {get; set;}

Return Value

Color

BullFillColor

Summary

Gets or sets the color of the bull candle fill.

Signature

1
public abstract Color BullFillColor {get; set;}

Return Value

Color

BearFillColor

Summary

Gets or sets the color of the bear candle fill.

Signature

1
public abstract Color BearFillColor {get; set;}

Return Value

Color

TickVolumeColor

Summary

Gets or sets the color of the tick volume bars.

Signature

1
public abstract Color TickVolumeColor {get; set;}

Return Value

Color

AreaChartFillColor

Summary

Gets or sets the color of the area chart.

Signature

1
public abstract Color AreaChartFillColor {get; set;}

Return Value

Color

DotChartColor

Summary

Gets or sets the color of the dot chart.

Signature

1
public abstract Color DotChartColor {get; set;}

Return Value

Color

IsVisible

Summary

Gets or sets the visibility of a line.

Signature

1
public abstract bool IsVisible {get; set;}

Return Value

bool