I do need one more link type, though. I want to link the instruments for the tabs of single chart . How would I go about implementing that? I envision it as a chart AddOn that:
- Adds an identical third button right beside the existing two buttons
- Has the logic to notice when an instrument changes on any of the linked tabs and changes instruments to match on all other linked tabs of that chart window
- Note that I do not want to react to instrument changes from anything other than one of the linked tabs of this chart window, nor do I want to cause changes to anything other than the linked tabs of this chart window
The usage I envision is having a typical chart window contain tabs for different time periods. When you change the instrument in one tab, the other tabs track it. I cannot use the existing Instrument Link because (a) this is different than tracking external changes and (b) one would exhaust the available color range very quickly.
--EV
Comment