Try to avoid objects and use array, structs or classes instead.
Your topic has been moved to the section: Technical Indicators — https://www.mql5.com/en/forum/172166/page6#comment_49114893
Robert Gerald Wood: Always seems to be the slowest part of any indicator or script I create.
You already know the type of any objects you create. No need for the call.
For all other objects, you only need to read the name and type once on the first tick. After that only process object events when they happen.

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
Hello,
Grasping at straws here, but does anyone know a faster way to get an Objects type than good ol' ObjectGetInteger(chart_id, objname, OBJPROP_TYPE) ?
Always seems to be the slowest part of any indicator or script I create.
Thanks in advance :)