??? = MQL5 (MQL4(ObjectType());
yogureee:
Try ObjectGetInteger() with OBJPROP_TYPE, which returns an ENUM_OBJECT.
I need help to convert " if (ObjectType(name) != OBJ_HLINE); " into MQL5 format.
I couldn't find any informations about it.
Thank you in advance.
Thank you very much for your quick reply.
I wrote:
" if (ObjectGetInteger (0, name, OBJPROP_TYPE) == OBJ_HLINE) "
and it worked!
I need help to convert " if (ObjectType(name) != OBJ_HLINE); " into MQL5 format.
I couldn't find any informations about it.
Thank you in advance.