AlgoInstanceParameters.Count
property · AlgoInstanceParameters · cAlgo.API
DesktopCLICloud
Gets the number of parameters.
Definition
int Count {get;}
algoInstanceParameters.Count: int
Returns int
Examples
var indicator = Chart.Indicators.Add("Simple Moving Average");
Print("Number of parameters: {0}", indicator.Parameters.Count);
indicator = api.Chart.Indicators.Add("Simple Moving Average")
api.Print(f"Number of parameters: {indicator.Parameters.Count}")