---
id: "E:cAlgo.API.ChartIndicators.IndicatorRemoved"
kind: "event"
type: "T:cAlgo.API.ChartIndicators"
url: "https://help.ctrader.com/ctrader-algo/references/Chart/Indicators/ChartIndicators/IndicatorRemoved/"
---

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

# ChartIndicators.IndicatorRemoved

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

## IndicatorRemoved

Occurs when an indicator is removed from a chart.

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

- Cloud: Always empty: Count is 0, Add returns null, Remove returns false, and the events never fire.

C#:

```csharp
event Action<ChartIndicatorRemovedEventArgs> IndicatorRemoved;
```

Python:

```python
api.ChartIndicators.IndicatorRemoved += handler  # handler(obj: ChartIndicatorRemovedEventArgs)
```

### Returns

`Action<ChartIndicatorRemovedEventArgs>` — 

### Examples

C#:

```csharp
protected override void OnStart()
{
    ChartIndicators.IndicatorRemoved += OnIndicatorRemoved;
}

private void OnIndicatorRemoved(ChartIndicatorRemovedEventArgs args)
{
    Print("Indicator removed: {0}", args.Indicator.Name);
}
```

Python:

```python
def on_start(self):
    api.ChartIndicators.IndicatorRemoved += self.on_indicator_removed

def on_indicator_removed(self, args):
    api.Print(f"Indicator removed: {args.Indicator.Name}")
```

