Skip to content

ChartTemplateColorSettings.BidPriceLineColor

property · ChartTemplateColorSettings · cAlgo.API Since 5.6

DesktopCLICloud

Gets or sets the color of the bid price line.

Environment behaviour

Cloud — not supported. Never available in the cloud: it is only returned by members that do not work there (ChartTemplate.ColorSettings).

Definition

Color BidPriceLineColor {get; set;}
chartTemplateColorSettings.BidPriceLineColor: Color

Returns Color

Examples

var template = ChartTemplates.Get("My Template");
if (template != null)
{
    template.ColorSettings.BidPriceLineColor = Color.DodgerBlue;
    Print("Template bid line color: {0}", template.ColorSettings.BidPriceLineColor);
}
template = api.ChartTemplates.Get("My Template")
if template is not None:
    template.ColorSettings.BidPriceLineColor = Color.DodgerBlue
    api.Print(f"Template bid line color: {template.ColorSettings.BidPriceLineColor}")