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
StringFind > -1 means the string is somewhere in the object name. StringFind == 0 means the string STARTS with the name, which is what OP asked
Merci.
When I want the indicator to remove only the objects it created on exit I do it like this:
I declare in itit()
Then the string name of every object the indicator creates is prefixed with ID for example:
So then to remove all the objects in deinit() search for all objects whose name begins with the ID and delete them.
I am sorry to bump this. But it really helpfull!
Thanks Ian.
Merci.
Please,
How to tell the objectname does NOT contain "myCustomString" ?
Regards.