Skip to content

ChartArea.DrawElliottTripleCombo

method · ChartArea · cAlgo.API Since 5.10

DesktopCLICloud

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

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

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).

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

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

Returns ChartElliottTripleCombo — ChartElliottTripleCombo.

Examples

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);
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).

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

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

Returns ChartElliottTripleCombo — ChartElliottTripleCombo.

Examples

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);
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).

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

Returns ChartElliottTripleCombo — ChartElliottTripleCombo.

Examples

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);
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}")