Skip to content

IndicatorTypeBarOutput.DefaultChartType

property · IndicatorTypeBarOutput · cAlgo.API Since 5.4

DesktopCLICloud

Gets default chart type.

Definition

ChartType DefaultChartType {get;}
indicatorTypeBarOutput.DefaultChartType: ChartType

Returns ChartType

Examples

foreach (var indicatorType in AlgoRegistry.Indicators)
{
    foreach (var barOutput in indicatorType.Bars)
        Print("{0} default chart type: {1}", barOutput.Name, barOutput.DefaultChartType);
}
for indicatorType in api.AlgoRegistry.Indicators:
    for barOutput in indicatorType.Bars:
        api.Print(f"{barOutput.Name} default chart type: {barOutput.DefaultChartType}")