/// <summary> /// Starts scanner and loads intrabar data. /// </summary> void LoadIntrabarData(object sender, DoWorkEventArgs e) { Scanner scanner = new Scanner(); scanner.CompactMode = true; scanner.ShowDialog(); return; }
/// <summary> /// Starts scanner and loads intrabar data. /// </summary> private void LoadIntrabarData(object sender, DoWorkEventArgs e) { var scanner = new Scanner {CompactMode = true}; scanner.ShowDialog(); }
/// <summary> /// Shows the scanner /// </summary> void ShowScanner() { Scanner scanner = new Scanner(); scanner.ShowDialog(); miStrategyAutoscan.Checked = Configs.Autoscan; infpnlAccountStatistics.Update(Backtester.AccountStatsParam, Backtester.AccountStatsValue, Backtester.AccountStatsFlags, Language.T("Account Statistics")); smallBalanceChart.SetChartData(); smallBalanceChart.InitChart(); smallBalanceChart.Invalidate(); SetupJournal(); }
/// <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(); }