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!
You are missing trading opportunities:
- Free trading apps
- Over 8,000 signals for copying
- Economic news for exploring financial markets
Registration
Log in
You agree to website policy and terms of use
If you do not have an account, please register
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.