My goal is really simple - Two chart windows with chart trader. Each window has a button. When the button is clicked, it should print the respective window's selected instrument.
Please see attached screenshot.
But for some reason when one window initializes, it overrides all the variables in the addonBase subclass and both buttons print the same instrumentName. How do I fix this?
Please see attached addon code.

Comment