Skip to content

IndicatorTypeLineOutput.DefaultLineStyle

property · IndicatorTypeLineOutput · cAlgo.API Since 5.4

DesktopCLICloud

Gets default line style.

Definition

LineStyle DefaultLineStyle {get;}
indicatorTypeLineOutput.DefaultLineStyle: LineStyle

Returns LineStyle

Examples

foreach (var indicatorType in AlgoRegistry.Indicators)
{
    foreach (var line in indicatorType.Lines)
        Print("{0} default line style: {1}", line.Name, line.DefaultLineStyle);
}
for indicatorType in api.AlgoRegistry.Indicators:
    for line in indicatorType.Lines:
        api.Print(f"{line.Name} default line style: {line.DefaultLineStyle}")