Skip to content

ChartIndicator.Name

property · ChartIndicator · cAlgo.API

DesktopCLICloud

Gets the name of an indicator.

Definition

string Name {get;}
chartIndicator.Name: str

Returns string

Examples

var sma = ChartIndicators.Add("Simple Moving Average", Bars.ClosePrices, 20);
Print("Indicator name: {0}", sma.Name);
sma = api.ChartIndicators.Add("Simple Moving Average", api.Bars.ClosePrices, 20)
api.Print(f"Indicator name: {sma.Name}")