---
id: "T:cAlgo.API.ChartElliottWaveDegree"
kind: "enum"
namespace: "cAlgo.API"
url: "https://help.ctrader.com/ctrader-algo/references/Chart/Drawings/ChartElliottWaveDegree/"
---

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

# ChartElliottWaveDegree (enum)

The Elliott Wave degree. Determines the wave-label notation (numerals, roman or letters and the enclosure style) and the default color of an Elliott Wave chart object.

Environments: Desktop supported · CLI supported · Cloud supported.

## Definition

```csharp
public enum ChartElliottWaveDegree
```

Available since cAlgo.API 5.10.

## Examples

C#:

```csharp
var impulse = Chart.DrawElliottImpulse("impulse", new ChartPoint(Bars.OpenTimes.Last(60), Bars.LowPrices.Last(60)), new ChartPoint(Bars.OpenTimes.Last(50), Bars.HighPrices.Last(50)), new ChartPoint(Bars.OpenTimes.Last(40), Bars.LowPrices.Last(40)), new ChartPoint(Bars.OpenTimes.Last(30), Bars.HighPrices.Last(30)), new ChartPoint(Bars.OpenTimes.Last(20), Bars.LowPrices.Last(20)), new ChartPoint(Bars.OpenTimes.Last(10), Bars.HighPrices.Last(10)), Color.Red);
impulse.Degree = TimeFrame == TimeFrame.Daily ? ChartElliottWaveDegree.Primary : ChartElliottWaveDegree.Minor;
Print("Impulse degree: {0}", impulse.Degree);
```

Python:

```python
impulse = api.Chart.DrawElliottImpulse("impulse", ChartPoint(api.Bars.OpenTimes.Last(60), api.Bars.LowPrices.Last(60)), ChartPoint(api.Bars.OpenTimes.Last(50), api.Bars.HighPrices.Last(50)), ChartPoint(api.Bars.OpenTimes.Last(40), api.Bars.LowPrices.Last(40)), ChartPoint(api.Bars.OpenTimes.Last(30), api.Bars.HighPrices.Last(30)), ChartPoint(api.Bars.OpenTimes.Last(20), api.Bars.LowPrices.Last(20)), ChartPoint(api.Bars.OpenTimes.Last(10), api.Bars.HighPrices.Last(10)), Color.Red)
impulse.Degree = ChartElliottWaveDegree.Primary if api.TimeFrame == TimeFrame.Daily else ChartElliottWaveDegree.Minor
api.Print(f"Impulse degree: {impulse.Degree}")
```

## Values

- `ChartElliottWaveDegree.GrandSupercycle` — The Grand Supercycle degree (largest).
- `ChartElliottWaveDegree.Supercycle` — The Supercycle degree.
- `ChartElliottWaveDegree.Cycle` — The Cycle degree.
- `ChartElliottWaveDegree.Primary` — The Primary degree.
- `ChartElliottWaveDegree.Intermediate` — The Intermediate degree.
- `ChartElliottWaveDegree.Minor` — The Minor degree (default).
- `ChartElliottWaveDegree.Minute` — The Minute degree.
- `ChartElliottWaveDegree.Minuette` — The Minuette degree.
- `ChartElliottWaveDegree.Subminuette` — The Subminuette degree (smallest).

