ChartArea.DrawElliottDoubleCombo
method · ChartArea · cAlgo.API Since 5.10
DesktopCLICloud
Draws an Elliott Double Combo Wave (W-X-Y).
Environment behaviour
CLI — works differently. The object is created and returned, but never drawn: the CLI displays no chart.
Cloud — works differently. The object is created and returned, but never drawn: the cloud displays no chart.
Overloads
DrawElliottDoubleCombo(string name, ChartPoint origin, ChartPoint waveW, ChartPoint waveX, ChartPoint waveY, Color color)
Draws an Elliott Double Combo Wave (W-X-Y).
ChartElliottDoubleCombo DrawElliottDoubleCombo(string name, ChartPoint origin, ChartPoint waveW, ChartPoint waveX, ChartPoint waveY, Color color)
chartArea.DrawElliottDoubleCombo(name: str, origin: ChartPoint, waveW: ChartPoint, waveX: ChartPoint, waveY: ChartPoint, color: Color) -> ChartElliottDoubleCombo
Parameters
| Name | C# type | Python type | Description |
|---|---|---|---|
name | string | 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 | ChartPoint | The origin (wave 0) anchor point. |
waveW | ChartPoint | ChartPoint | The wave W anchor point. |
waveX | ChartPoint | ChartPoint | The wave X anchor point. |
waveY | ChartPoint | ChartPoint | The wave Y anchor point. |
color | Color | Color | The Elliott Double Combo Wave lines color. |
Returns ChartElliottDoubleCombo — ChartElliottDoubleCombo.
Examples
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);
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).
ChartElliottDoubleCombo DrawElliottDoubleCombo(string name, ChartPoint origin, ChartPoint waveW, ChartPoint waveX, ChartPoint waveY, Color color, int thickness)
chartArea.DrawElliottDoubleCombo(name: str, origin: ChartPoint, waveW: ChartPoint, waveX: ChartPoint, waveY: ChartPoint, color: Color, thickness: int) -> ChartElliottDoubleCombo
Parameters
| Name | C# type | Python type | Description |
|---|---|---|---|
name | string | 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 | ChartPoint | The origin (wave 0) anchor point. |
waveW | ChartPoint | ChartPoint | The wave W anchor point. |
waveX | ChartPoint | ChartPoint | The wave X anchor point. |
waveY | ChartPoint | ChartPoint | The wave Y anchor point. |
color | Color | Color | The Elliott Double Combo Wave lines color. |
thickness | int | int | The Elliott Double Combo Wave lines thickness. |
Returns ChartElliottDoubleCombo — ChartElliottDoubleCombo.
Examples
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);
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).
ChartElliottDoubleCombo DrawElliottDoubleCombo(string name, ChartPoint origin, ChartPoint waveW, ChartPoint waveX, ChartPoint waveY, Color color, int thickness, LineStyle lineStyle)
chartArea.DrawElliottDoubleCombo(name: str, origin: ChartPoint, waveW: ChartPoint, waveX: ChartPoint, waveY: ChartPoint, color: Color, thickness: int, lineStyle: LineStyle) -> ChartElliottDoubleCombo
Parameters
| Name | C# type | Python type | Description |
|---|---|---|---|
name | string | 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 | ChartPoint | The origin (wave 0) anchor point. |
waveW | ChartPoint | ChartPoint | The wave W anchor point. |
waveX | ChartPoint | ChartPoint | The wave X anchor point. |
waveY | ChartPoint | ChartPoint | The wave Y anchor point. |
color | Color | Color | The Elliott Double Combo Wave lines color. |
thickness | int | int | The Elliott Double Combo Wave lines thickness. |
lineStyle | LineStyle | LineStyle | The Elliott Double Combo Wave lines style. |
Returns ChartElliottDoubleCombo — ChartElliottDoubleCombo.
Examples
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);
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}")