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

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

# CloudAttribute.FirstLineName

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

## FirstLineName

The name of the first indicator line.

Environments: Desktop supported · CLI supported · Cloud supported.

C#:

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

Python:

```python
cloudAttribute.FirstLineName: str
```

### Returns

`string` — 

### Examples

C#:

```csharp
public partial class CloudSample : Indicator
{
    public override void Calculate(int index)
    {
        Fast[index] = Bars.ClosePrices[index];
        Slow[index] = Bars.OpenPrices[index];
    }
}
```

Python:

```python
def calculate(self, index):
    api.Fast[index] = api.Bars.ClosePrices[index]
    api.Slow[index] = api.Bars.OpenPrices[index]
```

config.json:

```json
{
  "AccessRights": "None",
  "IsOverlay": true,
  "LineOutputs": [
    {
      "Name": "Fast",
      "Color": "Green"
    },
    {
      "Name": "Slow",
      "Color": "Red"
    }
  ],
  "Clouds": [
    {
      "FirstLineName": "Fast",
      "SecondLineName": "Slow"
    }
  ]
}
```

