is there a property for a ChartObject (e.g. horizontal line) that contains the Instrument it is attached to?
If you
1) draw a horizontal line
2) change the Instrument of the chart
3) peruse the ChartObjects collection
the horizontal line will still be found in that collection but it no longer pertains to the current Instrument.
(Note this is not the case with Global objects - they seem to disappear from the collection when the Instrument is changed)
Thanks,
saltminer
Comment