ChartTemplate.Indicators
property · ChartTemplate · cAlgo.API Since 5.6
DesktopCLICloud
Gets the indicators of chart template.
Environment behaviour
Cloud — not supported. Never available in the cloud: it is only returned by members that do not work there (ChartTemplates, ChartTemplates.Create, ChartTemplates.DefaultTemplate and more).
Definition
ChartTemplateIndicators Indicators {get;}
chartTemplate.Indicators: ChartTemplateIndicators
Returns ChartTemplateIndicators
Examples
var template = ChartTemplates.Get("My Template");
if (template != null)
{
foreach (var indicator in template.Indicators)
Print("Template indicator: {0}", indicator.Type.Name);
}
template = api.ChartTemplates.Get("My Template")
if template is not None:
for indicator in template.Indicators:
api.Print(f"Template indicator: {indicator.Type.Name}")