Sq1.Gui.Forms.ChartFormInterformEventsConsumer.Executor_BacktesterSimulatedAllBars_step4of4(object, System.EventArgs)

Here are the examples of the csharp api class Sq1.Gui.Forms.ChartFormInterformEventsConsumer.Executor_BacktesterSimulatedAllBars_step4of4(object, System.EventArgs) taken from open source projects. By voting up you can indicate which examples are most useful and appropriate.

1 Example 7

1. Example

View license
internal void Executor_BacktesterSimulatedAllBars_step4of4(object sender, EventArgs e) {
			if (this.chartFormManager.Executor == null) return;
			if (sender != this.chartFormManager.Executor.EventGenerator) return;
			this.backtestAlreadyFinished = true;

			if (this.chartFormManager.ChartForm.InvokeRequired) {
				this.chartFormManager.ChartForm.BeginInvoke(new MethodInvoker(delegate { this.Executor_BacktesterSimulatedAllBars_step4of4(sender, e); }));
				return;
			}

			this.chartFormManager.ChartForm.TsiProgressBarETA.ETALabelText = this.chartFormManager.Executor.BacktesterOrLivesimulator.ProgressStats;
			this.chartFormManager.ChartForm.TsiProgressBarETA.ETAProgressBarValue = 0;
			this.chartFormManager.ChartForm.TsiProgressBarETA.Visible = false;
			
			//this.chartFormManager.ChartForm.btnStrategyEmittingOrders.Visible = true;
			//this.chartFormManager.ChartForm.btnStreamingTriggersScript.Visible = true;
			this.chartFormManager.ChartForm.PropagateSelectors_disabledIfStreaming_forCurrentChart();
			this.chartFormManager.ChartForm.AbsorbContextBarsToGui();

			this.chartFormManager.OnBacktestedOrLivesimmed();
		}