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

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

# ChartElliottDoubleCombo (interface)

Represents the Elliott Double Combo Wave (W-X-Y) chart object - a complex correction over four pivots (origin and W, X, Y).

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

- CLI: Created and kept with all its properties, but never drawn: the CLI displays no chart.
- Cloud: Created and kept with all its properties, but never drawn: the cloud displays no chart.

## Definition

```csharp
public interface ChartElliottDoubleCombo
```

Available since cAlgo.API 5.10.

## Examples

C#:

```csharp
using cAlgo.API;

namespace cAlgo
{
    // This sample shows how to use Chart.DrawElliottDoubleCombo method to draw an Elliott Double Combo Wave
    public partial class ElliottDoubleComboSample : Indicator
    {
        protected override void Initialize()
        {
            var i = Chart.FirstVisibleBarIndex;
            var s = (Chart.LastVisibleBarIndex - i) / 4;
            var t = Bars.OpenTimes;
            var c = Bars.ClosePrices;

            Chart.DrawElliottDoubleCombo("DoubleCombo",
                new ChartPoint(t[i], c[i]),
                new ChartPoint(t[i + s], c[i + s]),
                new ChartPoint(t[i + 2 * s], c[i + 2 * s]),
                new ChartPoint(t[i + 3 * s], c[i + 3 * s]),
                Color.Orange);
        }

        public override void Calculate(int index)
        {
        }
    }
}
```

Python:

```python
import clr
clr.AddReference("cAlgo.API")

from cAlgo.API import *

class Test():
    def initialize(self):
        i = api.Chart.FirstVisibleBarIndex
        s = (api.Chart.LastVisibleBarIndex - i) // 4
        t = api.Bars.OpenTimes
        c = api.Bars.ClosePrices
        doubleCombo = api.Chart.DrawElliottDoubleCombo("DoubleCombo",
            ChartPoint(t[i], c[i]), ChartPoint(t[i + s], c[i + s]), ChartPoint(t[i + 2 * s], c[i + 2 * s]), ChartPoint(t[i + 3 * s], c[i + 3 * s]),
            Color.Orange)
        doubleCombo.IsInteractive = True
```

config.json:

```json
{
  "AccessRights": "None",
  "TimeZone": "UTC",
  "IsOverlay": true
}
```

## Properties

- `ChartPoint Origin {get; set;}` — Gets or sets the origin (wave 0) anchor point. [details](https://help.ctrader.com/ctrader-algo/references/Chart/Drawings/ChartElliottDoubleCombo/Origin/index.md)
- `ChartPoint WaveW {get; set;}` — Gets or sets the wave W anchor point. [details](https://help.ctrader.com/ctrader-algo/references/Chart/Drawings/ChartElliottDoubleCombo/WaveW/index.md)
- `ChartPoint WaveX {get; set;}` — Gets or sets the wave X anchor point. [details](https://help.ctrader.com/ctrader-algo/references/Chart/Drawings/ChartElliottDoubleCombo/WaveX/index.md)
- `ChartPoint WaveY {get; set;}` — Gets or sets the wave Y anchor point. [details](https://help.ctrader.com/ctrader-algo/references/Chart/Drawings/ChartElliottDoubleCombo/WaveY/index.md)

## Inherited members

- `ChartElliottWaveDegree Degree {get; set;}` (from ChartElliottWaveBase) [details](https://help.ctrader.com/ctrader-algo/references/Chart/Drawings/ChartElliottWaveBase/Degree/index.md)
- `bool ShowLabels {get; set;}` (from ChartElliottWaveBase) [details](https://help.ctrader.com/ctrader-algo/references/Chart/Drawings/ChartElliottWaveBase/ShowLabels/index.md)
- `int Thickness {get; set;}` (from ChartElliottWaveBase) [details](https://help.ctrader.com/ctrader-algo/references/Chart/Drawings/ChartElliottWaveBase/Thickness/index.md)
- `Color Color {get; set;}` (from ChartElliottWaveBase) [details](https://help.ctrader.com/ctrader-algo/references/Chart/Drawings/ChartElliottWaveBase/Color/index.md)
- `LineStyle LineStyle {get; set;}` (from ChartElliottWaveBase) [details](https://help.ctrader.com/ctrader-algo/references/Chart/Drawings/ChartElliottWaveBase/LineStyle/index.md)
- `string Name {get;}` (from ChartObject) [details](https://help.ctrader.com/ctrader-algo/references/Chart/Drawings/ChartObject/Name/index.md)
- `string Comment {get; set;}` (from ChartObject) [details](https://help.ctrader.com/ctrader-algo/references/Chart/Drawings/ChartObject/Comment/index.md)
- `ChartObjectType ObjectType {get;}` (from ChartObject) [details](https://help.ctrader.com/ctrader-algo/references/Chart/Drawings/ChartObject/ObjectType/index.md)
- `bool IsInteractive {get; set;}` (from ChartObject) [details](https://help.ctrader.com/ctrader-algo/references/Chart/Drawings/ChartObject/IsInteractive/index.md)
- `bool IsLocked {get; set;}` (from ChartObject) [details](https://help.ctrader.com/ctrader-algo/references/Chart/Drawings/ChartObject/IsLocked/index.md)
- `bool IsHidden {get; set;}` (from ChartObject) [details](https://help.ctrader.com/ctrader-algo/references/Chart/Drawings/ChartObject/IsHidden/index.md)
- `int ZIndex {get; set;}` (from ChartObject) [details](https://help.ctrader.com/ctrader-algo/references/Chart/Drawings/ChartObject/ZIndex/index.md)
- `bool IsAlive {get;}` (from ChartObject) [details](https://help.ctrader.com/ctrader-algo/references/Chart/Drawings/ChartObject/IsAlive/index.md)

