else if (State == State.DataLoaded)
{
Dispatcher.InvokeAsync(() =>
{
AccountSelector accountSelector = Window.GetWindow(ChartControl.Parent).FindFirst("ChartTraderControlAccountSelector") as AccountSelector;
...
}
}
Is there a way to force ChartTrader to create the WPF elements? This would prevent this issue when the indicator is added to the chart before ChartTrader is visible/hidden.

Comment