Try calling this function wherever you happen to need the
current account from chart trader,
private Account ChartTrader_GetAccount()
{
if (ChartControl == null)
return null;
ChartControl.Dispatcher.InvokeAsync((Action)(() =>
{
return ChartControl.OwnerChart.ChartTrader.Account;
}));
}
*untested*


Leave a comment: