---
id: "P:cAlgo.API.AlgoInstanceParameter.Type"
kind: "property"
type: "T:cAlgo.API.AlgoInstanceParameter"
url: "https://help.ctrader.com/ctrader-algo/references/AlgoRegistry/AlgoInstanceParameter/Type/"
---

> Documentation index for agents: https://help.ctrader.com/ctrader-algo/llms.txt · machine index: https://help.ctrader.com/ctrader-algo/api.json

# AlgoInstanceParameter.Type

Member of [AlgoInstanceParameter](https://help.ctrader.com/ctrader-algo/references/AlgoRegistry/AlgoInstanceParameter/index.md).

## Type

Gets the `ALgoParameterType` of a parameter.

Environments: Desktop supported · CLI supported · Cloud supported.

C#:

```csharp
AlgoParameterType Type {get;}
```

Python:

```python
algoInstanceParameter.Type: AlgoParameterType
```

### Returns

`AlgoParameterType` — 

### Examples

C#:

```csharp
var indicator = Chart.Indicators.Add("Simple Moving Average");
foreach (var parameter in indicator.Parameters)
{
    if (parameter.Type == AlgoParameterType.Integer)
        Print("{0} is an integer parameter, value: {1}", parameter.Name, parameter.Value);
}
```

Python:

```python
indicator = api.Chart.Indicators.Add("Simple Moving Average")
for parameter in indicator.Parameters:
    if parameter.Type == AlgoParameterType.Integer:
        api.Print(f"{parameter.Name} is an integer parameter, value: {parameter.Value}")
```

