I have code that draws object on the chart. I want to delete the objects with a hot key that is assigned within the code. When I do this, the object is deleted from all the charts, not just the chart I'm working with.
How do I prevent the ObjectDelete("myobject") from deleting myobject on all charts? Should I add the symbol to the object name or is there a chartID I can use so that when I make the object it has a unique name on each chart?
If I use the symbol name, make the object, change the symbol.... the object delete wont work. Unless I use a static var?
Tipster
How do I prevent the ObjectDelete("myobject") from deleting myobject on all charts? Should I add the symbol to the object name or is there a chartID I can use so that when I make the object it has a unique name on each chart?
If I use the symbol name, make the object, change the symbol.... the object delete wont work. Unless I use a static var?
Tipster
Tipster Trendlines - Trade from the chart