Files
mql5-skills/skills/mql5/references/docs/34-standardlibrary/2326-standardlibrary-chart-object-classes-obj-controls-cchartobjectsubchart-cchartobjectsubchartcreate.md
T
2026-06-23 21:47:51 +08:00

51 lines
812 B
Markdown
Raw Blame History

This file contains invisible Unicode characters
This file contains invisible Unicode characters that are indistinguishable to humans but may be processed differently by a computer. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.
This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.
# Create
Creates "SubChart" graphical object.
```
bool  Create(
   long    chart_id,     // chart identifier
   string  name,         // object name
   int     window,       // chart window
   int     X,            // X coordinate
   int     Y,            // Y coordinate
   int     sizeX,        // X size
   int     sizeY         // Y size
   )
```
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).
X
[in]  X coordinate.
Y
[in]  Y coordinate.
sizeX
[in]  X size.
sizeY
[in]  Y size.
Return Value
true - successful, false - error.