Skip to content

IndicatorBarOutput.DotChartColor

property · IndicatorBarOutput · cAlgo.API Since 5.4

DesktopCLICloud

Gets or sets the color of the dot chart.

Definition

Color DotChartColor {get; set;}
indicatorBarOutput.DotChartColor: Color

Returns Color

Examples

foreach (var indicator in ChartIndicators)
{
    foreach (var barOutput in indicator.BarOutputs)
        barOutput.DotChartColor = Color.Gold;
}
for indicator in api.ChartIndicators:
    for barOutput in indicator.BarOutputs:
        barOutput.DotChartColor = Color.Gold
        api.Print(f"{barOutput.Name} dot color: {barOutput.DotChartColor}")