The error is below, please advise.
The name ChartControl does not exist in the current context.
using NinjaTrader.Gui.Chart;
if (ChartControl != null)
{
ChartControl.OnReloadNinjaSc riptHotKey(this, new System.Windows.Input.KeyEventArgs(Keyboard.Primary Device, PresentationSource.FromVisual(chartControl), 0, Key.F5));
}

Comment