/// <summary>
        ///     Shows Scanner.
        /// </summary>
        private void ShowScanner()
        {
            var scanner = new Scanner();
            scanner.ShowDialog();

            StatsBuffer.UpdateStatsBuffer();

            MiStrategyAutoscan.Checked = Configs.Autoscan;

            InfoPanelAccountStatistics.Update(Backtester.AccountStatsParam,
                                              Backtester.AccountStatsValue,
                                              Backtester.AccountStatsFlags,
                                              Language.T("Account Statistics"));
            BalanceChart.SetChartData();
            BalanceChart.InitChart();
            BalanceChart.Invalidate();
            HistogramChart.SetChartData();
            HistogramChart.InitChart();
            HistogramChart.Invalidate();
            SetupJournal();
        }
 /// <summary>
 ///     Starts scanner and loads intrabar data.
 /// </summary>
 private void LoadIntrabarData(object sender, DoWorkEventArgs e)
 {
     var scanner = new Scanner {CompactMode = true};
     scanner.ShowDialog();
 }