Error in ObjectCreate

 

Hi, it gives me an error here... why?

ObjectCreate("Arrow"+iTime(NULL,0,0),OBJ_ARROW,0,iTime(NULL,0,0),Low);

[MQL4]

Thanks

Documentation on MQL5: Constants, Enumerations and Structures / Objects Constants / Object Types
Documentation on MQL5: Constants, Enumerations and Structures / Objects Constants / Object Types
  • www.mql5.com
When a graphical object is created using the ObjectCreate() function, it's necessary to specify the type of object being created, which can be one of the values of the ENUM_OBJECT enumeration. Further specifications of object properties are possible using functions for working with graphical objects.
 

implicit conversion from 'number' to 'string'    testscr.mq4    5    9

Is your clue. Convert your first iTime to a string so you can then append it.