Would you please post a brief code example of the best way for my NT8 custom indicator / strategy code to find out which account the user has selected from the Chart Trader's account combo box?
I have found examples of this for NT7, but not for NT8.
What I am looking for is not how to iterate through all available accounts, but to determine specifically which account is currently selected. So, for instance, something like the following made-up pseudo-code examples:
selAccount = Account.All.SelectedAccount;
or
selAccount = Account.All[ AccountComboBox.SelectedItem ]; // Must find Account combobox object on Chart Trader first.
Thank you.
Comment