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

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

# MovingAverage.Result

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

## Result

The resulting time series of the calculation.

Environments: Desktop supported · CLI supported · Cloud supported.

C#:

```csharp
IndicatorDataSeries Result {get;}
```

Python:

```python
movingAverage.Result: IndicatorDataSeries
```

### Returns

`IndicatorDataSeries` — 

### Examples

C#:

```csharp
var movingAverage = Indicators.MovingAverage(Bars.ClosePrices, 20, MovingAverageType.Exponential);
if (Bars.ClosePrices.Last(1) > movingAverage.Result.Last(1))
    Print("Close is above the moving average: {0}", movingAverage.Result.Last(1));
```

Python:

```python
movingAverage = api.Indicators.MovingAverage(api.Bars.ClosePrices, 20, MovingAverageType.Exponential)
if api.Bars.ClosePrices.Last(1) > movingAverage.Result.Last(1):
    api.Print(f"Close is above the moving average: {movingAverage.Result.Last(1)}")
```

