private void Button_Click_1(object sender, RoutedEventArgs e) { var s = new StochPOP(); var o = s.Start(input.Text, null, true); AddOutput("=================", true); AddOutput("Sequence " + o[0], true); AddOutput("Profit " + o[1], true); AddOutput("Trades " + o[2], true); }
internal void Start() { Console.WriteLine("Starting Calculations.."); string SIMcontext = @"Data Source=85.214.244.19;Initial Catalog=ALSI_SIM;User ID=SimLogin;Password=boeboe;MultipleActiveResultSets=True"; while (true) { var s = new StochPOP(); s.Start(null, SIMcontext, false); } }