Files
mql5-skills/skills/mql5/references/docs/34-standardlibrary/2201-standardlibrary-chart-object-classes-obj-channels-cchartobjectstddevchannel-cchartobjectstddevchannelcreate.md
T

46 lines
893 B
Markdown
Raw Normal View History

2026-06-23 21:47:51 +08:00
# Create
Creates "Standard Deviation Channel" graphical object.
```
bool  Create(
   long      chart_id,      // chart identifier
   string    name,          // object name
   int       window,        // chart window
   datetime  time1,         // first time coordinate
   datetime  time2,         // second time coordinate
   double    deviation      // deviation
   )
```
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.
time2
[in]  Time coordinate of the second anchor point.
deviation
[in]  Numerical value for "Deviation" property.
Return Value
true - successful, false - error.