Skip to content

ChartTemplateDisplaySettings.BidPriceLine

property · ChartTemplateDisplaySettings · cAlgo.API Since 5.6

DesktopCLICloud

Defines if the Bid Price Line is displayed on the chart.

Environment behaviour

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

Definition

bool BidPriceLine {get; set;}
chartTemplateDisplaySettings.BidPriceLine: bool

Returns bool

Examples

var template = ChartTemplates.Get("My Template");
if (template != null)
{
    template.DisplaySettings.BidPriceLine = true;
    Print("Template shows the bid line: {0}", template.DisplaySettings.BidPriceLine);
}
template = api.ChartTemplates.Get("My Template")
if template is not None:
    template.DisplaySettings.BidPriceLine = True
    api.Print(f"Template shows the bid line: {template.DisplaySettings.BidPriceLine}")