MQL4 Reference
Object functions
ObjectType
| int ObjectType( |
string name) |
The function returns the object type value.
To get the detailed error information, one has to call the GetLastError() function.
Parameters:
Sample:
if(ObjectType("line_object2")!=OBJ_HLINE) return(0);
|
|
|