ObjectsTotal
The function returns the number of objects in the specified chart, specified subwindow, of the specified type.
int ObjectsTotal( |
Parameters
chart_id
[in] Chart identifier. 0 means the current chart.
nwin=-1
[in] Number of the chart subwindow. 0 means the main chart window, -1 means all the subwindows of the chart, including the main window.
type=-1
[in] Type of the object. The value can be one of the values of the ENUM_OBJECT enumeration. -1 means all types.
Return Value
The number of objects.
© 2000-2010, MetaQuotes Software Corp.