---
id: "M:cAlgo.API.ChartArea.DrawElliottTripleCombo(System.String,cAlgo.API.ChartPoint,cAlgo.API.ChartPoint,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/DrawElliottTripleCombo/"
---

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

# ChartArea.DrawElliottTripleCombo

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

## DrawElliottTripleCombo(string name, ChartPoint origin, ChartPoint waveW, ChartPoint waveX1, ChartPoint waveY, ChartPoint waveX2, ChartPoint waveZ, Color color)

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

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
ChartElliottTripleCombo DrawElliottTripleCombo(string name, ChartPoint origin, ChartPoint waveW, ChartPoint waveX1, ChartPoint waveY, ChartPoint waveX2, ChartPoint waveZ, Color color)
```

Python:

```python
chartArea.DrawElliottTripleCombo(name: str, origin: ChartPoint, waveW: ChartPoint, waveX1: ChartPoint, waveY: ChartPoint, waveX2: ChartPoint, waveZ: ChartPoint, color: Color) -> ChartElliottTripleCombo
```

### 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.
- `waveX1` (`ChartPoint`, Python `ChartPoint`): The first wave X (X1) anchor point.
- `waveY` (`ChartPoint`, Python `ChartPoint`): The wave Y anchor point.
- `waveX2` (`ChartPoint`, Python `ChartPoint`): The second wave X (X2) anchor point.
- `waveZ` (`ChartPoint`, Python `ChartPoint`): The wave Z anchor point.
- `color` (`Color`, Python `Color`): The Elliott Triple Combo Wave lines color.

### Returns

`ChartElliottTripleCombo` — ChartElliottTripleCombo.

Available since cAlgo.API 5.10.

### Examples

C#:

```csharp
var combo = Chart.DrawElliottTripleCombo("tripleCombo", new ChartPoint(Bars.OpenTimes.Last(60), Bars.HighPrices.Last(60)), new ChartPoint(Bars.OpenTimes.Last(50), Bars.LowPrices.Last(50)), 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.Purple);
Print("Triple combo wave Z at {0}", combo.WaveZ.Y);
```

Python:

```python
combo = api.Chart.DrawElliottTripleCombo("tripleCombo", ChartPoint(api.Bars.OpenTimes.Last(60), api.Bars.HighPrices.Last(60)), ChartPoint(api.Bars.OpenTimes.Last(50), api.Bars.LowPrices.Last(50)), 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.Purple)
api.Print(f"Triple combo wave Z at {combo.WaveZ.Y}")
```

## DrawElliottTripleCombo(string name, ChartPoint origin, ChartPoint waveW, ChartPoint waveX1, ChartPoint waveY, ChartPoint waveX2, ChartPoint waveZ, Color color, int thickness)

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

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
ChartElliottTripleCombo DrawElliottTripleCombo(string name, ChartPoint origin, ChartPoint waveW, ChartPoint waveX1, ChartPoint waveY, ChartPoint waveX2, ChartPoint waveZ, Color color, int thickness)
```

Python:

```python
chartArea.DrawElliottTripleCombo(name: str, origin: ChartPoint, waveW: ChartPoint, waveX1: ChartPoint, waveY: ChartPoint, waveX2: ChartPoint, waveZ: ChartPoint, color: Color, thickness: int) -> ChartElliottTripleCombo
```

### 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.
- `waveX1` (`ChartPoint`, Python `ChartPoint`): The first wave X (X1) anchor point.
- `waveY` (`ChartPoint`, Python `ChartPoint`): The wave Y anchor point.
- `waveX2` (`ChartPoint`, Python `ChartPoint`): The second wave X (X2) anchor point.
- `waveZ` (`ChartPoint`, Python `ChartPoint`): The wave Z anchor point.
- `color` (`Color`, Python `Color`): The Elliott Triple Combo Wave lines color.
- `thickness` (`int`, Python `int`): The Elliott Triple Combo Wave lines thickness.

### Returns

`ChartElliottTripleCombo` — ChartElliottTripleCombo.

Available since cAlgo.API 5.10.

### Examples

C#:

```csharp
var combo = Chart.DrawElliottTripleCombo("tripleCombo", new ChartPoint(Bars.OpenTimes.Last(60), Bars.HighPrices.Last(60)), new ChartPoint(Bars.OpenTimes.Last(50), Bars.LowPrices.Last(50)), 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.Purple, 2);
Print("Triple combo thickness: {0}", combo.Thickness);
```

Python:

```python
combo = api.Chart.DrawElliottTripleCombo("tripleCombo", ChartPoint(api.Bars.OpenTimes.Last(60), api.Bars.HighPrices.Last(60)), ChartPoint(api.Bars.OpenTimes.Last(50), api.Bars.LowPrices.Last(50)), 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.Purple, 2)
api.Print(f"Triple combo thickness: {combo.Thickness}")
```

## DrawElliottTripleCombo(string name, ChartPoint origin, ChartPoint waveW, ChartPoint waveX1, ChartPoint waveY, ChartPoint waveX2, ChartPoint waveZ, Color color, int thickness, LineStyle lineStyle)

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

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
ChartElliottTripleCombo DrawElliottTripleCombo(string name, ChartPoint origin, ChartPoint waveW, ChartPoint waveX1, ChartPoint waveY, ChartPoint waveX2, ChartPoint waveZ, Color color, int thickness, LineStyle lineStyle)
```

Python:

```python
chartArea.DrawElliottTripleCombo(name: str, origin: ChartPoint, waveW: ChartPoint, waveX1: ChartPoint, waveY: ChartPoint, waveX2: ChartPoint, waveZ: ChartPoint, color: Color, thickness: int, lineStyle: LineStyle) -> ChartElliottTripleCombo
```

### 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.
- `waveX1` (`ChartPoint`, Python `ChartPoint`): The first wave X (X1) anchor point.
- `waveY` (`ChartPoint`, Python `ChartPoint`): The wave Y anchor point.
- `waveX2` (`ChartPoint`, Python `ChartPoint`): The second wave X (X2) anchor point.
- `waveZ` (`ChartPoint`, Python `ChartPoint`): The wave Z anchor point.
- `color` (`Color`, Python `Color`): The Elliott Triple Combo Wave lines color.
- `thickness` (`int`, Python `int`): The Elliott Triple Combo Wave lines thickness.
- `lineStyle` (`LineStyle`, Python `LineStyle`): The Elliott Triple Combo Wave lines style.

### Returns

`ChartElliottTripleCombo` — ChartElliottTripleCombo.

Available since cAlgo.API 5.10.

### Examples

C#:

```csharp
var combo = Chart.DrawElliottTripleCombo("tripleCombo", new ChartPoint(Bars.OpenTimes.Last(60), Bars.HighPrices.Last(60)), new ChartPoint(Bars.OpenTimes.Last(50), Bars.LowPrices.Last(50)), 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.Purple, 2, LineStyle.Dots);
Print("Triple combo style: {0}", combo.LineStyle);
```

Python:

```python
combo = api.Chart.DrawElliottTripleCombo("tripleCombo", ChartPoint(api.Bars.OpenTimes.Last(60), api.Bars.HighPrices.Last(60)), ChartPoint(api.Bars.OpenTimes.Last(50), api.Bars.LowPrices.Last(50)), 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.Purple, 2, LineStyle.Dots)
api.Print(f"Triple combo style: {combo.LineStyle}")
```

