---
id: "P:cAlgo.API.ChartIndicator.Parameters"
kind: "property"
type: "T:cAlgo.API.ChartIndicator"
url: "https://help.ctrader.com/ctrader-algo/references/Chart/Indicators/ChartIndicator/Parameters/"
---

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

# ChartIndicator.Parameters

Member of [ChartIndicator](https://help.ctrader.com/ctrader-algo/references/Chart/Indicators/ChartIndicator/index.md).

## Parameters

Gets the collection of indicator parameters.

Environments: Desktop supported · CLI supported · Cloud supported.

C#:

```csharp
AlgoInstanceParameters Parameters {get;}
```

Python:

```python
chartIndicator.Parameters: AlgoInstanceParameters
```

### Returns

`AlgoInstanceParameters` — 

### Examples

C#:

```csharp
var sma = ChartIndicators.Add("Simple Moving Average", Bars.ClosePrices, 20);
for (var i = 0; i < sma.Parameters.Count; i++)
    Print("{0} = {1}", sma.Parameters[i].Name, sma.Parameters[i].Value);
```

Python:

```python
sma = api.ChartIndicators.Add("Simple Moving Average", api.Bars.ClosePrices, 20)
for i in range(sma.Parameters.Count):
    api.Print(f"{sma.Parameters[i].Name} = {sma.Parameters[i].Value}")
```

