Download MetaTrader 5

Create

Creates "Bitmap" graphical object.

bool  Create(
   long      chart_id,     // chart identifier
   string    name,         // object name
   int       window,       // chart window
   datetime  time,         // time coordinate
   double    price         // 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).

time

[in]  Time coordinate of the anchor point.

price

[in]  Price coordinate of the anchor point.

Return Value

true - successful, false - error.


Updated: 2016.04.06