How can I undo creating an object (HL, VL, Trendline) after pressing a button to create it? (not by calling ObjectCreate, so I do not have the object name)
My current thoughts and questions:
if the chart is fresh, then the number get higher and higher as objects are created, but if the chart is old/reopened (I do not know when exactly) the numbers of the newly created objects may be lower than the current highest number.
So 2) is not exactly correct ...
Does anybody know how the last created object can be identified at anytime working with the chart?