---
id: "P:cAlgo.API.IndicatorAttribute.Name"
kind: "property"
type: "T:cAlgo.API.IndicatorAttribute"
url: "https://help.ctrader.com/ctrader-algo/references/Attributes/IndicatorAttribute/Name/"
---

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

# IndicatorAttribute.Name

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

## Name

The name of the Indicator.

Environments: Desktop supported · CLI supported · Cloud supported.

C#:

```csharp
public string Name {get;}
```

Python:

```python
indicatorAttribute.Name: str
```

### Returns

`string` — 

### Examples

C#:

```csharp
public partial class NameSample : Indicator
{
    protected override void Initialize()
    {
        var attribute = (IndicatorAttribute)Attribute.GetCustomAttribute(GetType(), typeof(IndicatorAttribute));
        Print("Indicator name: {0}", attribute.Name ?? GetType().Name);
    }

    public override void Calculate(int index)
    {
    }
}
```

Python:

```python
def initialize(self):
    api.Print("Indicator initialized")
```

config.json:

```json
{
  "AccessRights": "None",
  "IsOverlay": true
}
```

