-
for (int i=ObjectsTotal()-1; i >= 0; i--) if (ObjectGet(i,OBJPROP_ARROWCODE))
You can't use ObjectsTotal() and ObjectGet(i, type)
Perhaps you should read the manual. ObjectsTotal - Object Functions - MQL4 Reference
How To Ask Questions The Smart Way. 2004
How To Interpret Answers.
RTFM and STFW: How To Tell You've Seriously Screwed Up. -
if (ObjectType(OBJ_ARROW) == OBJ_ARROW_UP)
You need to read the documentation. ObjectType() takes an object name.
-
if (ObjectType(OBJ_ARROW) == OBJ_ARROW_UP)
You need to read the documentation. An Arrow is a different type than Arrow Up.
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
Hi
is any can help how to code if and object exist do next? example code: