---
id: "M:cAlgo.API.ChartArea.DrawElliottDoubleCombo(System.String,cAlgo.API.ChartPoint,cAlgo.API.ChartPoint,cAlgo.API.ChartPoint,cAlgo.API.ChartPoint,cAlgo.API.Color)"
kind: "method"
type: "T:cAlgo.API.ChartArea"
url: "https://help.ctrader.com/ctrader-algo/references/Chart/ChartArea/DrawElliottDoubleCombo/"
---

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

# ChartArea.DrawElliottDoubleCombo

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

## DrawElliottDoubleCombo(string name, ChartPoint origin, ChartPoint waveW, ChartPoint waveX, ChartPoint waveY, Color color)

Draws an Elliott Double Combo Wave (W-X-Y).

Environments: Desktop supported · CLI works differently · Cloud works differently.

- CLI: The object is created and returned, but never drawn: the CLI displays no chart.
- Cloud: The object is created and returned, but never drawn: the cloud displays no chart.

C#:

```csharp
ChartElliottDoubleCombo DrawElliottDoubleCombo(string name, ChartPoint origin, ChartPoint waveW, ChartPoint waveX, ChartPoint waveY, Color color)
```

Python:

```python
chartArea.DrawElliottDoubleCombo(name: str, origin: ChartPoint, waveW: ChartPoint, waveX: ChartPoint, waveY: ChartPoint, color: Color) -> ChartElliottDoubleCombo
```

### Parameters

- `name` (`string`, Python `str`): The chart object name - a unique name that can be only used once for a chart area. If duplicated, the chart object will be replaced with a new one of the same name.
- `origin` (`ChartPoint`, Python `ChartPoint`): The origin (wave 0) anchor point.
- `waveW` (`ChartPoint`, Python `ChartPoint`): The wave W anchor point.
- `waveX` (`ChartPoint`, Python `ChartPoint`): The wave X anchor point.
- `waveY` (`ChartPoint`, Python `ChartPoint`): The wave Y anchor point.
- `color` (`Color`, Python `Color`): The Elliott Double Combo Wave lines color.

### Returns

`ChartElliottDoubleCombo` — ChartElliottDoubleCombo.

Available since cAlgo.API 5.10.

### Examples

C#:

```csharp
var combo = Chart.DrawElliottDoubleCombo("doubleCombo", new ChartPoint(Bars.OpenTimes.Last(40), Bars.HighPrices.Last(40)), new ChartPoint(Bars.OpenTimes.Last(30), Bars.LowPrices.Last(30)), new ChartPoint(Bars.OpenTimes.Last(20), Bars.HighPrices.Last(20)), new ChartPoint(Bars.OpenTimes.Last(10), Bars.LowPrices.Last(10)), Color.Orange);
Print("Double combo wave Y at {0}", combo.WaveY.Y);
```

Python:

```python
combo = api.Chart.DrawElliottDoubleCombo("doubleCombo", ChartPoint(api.Bars.OpenTimes.Last(40), api.Bars.HighPrices.Last(40)), ChartPoint(api.Bars.OpenTimes.Last(30), api.Bars.LowPrices.Last(30)), ChartPoint(api.Bars.OpenTimes.Last(20), api.Bars.HighPrices.Last(20)), ChartPoint(api.Bars.OpenTimes.Last(10), api.Bars.LowPrices.Last(10)), Color.Orange)
api.Print(f"Double combo wave Y at {combo.WaveY.Y}")
```

## DrawElliottDoubleCombo(string name, ChartPoint origin, ChartPoint waveW, ChartPoint waveX, ChartPoint waveY, Color color, int thickness)

Draws an Elliott Double Combo Wave (W-X-Y).

Environments: Desktop supported · CLI works differently · Cloud works differently.

- CLI: The object is created and returned, but never drawn: the CLI displays no chart.
- Cloud: The object is created and returned, but never drawn: the cloud displays no chart.

C#:

```csharp
ChartElliottDoubleCombo DrawElliottDoubleCombo(string name, ChartPoint origin, ChartPoint waveW, ChartPoint waveX, ChartPoint waveY, Color color, int thickness)
```

Python:

```python
chartArea.DrawElliottDoubleCombo(name: str, origin: ChartPoint, waveW: ChartPoint, waveX: ChartPoint, waveY: ChartPoint, color: Color, thickness: int) -> ChartElliottDoubleCombo
```

### Parameters

- `name` (`string`, Python `str`): The chart object name - a unique name that can be only used once for a chart area. If duplicated, the chart object will be replaced with a new one of the same name.
- `origin` (`ChartPoint`, Python `ChartPoint`): The origin (wave 0) anchor point.
- `waveW` (`ChartPoint`, Python `ChartPoint`): The wave W anchor point.
- `waveX` (`ChartPoint`, Python `ChartPoint`): The wave X anchor point.
- `waveY` (`ChartPoint`, Python `ChartPoint`): The wave Y anchor point.
- `color` (`Color`, Python `Color`): The Elliott Double Combo Wave lines color.
- `thickness` (`int`, Python `int`): The Elliott Double Combo Wave lines thickness.

### Returns

`ChartElliottDoubleCombo` — ChartElliottDoubleCombo.

Available since cAlgo.API 5.10.

### Examples

C#:

```csharp
var combo = Chart.DrawElliottDoubleCombo("doubleCombo", new ChartPoint(Bars.OpenTimes.Last(40), Bars.HighPrices.Last(40)), new ChartPoint(Bars.OpenTimes.Last(30), Bars.LowPrices.Last(30)), new ChartPoint(Bars.OpenTimes.Last(20), Bars.HighPrices.Last(20)), new ChartPoint(Bars.OpenTimes.Last(10), Bars.LowPrices.Last(10)), Color.Orange, 2);
Print("Double combo thickness: {0}", combo.Thickness);
```

Python:

```python
combo = api.Chart.DrawElliottDoubleCombo("doubleCombo", ChartPoint(api.Bars.OpenTimes.Last(40), api.Bars.HighPrices.Last(40)), ChartPoint(api.Bars.OpenTimes.Last(30), api.Bars.LowPrices.Last(30)), ChartPoint(api.Bars.OpenTimes.Last(20), api.Bars.HighPrices.Last(20)), ChartPoint(api.Bars.OpenTimes.Last(10), api.Bars.LowPrices.Last(10)), Color.Orange, 2)
api.Print(f"Double combo thickness: {combo.Thickness}")
```

## DrawElliottDoubleCombo(string name, ChartPoint origin, ChartPoint waveW, ChartPoint waveX, ChartPoint waveY, Color color, int thickness, LineStyle lineStyle)

Draws an Elliott Double Combo Wave (W-X-Y).

Environments: Desktop supported · CLI works differently · Cloud works differently.

- CLI: The object is created and returned, but never drawn: the CLI displays no chart.
- Cloud: The object is created and returned, but never drawn: the cloud displays no chart.

C#:

```csharp
ChartElliottDoubleCombo DrawElliottDoubleCombo(string name, ChartPoint origin, ChartPoint waveW, ChartPoint waveX, ChartPoint waveY, Color color, int thickness, LineStyle lineStyle)
```

Python:

```python
chartArea.DrawElliottDoubleCombo(name: str, origin: ChartPoint, waveW: ChartPoint, waveX: ChartPoint, waveY: ChartPoint, color: Color, thickness: int, lineStyle: LineStyle) -> ChartElliottDoubleCombo
```

### Parameters

- `name` (`string`, Python `str`): The chart object name - a unique name that can be only used once for a chart area. If duplicated, the chart object will be replaced with a new one of the same name.
- `origin` (`ChartPoint`, Python `ChartPoint`): The origin (wave 0) anchor point.
- `waveW` (`ChartPoint`, Python `ChartPoint`): The wave W anchor point.
- `waveX` (`ChartPoint`, Python `ChartPoint`): The wave X anchor point.
- `waveY` (`ChartPoint`, Python `ChartPoint`): The wave Y anchor point.
- `color` (`Color`, Python `Color`): The Elliott Double Combo Wave lines color.
- `thickness` (`int`, Python `int`): The Elliott Double Combo Wave lines thickness.
- `lineStyle` (`LineStyle`, Python `LineStyle`): The Elliott Double Combo Wave lines style.

### Returns

`ChartElliottDoubleCombo` — ChartElliottDoubleCombo.

Available since cAlgo.API 5.10.

### Examples

C#:

```csharp
var combo = Chart.DrawElliottDoubleCombo("doubleCombo", new ChartPoint(Bars.OpenTimes.Last(40), Bars.HighPrices.Last(40)), new ChartPoint(Bars.OpenTimes.Last(30), Bars.LowPrices.Last(30)), new ChartPoint(Bars.OpenTimes.Last(20), Bars.HighPrices.Last(20)), new ChartPoint(Bars.OpenTimes.Last(10), Bars.LowPrices.Last(10)), Color.Orange, 2, LineStyle.Dots);
Print("Double combo style: {0}", combo.LineStyle);
```

Python:

```python
combo = api.Chart.DrawElliottDoubleCombo("doubleCombo", ChartPoint(api.Bars.OpenTimes.Last(40), api.Bars.HighPrices.Last(40)), ChartPoint(api.Bars.OpenTimes.Last(30), api.Bars.LowPrices.Last(30)), ChartPoint(api.Bars.OpenTimes.Last(20), api.Bars.HighPrices.Last(20)), ChartPoint(api.Bars.OpenTimes.Last(10), api.Bars.LowPrices.Last(10)), Color.Orange, 2, LineStyle.Dots)
api.Print(f"Double combo style: {combo.LineStyle}")
```

