ChartTemplateColorSettings.SellColor
property · ChartTemplateColorSettings · cAlgo.API Since 5.6
DesktopCLICloud
Gets or sets the color of Sell order positions and orders.
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 SellColor {get; set;}
chartTemplateColorSettings.SellColor: Color
Returns Color
Examples
var template = ChartTemplates.Get("My Template");
if (template != null)
{
template.ColorSettings.SellColor = Color.Crimson;
Print("Template sell color: {0}", template.ColorSettings.SellColor);
}
template = api.ChartTemplates.Get("My Template")
if template is not None:
template.ColorSettings.SellColor = Color.Crimson
api.Print(f"Template sell color: {template.ColorSettings.SellColor}")