Skip to content

ChartIndicator.Type

property · ChartIndicator · cAlgo.API

DesktopCLICloud

Gets the IndicatorType of an indicator.

Definition

IndicatorType Type {get;}
chartIndicator.Type: IndicatorType

Returns IndicatorType

Examples

foreach (var indicator in ChartIndicators)
    Print("{0} | Type: {1} | Line outputs: {2}", indicator.Name, indicator.Type.Name, indicator.Type.Lines.Count);
for indicator in api.ChartIndicators:
    api.Print(f"{indicator.Name} | Type: {indicator.Type.Name} | Line outputs: {indicator.Type.Lines.Count}")