---
id: "T:cAlgo.API.ChartIndicatorModifiedEventArgs"
kind: "class"
namespace: "cAlgo.API"
url: "https://help.ctrader.com/ctrader-algo/references/EventArgs/ChartIndicatorModifiedEventArgs/"
---

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

# ChartIndicatorModifiedEventArgs (class)

The class representing `ModifiedEventArgs` for a `ChartIndicator`.

Environments: Desktop supported · CLI supported · Cloud not supported.

- Cloud: Never raised in the cloud: the events that pass it never fire there (ChartIndicators.IndicatorModified).

## Definition

```csharp
public class ChartIndicatorModifiedEventArgs : ChartIndicatorEventArgs
```

## Examples

C#:

```csharp
protected override void OnStart()
{
    Chart.Indicators.IndicatorModified += OnChartIndicatorModified;
}

private void OnChartIndicatorModified(ChartIndicatorModifiedEventArgs args)
{
    Print("Indicator {0} ({1}) was modified", args.Indicator.Name, args.Indicator.InstanceId);
}
```

Python:

```python
def on_start(self):
    api.Chart.Indicators.IndicatorModified += self.on_chart_indicator_modified

def on_chart_indicator_modified(self, args):
    api.Print(f"Indicator {args.Indicator.Name} ({args.Indicator.InstanceId}) was modified")
```

## Inherited members

- `public ChartIndicator Indicator {get;}` (from ChartIndicatorEventArgs) [details](https://help.ctrader.com/ctrader-algo/references/EventArgs/ChartIndicatorEventArgs/Indicator/index.md)

