---
id: "T:cAlgo.API.AlgoInstanceParameter"
kind: "interface"
namespace: "cAlgo.API"
url: "https://help.ctrader.com/ctrader-algo/references/AlgoRegistry/AlgoInstanceParameter/"
---

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

# AlgoInstanceParameter (interface)

The interface representing an indicator / robot instance parameter. Provides properties that allow for accessing various information about an algo instance parameter.

Environments: Desktop supported · CLI supported · Cloud supported.

## Definition

```csharp
public interface AlgoInstanceParameter
```

## Examples

C#:

```csharp
public partial class Test : Robot
{
    protected override void OnStart()
    {
        var chartIndicator = Chart.Indicators.Add("Simple Moving Average");

        foreach (var parameter in chartIndicator.Parameters)
        {
            Print($"Name: {parameter.Name} | DisplayName: {parameter.DisplayName} | Value: {parameter.Value} | Type: {parameter.Type}");
        }
    }
}
```

Python:

```python
import clr

clr.AddReference("cAlgo.API")

# Import cAlgo API types
from cAlgo.API import *

# Import trading wrapper functions
from robot_wrapper import *

class Test():
    def on_start(self):
        chartIndicator = api.Chart.Indicators.Add("Simple Moving Average")

        for parameter in chartIndicator.Parameters:
            print(f"Name: {parameter.Name} | DisplayName: {parameter.DisplayName} | Value: {parameter.Value} | Type: {parameter.Type}")
```

config.json:

```json
{
  "AccessRights": "None"
}
```

C#:

```csharp
public partial class Test : Robot
{
    protected override void OnStart()
    {
        var chartRobot = Chart.Robots.Add("Sample Break Even");
        foreach (var parameter in chartRobot.Parameters)
        {
            Print($"Name: {parameter.Name} | DisplayName: {parameter.DisplayName} | Value: {parameter.Value} | Type: {parameter.Type}");
        }
    }
}
```

Python:

```python
import clr

clr.AddReference("cAlgo.API")

# Import cAlgo API types
from cAlgo.API import *

# Import trading wrapper functions
from robot_wrapper import *

class Test():
    def on_start(self):
        chartRobot = api.Chart.Robots.Add("Sample Break Even")

        for parameter in chartRobot.Parameters:
            print(f"Name: {parameter.Name} | DisplayName: {parameter.DisplayName} | Value: {parameter.Value} | Type: {parameter.Type}")
```

config.json:

```json
{
  "AccessRights": "None"
}
```

## Properties

- `string DisplayName {get;}` — Gets the display name of a parameter (shown in the 'Parameters' section of an instance). [details](https://help.ctrader.com/ctrader-algo/references/AlgoRegistry/AlgoInstanceParameter/DisplayName/index.md)
- `string Name {get;}` — Gets the name of a parameter. [details](https://help.ctrader.com/ctrader-algo/references/AlgoRegistry/AlgoInstanceParameter/Name/index.md)
- `AlgoParameterType Type {get;}` — Gets the ALgoParameterType of a parameter. [details](https://help.ctrader.com/ctrader-algo/references/AlgoRegistry/AlgoInstanceParameter/Type/index.md)
- `object Value {get; set;}` — Gets the value of a parameter. [details](https://help.ctrader.com/ctrader-algo/references/AlgoRegistry/AlgoInstanceParameter/Value/index.md)

