Files
mql5-skills/skills/mql5/references/docs/34-standardlibrary/2262-standardlibrary-chart-object-classes-obj-elliott-cchartobjectelliottwave5-cchartobjectelliottwave5create.md
T
2026-06-23 21:47:51 +08:00

1.7 KiB
Raw Blame History

Create

Creates "Impulse Wave" graphical object.

bool  Create(
   long      chart_id,     // chart identifier
   string    name,         // object name
   int       window,       // chart window
   datetime  time1,        // first time coordinate
   double    price1,       // first price coordinate
   datetime  time2,        // second time coordinate
   double    price2,       // second price coordinate
   datetime  time3,        // third time coordinate
   double    price3,       // third price coordinate
   datetime  time4,        // fourth time coordinate
   double    price4,       // fourth price coordinate
   datetime  time5         // fifth time coordinate
   double    price5,       // fifth price coordinate
   )

Parameters

chart_id

[in]  Chart identifier (0 current chart).

name

[in]  A unique name of the object to create.

window

[in]  Chart window number (0 main window).

time1

[in]  Time coordinate of the first anchor point.

price1

[in]  Price coordinate of the first anchor point.

time2

[in]  Time coordinate of the second anchor point.

price2

[in]  Price coordinate of the second anchor point.

time3

[in]  Time coordinate of the third anchor point.

price3

[in]  Price coordinate of the third anchor point.

time4

[in]  Time coordinate of the fourth anchor point.

price4

[in]  Price coordinate of the fourth anchor point.

time5

[in]  Time coordinate of the fifth anchor point.

price5

[in]  Price coordinate of the fifth anchor point.

Return Value

true - successful, false - error.