Saving ObjectName in Variable
-
@ezzakt please share your solved project plz.
-
Hi,
I have an indicator generating Rectangles with Variable names (date and time in name changes).
I currently use the prefix check function as this is always the same to loop through the objects and find some specific ones.As some problems come up with this, I like to save an object name, after I found it with the prefix check to a Variable. Is this easily possible with fxdreema functions ?
greetings
-
It looks that the name of the object is the only thing that is missing if you use For each Object, this is because of the way I organized things in Condition -> Object on the chart
The issue is that the name is a string value, while everything else is numering, and in some way it doesn't fit.For now you can use this function - LoadedObjectName(). Just write this somewhere after "For each Object" and it should give you the name. But note that in any time in future I may, and most probably will rename this function or remove it. This is function created by me and I often change things

-
Hi,
late reply from me - issue is solved.
Used a global Variable in your loop blocks to set the name.But good to know I was not too blind to find it

Andy