diff --git a/MtApi/MtApiClient.cs b/MtApi/MtApiClient.cs index 654444a2..388831db 100755 --- a/MtApi/MtApiClient.cs +++ b/MtApi/MtApiClient.cs @@ -502,6 +502,12 @@ namespace MtApi Dictionary cmdParams = new() { { "Pool", (int)pool} }; return SendCommand>(ExecutorHandle, MtCommandType.GetOrders, cmdParams); } + + public List? GetSymbols(bool selected) + { + Dictionary cmdParams = new() { { "Selected", selected } }; + return SendCommand>(ExecutorHandle, MtCommandType.GetSymbols, cmdParams); + } #endregion #region Checkup diff --git a/MtApi/MtCommandType.cs b/MtApi/MtCommandType.cs index 0c9c3a6f..cfaf09a5 100644 --- a/MtApi/MtCommandType.cs +++ b/MtApi/MtCommandType.cs @@ -287,6 +287,7 @@ SymbolInfoTick = 288, SymbolInfoDouble = 289, - GetQuote = 290 + GetQuote = 290, + GetSymbols = 291 } } diff --git a/TestClients/TestApiClientUI/Form1.Designer.cs b/TestClients/TestApiClientUI/Form1.Designer.cs index 91b482f2..87be2358 100644 --- a/TestClients/TestApiClientUI/Form1.Designer.cs +++ b/TestClients/TestApiClientUI/Form1.Designer.cs @@ -28,2207 +28,2340 @@ /// private void InitializeComponent() { - this.components = new System.ComponentModel.Container(); - this.textBoxServerName = new System.Windows.Forms.TextBox(); - this.textBoxPort = new System.Windows.Forms.TextBox(); - this.buttonConnect = new System.Windows.Forms.Button(); - this.buttonDisconnect = new System.Windows.Forms.Button(); - this.label1 = new System.Windows.Forms.Label(); - this.label2 = new System.Windows.Forms.Label(); - this.groupBox1 = new System.Windows.Forms.GroupBox(); - this.statusStrip1 = new System.Windows.Forms.StatusStrip(); - this.toolStripStatusConnection = new System.Windows.Forms.ToolStripStatusLabel(); - this.groupBox2 = new System.Windows.Forms.GroupBox(); - this.checkBox2 = new System.Windows.Forms.CheckBox(); - this.listViewQuotes = new System.Windows.Forms.ListView(); - this.colSymbol = ((System.Windows.Forms.ColumnHeader)(new System.Windows.Forms.ColumnHeader())); - this.colBid = ((System.Windows.Forms.ColumnHeader)(new System.Windows.Forms.ColumnHeader())); - this.colAsk = ((System.Windows.Forms.ColumnHeader)(new System.Windows.Forms.ColumnHeader())); - this.colExpertHandle = ((System.Windows.Forms.ColumnHeader)(new System.Windows.Forms.ColumnHeader())); - this.listBoxEventLog = new System.Windows.Forms.ListBox(); - this.contextMenuStrip1 = new System.Windows.Forms.ContextMenuStrip(this.components); - this.tabControl1 = new System.Windows.Forms.TabControl(); - this.tabPage2 = new System.Windows.Forms.TabPage(); - this.button22 = new System.Windows.Forms.Button(); - this.button21 = new System.Windows.Forms.Button(); - this.label3 = new System.Windows.Forms.Label(); - this.textBoxOppositeTicket = new System.Windows.Forms.TextBox(); - this.button15 = new System.Windows.Forms.Button(); - this.checkBox1 = new System.Windows.Forms.CheckBox(); - this.button20 = new System.Windows.Forms.Button(); - this.button17 = new System.Windows.Forms.Button(); - this.comboBox2 = new System.Windows.Forms.ComboBox(); - this.comboBox1 = new System.Windows.Forms.ComboBox(); - this.button16 = new System.Windows.Forms.Button(); - this.label21 = new System.Windows.Forms.Label(); - this.textBoxIndexTicket = new System.Windows.Forms.TextBox(); - this.comboBoxSelectedCommand = new System.Windows.Forms.ComboBox(); - this.label15 = new System.Windows.Forms.Label(); - this.label16 = new System.Windows.Forms.Label(); - this.listBoxClosedOrders = new System.Windows.Forms.ListBox(); - this.button2 = new System.Windows.Forms.Button(); - this.groupBox3 = new System.Windows.Forms.GroupBox(); - this.button19 = new System.Windows.Forms.Button(); - this.button18 = new System.Windows.Forms.Button(); - this.comboBoxOrderColor = new System.Windows.Forms.ComboBox(); - this.textBox2 = new System.Windows.Forms.TextBox(); - this.textBoxOrderMagic = new System.Windows.Forms.TextBox(); - this.textBoxOrderComment = new System.Windows.Forms.TextBox(); - this.textBoxOrderProffit = new System.Windows.Forms.TextBox(); - this.textBoxOrderStoploss = new System.Windows.Forms.TextBox(); - this.textBoxOrderPrice = new System.Windows.Forms.TextBox(); - this.label20 = new System.Windows.Forms.Label(); - this.numericOrderSlippage = new System.Windows.Forms.NumericUpDown(); - this.label19 = new System.Windows.Forms.Label(); - this.textBoxOrderVolume = new System.Windows.Forms.TextBox(); - this.label18 = new System.Windows.Forms.Label(); - this.comboBoxOrderCommand = new System.Windows.Forms.ComboBox(); - this.label17 = new System.Windows.Forms.Label(); - this.label14 = new System.Windows.Forms.Label(); - this.label13 = new System.Windows.Forms.Label(); - this.label12 = new System.Windows.Forms.Label(); - this.label11 = new System.Windows.Forms.Label(); - this.label8 = new System.Windows.Forms.Label(); - this.label10 = new System.Windows.Forms.Label(); - this.button1 = new System.Windows.Forms.Button(); - this.textBoxOrderSymbol = new System.Windows.Forms.TextBox(); - this.label9 = new System.Windows.Forms.Label(); - this.listBoxSendedOrders = new System.Windows.Forms.ListBox(); - this.tabPage1 = new System.Windows.Forms.TabPage(); - this.button52 = new System.Windows.Forms.Button(); - this.button51 = new System.Windows.Forms.Button(); - this.button50 = new System.Windows.Forms.Button(); - this.button49 = new System.Windows.Forms.Button(); - this.button48 = new System.Windows.Forms.Button(); - this.button47 = new System.Windows.Forms.Button(); - this.button46 = new System.Windows.Forms.Button(); - this.button45 = new System.Windows.Forms.Button(); - this.button44 = new System.Windows.Forms.Button(); - this.button43 = new System.Windows.Forms.Button(); - this.button42 = new System.Windows.Forms.Button(); - this.button41 = new System.Windows.Forms.Button(); - this.button40 = new System.Windows.Forms.Button(); - this.button39 = new System.Windows.Forms.Button(); - this.buttonRefreshRates = new System.Windows.Forms.Button(); - this.label22 = new System.Windows.Forms.Label(); - this.textBoxErrorCode = new System.Windows.Forms.TextBox(); - this.tabPage3 = new System.Windows.Forms.TabPage(); - this.button70 = new System.Windows.Forms.Button(); - this.label33 = new System.Windows.Forms.Label(); - this.label32 = new System.Windows.Forms.Label(); - this.label31 = new System.Windows.Forms.Label(); - this.textBoxAccountHost = new System.Windows.Forms.TextBox(); - this.textBoxAccountPassword = new System.Windows.Forms.TextBox(); - this.textBoxAccountLogin = new System.Windows.Forms.TextBox(); - this.button67 = new System.Windows.Forms.Button(); - this.button66 = new System.Windows.Forms.Button(); - this.button65 = new System.Windows.Forms.Button(); - this.button64 = new System.Windows.Forms.Button(); - this.button63 = new System.Windows.Forms.Button(); - this.button62 = new System.Windows.Forms.Button(); - this.button61 = new System.Windows.Forms.Button(); - this.button60 = new System.Windows.Forms.Button(); - this.button59 = new System.Windows.Forms.Button(); - this.button58 = new System.Windows.Forms.Button(); - this.button57 = new System.Windows.Forms.Button(); - this.button56 = new System.Windows.Forms.Button(); - this.button55 = new System.Windows.Forms.Button(); - this.button54 = new System.Windows.Forms.Button(); - this.button53 = new System.Windows.Forms.Button(); - this.button3 = new System.Windows.Forms.Button(); - this.comboBoxAccountInfoCmd = new System.Windows.Forms.ComboBox(); - this.textBoxAccountInfoVolume = new System.Windows.Forms.TextBox(); - this.label25 = new System.Windows.Forms.Label(); - this.label24 = new System.Windows.Forms.Label(); - this.label23 = new System.Windows.Forms.Label(); - this.textBoxAccountInfoSymbol = new System.Windows.Forms.TextBox(); - this.tabPage4 = new System.Windows.Forms.TabPage(); - this.comboBox12 = new System.Windows.Forms.ComboBox(); - this.button72 = new System.Windows.Forms.Button(); - this.button36 = new System.Windows.Forms.Button(); - this.comboBox10 = new System.Windows.Forms.ComboBox(); - this.comboBox9 = new System.Windows.Forms.ComboBox(); - this.button35 = new System.Windows.Forms.Button(); - this.button34 = new System.Windows.Forms.Button(); - this.comboBox8 = new System.Windows.Forms.ComboBox(); - this.label30 = new System.Windows.Forms.Label(); - this.button33 = new System.Windows.Forms.Button(); - this.comboBox7 = new System.Windows.Forms.ComboBox(); - this.comboBox6 = new System.Windows.Forms.ComboBox(); - this.label29 = new System.Windows.Forms.Label(); - this.comboBox5 = new System.Windows.Forms.ComboBox(); - this.button31 = new System.Windows.Forms.Button(); - this.txtMarketInfoSymbol = new System.Windows.Forms.TextBox(); - this.button5 = new System.Windows.Forms.Button(); - this.tabPage5 = new System.Windows.Forms.TabPage(); - this.dateTimePicker2 = new System.Windows.Forms.DateTimePicker(); - this.dateTimePicker1 = new System.Windows.Forms.DateTimePicker(); - this.label6 = new System.Windows.Forms.Label(); - this.numericUpDown2 = new System.Windows.Forms.NumericUpDown(); - this.numericUpDown1 = new System.Windows.Forms.NumericUpDown(); - this.label27 = new System.Windows.Forms.Label(); - this.label7 = new System.Windows.Forms.Label(); - this.label5 = new System.Windows.Forms.Label(); - this.comboBox3 = new System.Windows.Forms.ComboBox(); - this.label4 = new System.Windows.Forms.Label(); - this.button26 = new System.Windows.Forms.Button(); - this.button25 = new System.Windows.Forms.Button(); - this.button24 = new System.Windows.Forms.Button(); - this.button12 = new System.Windows.Forms.Button(); - this.button11 = new System.Windows.Forms.Button(); - this.button10 = new System.Windows.Forms.Button(); - this.button9 = new System.Windows.Forms.Button(); - this.button8 = new System.Windows.Forms.Button(); - this.button7 = new System.Windows.Forms.Button(); - this.textBoxTimeframesCount = new System.Windows.Forms.TextBox(); - this.label26 = new System.Windows.Forms.Label(); - this.textBoxSelectedSymbol = new System.Windows.Forms.TextBox(); - this.button6 = new System.Windows.Forms.Button(); - this.listBoxProceHistory = new System.Windows.Forms.ListBox(); - this.tabPage6 = new System.Windows.Forms.TabPage(); - this.textBoxPrint = new System.Windows.Forms.TextBox(); - this.button27 = new System.Windows.Forms.Button(); - this.button14 = new System.Windows.Forms.Button(); - this.button13 = new System.Windows.Forms.Button(); - this.tabPage7 = new System.Windows.Forms.TabPage(); - this.button71 = new System.Windows.Forms.Button(); - this.button23 = new System.Windows.Forms.Button(); - this.iCustomBtn = new System.Windows.Forms.Button(); - this.tabPage8 = new System.Windows.Forms.TabPage(); - this.comboBox4 = new System.Windows.Forms.ComboBox(); - this.button32 = new System.Windows.Forms.Button(); - this.button30 = new System.Windows.Forms.Button(); - this.button29 = new System.Windows.Forms.Button(); - this.button28 = new System.Windows.Forms.Button(); - this.label28 = new System.Windows.Forms.Label(); - this.textBox1 = new System.Windows.Forms.TextBox(); - this.tabPage9 = new System.Windows.Forms.TabPage(); - this.textBoxChartId = new System.Windows.Forms.TextBox(); - this.button38 = new System.Windows.Forms.Button(); - this.button37 = new System.Windows.Forms.Button(); - this.tabPage10 = new System.Windows.Forms.TabPage(); - this.button68 = new System.Windows.Forms.Button(); - this.comboBox11 = new System.Windows.Forms.ComboBox(); - this.button4 = new System.Windows.Forms.Button(); - this.tabPage11 = new System.Windows.Forms.TabPage(); - this.button69 = new System.Windows.Forms.Button(); - this.button73 = new System.Windows.Forms.Button(); - this.groupBox1.SuspendLayout(); - this.statusStrip1.SuspendLayout(); - this.groupBox2.SuspendLayout(); - this.tabControl1.SuspendLayout(); - this.tabPage2.SuspendLayout(); - this.groupBox3.SuspendLayout(); - ((System.ComponentModel.ISupportInitialize)(this.numericOrderSlippage)).BeginInit(); - this.tabPage1.SuspendLayout(); - this.tabPage3.SuspendLayout(); - this.tabPage4.SuspendLayout(); - this.tabPage5.SuspendLayout(); - ((System.ComponentModel.ISupportInitialize)(this.numericUpDown2)).BeginInit(); - ((System.ComponentModel.ISupportInitialize)(this.numericUpDown1)).BeginInit(); - this.tabPage6.SuspendLayout(); - this.tabPage7.SuspendLayout(); - this.tabPage8.SuspendLayout(); - this.tabPage9.SuspendLayout(); - this.tabPage10.SuspendLayout(); - this.tabPage11.SuspendLayout(); - this.SuspendLayout(); + components = new System.ComponentModel.Container(); + textBoxServerName = new TextBox(); + textBoxPort = new TextBox(); + buttonConnect = new Button(); + buttonDisconnect = new Button(); + label1 = new Label(); + label2 = new Label(); + groupBox1 = new GroupBox(); + statusStrip1 = new StatusStrip(); + toolStripStatusConnection = new ToolStripStatusLabel(); + groupBox2 = new GroupBox(); + checkBox2 = new CheckBox(); + listViewQuotes = new ListView(); + colSymbol = new ColumnHeader(); + colBid = new ColumnHeader(); + colAsk = new ColumnHeader(); + colExpertHandle = new ColumnHeader(); + listBoxEventLog = new ListBox(); + contextMenuStrip1 = new ContextMenuStrip(components); + tabControl1 = new TabControl(); + tabPage2 = new TabPage(); + button22 = new Button(); + button21 = new Button(); + label3 = new Label(); + textBoxOppositeTicket = new TextBox(); + button15 = new Button(); + checkBox1 = new CheckBox(); + button20 = new Button(); + button17 = new Button(); + comboBox2 = new ComboBox(); + comboBox1 = new ComboBox(); + button16 = new Button(); + label21 = new Label(); + textBoxIndexTicket = new TextBox(); + comboBoxSelectedCommand = new ComboBox(); + label15 = new Label(); + label16 = new Label(); + listBoxClosedOrders = new ListBox(); + button2 = new Button(); + groupBox3 = new GroupBox(); + button19 = new Button(); + button18 = new Button(); + comboBoxOrderColor = new ComboBox(); + textBox2 = new TextBox(); + textBoxOrderMagic = new TextBox(); + textBoxOrderComment = new TextBox(); + textBoxOrderProffit = new TextBox(); + textBoxOrderStoploss = new TextBox(); + textBoxOrderPrice = new TextBox(); + label20 = new Label(); + numericOrderSlippage = new NumericUpDown(); + label19 = new Label(); + textBoxOrderVolume = new TextBox(); + label18 = new Label(); + comboBoxOrderCommand = new ComboBox(); + label17 = new Label(); + label14 = new Label(); + label13 = new Label(); + label12 = new Label(); + label11 = new Label(); + label8 = new Label(); + label10 = new Label(); + button1 = new Button(); + textBoxOrderSymbol = new TextBox(); + label9 = new Label(); + listBoxSendedOrders = new ListBox(); + tabPage1 = new TabPage(); + button52 = new Button(); + button51 = new Button(); + button50 = new Button(); + button49 = new Button(); + button48 = new Button(); + button47 = new Button(); + button46 = new Button(); + button45 = new Button(); + button44 = new Button(); + button43 = new Button(); + button42 = new Button(); + button41 = new Button(); + button40 = new Button(); + button39 = new Button(); + buttonRefreshRates = new Button(); + label22 = new Label(); + textBoxErrorCode = new TextBox(); + tabPage3 = new TabPage(); + button70 = new Button(); + label33 = new Label(); + label32 = new Label(); + label31 = new Label(); + textBoxAccountHost = new TextBox(); + textBoxAccountPassword = new TextBox(); + textBoxAccountLogin = new TextBox(); + button67 = new Button(); + button66 = new Button(); + button65 = new Button(); + button64 = new Button(); + button63 = new Button(); + button62 = new Button(); + button61 = new Button(); + button60 = new Button(); + button59 = new Button(); + button58 = new Button(); + button57 = new Button(); + button56 = new Button(); + button55 = new Button(); + button54 = new Button(); + button53 = new Button(); + button3 = new Button(); + comboBoxAccountInfoCmd = new ComboBox(); + textBoxAccountInfoVolume = new TextBox(); + label25 = new Label(); + label24 = new Label(); + label23 = new Label(); + textBoxAccountInfoSymbol = new TextBox(); + tabPage4 = new TabPage(); + comboBox12 = new ComboBox(); + button72 = new Button(); + button36 = new Button(); + comboBox10 = new ComboBox(); + comboBox9 = new ComboBox(); + button35 = new Button(); + button34 = new Button(); + comboBox8 = new ComboBox(); + label30 = new Label(); + button33 = new Button(); + comboBox7 = new ComboBox(); + comboBox6 = new ComboBox(); + label29 = new Label(); + comboBox5 = new ComboBox(); + button31 = new Button(); + txtMarketInfoSymbol = new TextBox(); + button5 = new Button(); + tabPage5 = new TabPage(); + dateTimePicker2 = new DateTimePicker(); + dateTimePicker1 = new DateTimePicker(); + label6 = new Label(); + numericUpDown2 = new NumericUpDown(); + numericUpDown1 = new NumericUpDown(); + label27 = new Label(); + label7 = new Label(); + label5 = new Label(); + comboBox3 = new ComboBox(); + label4 = new Label(); + button26 = new Button(); + button25 = new Button(); + button24 = new Button(); + button12 = new Button(); + button11 = new Button(); + button10 = new Button(); + button9 = new Button(); + button8 = new Button(); + button7 = new Button(); + textBoxTimeframesCount = new TextBox(); + label26 = new Label(); + textBoxSelectedSymbol = new TextBox(); + button6 = new Button(); + listBoxProceHistory = new ListBox(); + tabPage6 = new TabPage(); + button73 = new Button(); + textBoxPrint = new TextBox(); + button27 = new Button(); + button14 = new Button(); + button13 = new Button(); + tabPage7 = new TabPage(); + button71 = new Button(); + button23 = new Button(); + iCustomBtn = new Button(); + tabPage8 = new TabPage(); + comboBox4 = new ComboBox(); + button32 = new Button(); + button30 = new Button(); + button29 = new Button(); + button28 = new Button(); + label28 = new Label(); + textBox1 = new TextBox(); + tabPage9 = new TabPage(); + textBoxChartId = new TextBox(); + button38 = new Button(); + button37 = new Button(); + tabPage10 = new TabPage(); + button68 = new Button(); + comboBox11 = new ComboBox(); + button4 = new Button(); + tabPage11 = new TabPage(); + button69 = new Button(); + checkBox3 = new CheckBox(); + button74 = new Button(); + listBoxAllSymbols = new ListBox(); + groupBox1.SuspendLayout(); + statusStrip1.SuspendLayout(); + groupBox2.SuspendLayout(); + tabControl1.SuspendLayout(); + tabPage2.SuspendLayout(); + groupBox3.SuspendLayout(); + ((System.ComponentModel.ISupportInitialize)numericOrderSlippage).BeginInit(); + tabPage1.SuspendLayout(); + tabPage3.SuspendLayout(); + tabPage4.SuspendLayout(); + tabPage5.SuspendLayout(); + ((System.ComponentModel.ISupportInitialize)numericUpDown2).BeginInit(); + ((System.ComponentModel.ISupportInitialize)numericUpDown1).BeginInit(); + tabPage6.SuspendLayout(); + tabPage7.SuspendLayout(); + tabPage8.SuspendLayout(); + tabPage9.SuspendLayout(); + tabPage10.SuspendLayout(); + tabPage11.SuspendLayout(); + SuspendLayout(); // // textBoxServerName // - this.textBoxServerName.Location = new System.Drawing.Point(70, 19); - this.textBoxServerName.Name = "textBoxServerName"; - this.textBoxServerName.Size = new System.Drawing.Size(228, 20); - this.textBoxServerName.TabIndex = 0; + textBoxServerName.Location = new Point(82, 22); + textBoxServerName.Margin = new Padding(4, 3, 4, 3); + textBoxServerName.Name = "textBoxServerName"; + textBoxServerName.Size = new Size(265, 23); + textBoxServerName.TabIndex = 0; // // textBoxPort // - this.textBoxPort.Location = new System.Drawing.Point(70, 45); - this.textBoxPort.Name = "textBoxPort"; - this.textBoxPort.Size = new System.Drawing.Size(57, 20); - this.textBoxPort.TabIndex = 1; - this.textBoxPort.Text = "8222"; + textBoxPort.Location = new Point(82, 52); + textBoxPort.Margin = new Padding(4, 3, 4, 3); + textBoxPort.Name = "textBoxPort"; + textBoxPort.Size = new Size(66, 23); + textBoxPort.TabIndex = 1; + textBoxPort.Text = "8222"; // // buttonConnect // - this.buttonConnect.Location = new System.Drawing.Point(17, 73); - this.buttonConnect.Name = "buttonConnect"; - this.buttonConnect.Size = new System.Drawing.Size(75, 23); - this.buttonConnect.TabIndex = 2; - this.buttonConnect.Text = "Connect"; - this.buttonConnect.UseVisualStyleBackColor = true; - this.buttonConnect.Click += new System.EventHandler(this.buttonConnect_Click); + buttonConnect.Location = new Point(20, 84); + buttonConnect.Margin = new Padding(4, 3, 4, 3); + buttonConnect.Name = "buttonConnect"; + buttonConnect.Size = new Size(88, 27); + buttonConnect.TabIndex = 2; + buttonConnect.Text = "Connect"; + buttonConnect.UseVisualStyleBackColor = true; + buttonConnect.Click += buttonConnect_Click; // // buttonDisconnect // - this.buttonDisconnect.Location = new System.Drawing.Point(98, 73); - this.buttonDisconnect.Name = "buttonDisconnect"; - this.buttonDisconnect.Size = new System.Drawing.Size(75, 23); - this.buttonDisconnect.TabIndex = 3; - this.buttonDisconnect.Text = "Disconnect"; - this.buttonDisconnect.UseVisualStyleBackColor = true; - this.buttonDisconnect.Click += new System.EventHandler(this.buttonDisconnect_Click); + buttonDisconnect.Location = new Point(114, 84); + buttonDisconnect.Margin = new Padding(4, 3, 4, 3); + buttonDisconnect.Name = "buttonDisconnect"; + buttonDisconnect.Size = new Size(88, 27); + buttonDisconnect.TabIndex = 3; + buttonDisconnect.Text = "Disconnect"; + buttonDisconnect.UseVisualStyleBackColor = true; + buttonDisconnect.Click += buttonDisconnect_Click; // // label1 // - this.label1.AutoSize = true; - this.label1.Location = new System.Drawing.Point(14, 22); - this.label1.Name = "label1"; - this.label1.Size = new System.Drawing.Size(38, 13); - this.label1.TabIndex = 5; - this.label1.Text = "Server"; + label1.AutoSize = true; + label1.Location = new Point(16, 25); + label1.Margin = new Padding(4, 0, 4, 0); + label1.Name = "label1"; + label1.Size = new Size(39, 15); + label1.TabIndex = 5; + label1.Text = "Server"; // // label2 // - this.label2.AutoSize = true; - this.label2.Location = new System.Drawing.Point(14, 48); - this.label2.Name = "label2"; - this.label2.Size = new System.Drawing.Size(26, 13); - this.label2.TabIndex = 6; - this.label2.Text = "Port"; + label2.AutoSize = true; + label2.Location = new Point(16, 55); + label2.Margin = new Padding(4, 0, 4, 0); + label2.Name = "label2"; + label2.Size = new Size(29, 15); + label2.TabIndex = 6; + label2.Text = "Port"; // // groupBox1 // - this.groupBox1.Controls.Add(this.buttonConnect); - this.groupBox1.Controls.Add(this.textBoxServerName); - this.groupBox1.Controls.Add(this.textBoxPort); - this.groupBox1.Controls.Add(this.buttonDisconnect); - this.groupBox1.Controls.Add(this.label2); - this.groupBox1.Controls.Add(this.label1); - this.groupBox1.Location = new System.Drawing.Point(12, 12); - this.groupBox1.Name = "groupBox1"; - this.groupBox1.Size = new System.Drawing.Size(306, 102); - this.groupBox1.TabIndex = 10; - this.groupBox1.TabStop = false; - this.groupBox1.Text = "Connection"; + groupBox1.Controls.Add(buttonConnect); + groupBox1.Controls.Add(textBoxServerName); + groupBox1.Controls.Add(textBoxPort); + groupBox1.Controls.Add(buttonDisconnect); + groupBox1.Controls.Add(label2); + groupBox1.Controls.Add(label1); + groupBox1.Location = new Point(14, 14); + groupBox1.Margin = new Padding(4, 3, 4, 3); + groupBox1.Name = "groupBox1"; + groupBox1.Padding = new Padding(4, 3, 4, 3); + groupBox1.Size = new Size(357, 118); + groupBox1.TabIndex = 10; + groupBox1.TabStop = false; + groupBox1.Text = "Connection"; // // statusStrip1 // - this.statusStrip1.Items.AddRange(new System.Windows.Forms.ToolStripItem[] { - this.toolStripStatusConnection}); - this.statusStrip1.Location = new System.Drawing.Point(0, 668); - this.statusStrip1.Name = "statusStrip1"; - this.statusStrip1.Size = new System.Drawing.Size(981, 22); - this.statusStrip1.TabIndex = 11; - this.statusStrip1.Text = "statusStrip1"; + statusStrip1.Items.AddRange(new ToolStripItem[] { toolStripStatusConnection }); + statusStrip1.Location = new Point(0, 774); + statusStrip1.Name = "statusStrip1"; + statusStrip1.Padding = new Padding(1, 0, 16, 0); + statusStrip1.Size = new Size(1144, 22); + statusStrip1.TabIndex = 11; + statusStrip1.Text = "statusStrip1"; // // toolStripStatusConnection // - this.toolStripStatusConnection.Font = new System.Drawing.Font("Tahoma", 8.25F, System.Drawing.FontStyle.Bold); - this.toolStripStatusConnection.Name = "toolStripStatusConnection"; - this.toolStripStatusConnection.Size = new System.Drawing.Size(76, 17); - this.toolStripStatusConnection.Text = "Disconected"; + toolStripStatusConnection.Font = new Font("Tahoma", 8.25F, FontStyle.Bold); + toolStripStatusConnection.Name = "toolStripStatusConnection"; + toolStripStatusConnection.Size = new Size(76, 17); + toolStripStatusConnection.Text = "Disconected"; // // groupBox2 // - this.groupBox2.Controls.Add(this.checkBox2); - this.groupBox2.Controls.Add(this.listViewQuotes); - this.groupBox2.Location = new System.Drawing.Point(12, 120); - this.groupBox2.Name = "groupBox2"; - this.groupBox2.Size = new System.Drawing.Size(306, 319); - this.groupBox2.TabIndex = 13; - this.groupBox2.TabStop = false; - this.groupBox2.Text = "Quotes:"; + groupBox2.Controls.Add(checkBox2); + groupBox2.Controls.Add(listViewQuotes); + groupBox2.Location = new Point(14, 138); + groupBox2.Margin = new Padding(4, 3, 4, 3); + groupBox2.Name = "groupBox2"; + groupBox2.Padding = new Padding(4, 3, 4, 3); + groupBox2.Size = new Size(357, 368); + groupBox2.TabIndex = 13; + groupBox2.TabStop = false; + groupBox2.Text = "Quotes:"; // // checkBox2 // - this.checkBox2.AutoSize = true; - this.checkBox2.Location = new System.Drawing.Point(6, 296); - this.checkBox2.Name = "checkBox2"; - this.checkBox2.Size = new System.Drawing.Size(281, 17); - this.checkBox2.TabIndex = 5; - this.checkBox2.Text = "Use selected ExpertHandle (chart) as default executor"; - this.checkBox2.UseVisualStyleBackColor = true; - this.checkBox2.CheckedChanged += new System.EventHandler(this.checkBox2_CheckedChanged); + checkBox2.AutoSize = true; + checkBox2.Location = new Point(7, 342); + checkBox2.Margin = new Padding(4, 3, 4, 3); + checkBox2.Name = "checkBox2"; + checkBox2.Size = new Size(306, 19); + checkBox2.TabIndex = 5; + checkBox2.Text = "Use selected ExpertHandle (chart) as default executor"; + checkBox2.UseVisualStyleBackColor = true; + checkBox2.CheckedChanged += checkBox2_CheckedChanged; // // listViewQuotes // - this.listViewQuotes.Anchor = ((System.Windows.Forms.AnchorStyles)((((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Bottom) - | System.Windows.Forms.AnchorStyles.Left) - | System.Windows.Forms.AnchorStyles.Right))); - this.listViewQuotes.Columns.AddRange(new System.Windows.Forms.ColumnHeader[] { - this.colSymbol, - this.colBid, - this.colAsk, - this.colExpertHandle}); - this.listViewQuotes.FullRowSelect = true; - this.listViewQuotes.HideSelection = false; - this.listViewQuotes.Location = new System.Drawing.Point(6, 19); - this.listViewQuotes.MultiSelect = false; - this.listViewQuotes.Name = "listViewQuotes"; - this.listViewQuotes.Size = new System.Drawing.Size(292, 271); - this.listViewQuotes.TabIndex = 4; - this.listViewQuotes.UseCompatibleStateImageBehavior = false; - this.listViewQuotes.View = System.Windows.Forms.View.Details; - this.listViewQuotes.SelectedIndexChanged += new System.EventHandler(this.listViewQuotes_SelectedIndexChanged); + listViewQuotes.Anchor = AnchorStyles.Top | AnchorStyles.Bottom | AnchorStyles.Left | AnchorStyles.Right; + listViewQuotes.Columns.AddRange(new ColumnHeader[] { colSymbol, colBid, colAsk, colExpertHandle }); + listViewQuotes.FullRowSelect = true; + listViewQuotes.Location = new Point(7, 22); + listViewQuotes.Margin = new Padding(4, 3, 4, 3); + listViewQuotes.MultiSelect = false; + listViewQuotes.Name = "listViewQuotes"; + listViewQuotes.Size = new Size(340, 312); + listViewQuotes.TabIndex = 4; + listViewQuotes.UseCompatibleStateImageBehavior = false; + listViewQuotes.View = View.Details; + listViewQuotes.SelectedIndexChanged += listViewQuotes_SelectedIndexChanged; // // colSymbol // - this.colSymbol.Text = "Symbol"; - this.colSymbol.Width = 80; + colSymbol.Text = "Symbol"; + colSymbol.Width = 80; // // colBid // - this.colBid.Text = "Bid"; + colBid.Text = "Bid"; // // colAsk // - this.colAsk.Text = "Ask"; + colAsk.Text = "Ask"; // // colExpertHandle // - this.colExpertHandle.Text = "ExpertHandle"; - this.colExpertHandle.Width = 80; + colExpertHandle.Text = "ExpertHandle"; + colExpertHandle.Width = 80; // // listBoxEventLog // - this.listBoxEventLog.Anchor = ((System.Windows.Forms.AnchorStyles)((((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Bottom) - | System.Windows.Forms.AnchorStyles.Left) - | System.Windows.Forms.AnchorStyles.Right))); - this.listBoxEventLog.ContextMenuStrip = this.contextMenuStrip1; - this.listBoxEventLog.FormattingEnabled = true; - this.listBoxEventLog.HorizontalScrollbar = true; - this.listBoxEventLog.Location = new System.Drawing.Point(12, 452); - this.listBoxEventLog.Name = "listBoxEventLog"; - this.listBoxEventLog.Size = new System.Drawing.Size(958, 199); - this.listBoxEventLog.TabIndex = 14; - this.listBoxEventLog.MouseDoubleClick += new System.Windows.Forms.MouseEventHandler(this.listBoxEventLog_MouseDoubleClick); + listBoxEventLog.Anchor = AnchorStyles.Top | AnchorStyles.Bottom | AnchorStyles.Left | AnchorStyles.Right; + listBoxEventLog.ContextMenuStrip = contextMenuStrip1; + listBoxEventLog.FormattingEnabled = true; + listBoxEventLog.HorizontalScrollbar = true; + listBoxEventLog.ItemHeight = 15; + listBoxEventLog.Location = new Point(14, 522); + listBoxEventLog.Margin = new Padding(4, 3, 4, 3); + listBoxEventLog.Name = "listBoxEventLog"; + listBoxEventLog.Size = new Size(1117, 229); + listBoxEventLog.TabIndex = 14; + listBoxEventLog.MouseDoubleClick += listBoxEventLog_MouseDoubleClick; // // contextMenuStrip1 // - this.contextMenuStrip1.Name = "contextMenuStrip1"; - this.contextMenuStrip1.Size = new System.Drawing.Size(61, 4); - this.contextMenuStrip1.Text = "Clear"; + contextMenuStrip1.Name = "contextMenuStrip1"; + contextMenuStrip1.Size = new Size(61, 4); + contextMenuStrip1.Text = "Clear"; // // tabControl1 // - this.tabControl1.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Left) - | System.Windows.Forms.AnchorStyles.Right))); - this.tabControl1.Controls.Add(this.tabPage2); - this.tabControl1.Controls.Add(this.tabPage1); - this.tabControl1.Controls.Add(this.tabPage3); - this.tabControl1.Controls.Add(this.tabPage4); - this.tabControl1.Controls.Add(this.tabPage5); - this.tabControl1.Controls.Add(this.tabPage6); - this.tabControl1.Controls.Add(this.tabPage7); - this.tabControl1.Controls.Add(this.tabPage8); - this.tabControl1.Controls.Add(this.tabPage9); - this.tabControl1.Controls.Add(this.tabPage10); - this.tabControl1.Controls.Add(this.tabPage11); - this.tabControl1.Location = new System.Drawing.Point(324, 12); - this.tabControl1.Multiline = true; - this.tabControl1.Name = "tabControl1"; - this.tabControl1.SelectedIndex = 0; - this.tabControl1.Size = new System.Drawing.Size(646, 427); - this.tabControl1.TabIndex = 15; + tabControl1.Anchor = AnchorStyles.Top | AnchorStyles.Left | AnchorStyles.Right; + tabControl1.Controls.Add(tabPage2); + tabControl1.Controls.Add(tabPage1); + tabControl1.Controls.Add(tabPage3); + tabControl1.Controls.Add(tabPage4); + tabControl1.Controls.Add(tabPage5); + tabControl1.Controls.Add(tabPage6); + tabControl1.Controls.Add(tabPage7); + tabControl1.Controls.Add(tabPage8); + tabControl1.Controls.Add(tabPage9); + tabControl1.Controls.Add(tabPage10); + tabControl1.Controls.Add(tabPage11); + tabControl1.Location = new Point(378, 14); + tabControl1.Margin = new Padding(4, 3, 4, 3); + tabControl1.Multiline = true; + tabControl1.Name = "tabControl1"; + tabControl1.SelectedIndex = 0; + tabControl1.Size = new Size(754, 493); + tabControl1.TabIndex = 15; // // tabPage2 // - this.tabPage2.Controls.Add(this.button22); - this.tabPage2.Controls.Add(this.button21); - this.tabPage2.Controls.Add(this.label3); - this.tabPage2.Controls.Add(this.textBoxOppositeTicket); - this.tabPage2.Controls.Add(this.button15); - this.tabPage2.Controls.Add(this.checkBox1); - this.tabPage2.Controls.Add(this.button20); - this.tabPage2.Controls.Add(this.button17); - this.tabPage2.Controls.Add(this.comboBox2); - this.tabPage2.Controls.Add(this.comboBox1); - this.tabPage2.Controls.Add(this.button16); - this.tabPage2.Controls.Add(this.label21); - this.tabPage2.Controls.Add(this.textBoxIndexTicket); - this.tabPage2.Controls.Add(this.comboBoxSelectedCommand); - this.tabPage2.Controls.Add(this.label15); - this.tabPage2.Controls.Add(this.label16); - this.tabPage2.Controls.Add(this.listBoxClosedOrders); - this.tabPage2.Controls.Add(this.button2); - this.tabPage2.Controls.Add(this.groupBox3); - this.tabPage2.Controls.Add(this.listBoxSendedOrders); - this.tabPage2.Location = new System.Drawing.Point(4, 40); - this.tabPage2.Name = "tabPage2"; - this.tabPage2.Padding = new System.Windows.Forms.Padding(3); - this.tabPage2.Size = new System.Drawing.Size(638, 383); - this.tabPage2.TabIndex = 1; - this.tabPage2.Text = "Trade Operations"; - this.tabPage2.UseVisualStyleBackColor = true; + tabPage2.Controls.Add(button22); + tabPage2.Controls.Add(button21); + tabPage2.Controls.Add(label3); + tabPage2.Controls.Add(textBoxOppositeTicket); + tabPage2.Controls.Add(button15); + tabPage2.Controls.Add(checkBox1); + tabPage2.Controls.Add(button20); + tabPage2.Controls.Add(button17); + tabPage2.Controls.Add(comboBox2); + tabPage2.Controls.Add(comboBox1); + tabPage2.Controls.Add(button16); + tabPage2.Controls.Add(label21); + tabPage2.Controls.Add(textBoxIndexTicket); + tabPage2.Controls.Add(comboBoxSelectedCommand); + tabPage2.Controls.Add(label15); + tabPage2.Controls.Add(label16); + tabPage2.Controls.Add(listBoxClosedOrders); + tabPage2.Controls.Add(button2); + tabPage2.Controls.Add(groupBox3); + tabPage2.Controls.Add(listBoxSendedOrders); + tabPage2.Location = new Point(4, 44); + tabPage2.Margin = new Padding(4, 3, 4, 3); + tabPage2.Name = "tabPage2"; + tabPage2.Padding = new Padding(4, 3, 4, 3); + tabPage2.Size = new Size(746, 445); + tabPage2.TabIndex = 1; + tabPage2.Text = "Trade Operations"; + tabPage2.UseVisualStyleBackColor = true; // // button22 // - this.button22.Location = new System.Drawing.Point(216, 293); - this.button22.Name = "button22"; - this.button22.Size = new System.Drawing.Size(75, 23); - this.button22.TabIndex = 31; - this.button22.Text = "OrderModify"; - this.button22.UseVisualStyleBackColor = true; - this.button22.Click += new System.EventHandler(this.button22_Click); + button22.Location = new Point(252, 338); + button22.Margin = new Padding(4, 3, 4, 3); + button22.Name = "button22"; + button22.Size = new Size(88, 27); + button22.TabIndex = 31; + button22.Text = "OrderModify"; + button22.UseVisualStyleBackColor = true; + button22.Click += button22_Click; // // button21 // - this.button21.Location = new System.Drawing.Point(216, 264); - this.button21.Name = "button21"; - this.button21.Size = new System.Drawing.Size(75, 23); - this.button21.TabIndex = 30; - this.button21.Text = "OrderDelete"; - this.button21.UseVisualStyleBackColor = true; - this.button21.Click += new System.EventHandler(this.button21_Click); + button21.Location = new Point(252, 305); + button21.Margin = new Padding(4, 3, 4, 3); + button21.Name = "button21"; + button21.Size = new Size(88, 27); + button21.TabIndex = 30; + button21.Text = "OrderDelete"; + button21.UseVisualStyleBackColor = true; + button21.Click += button21_Click; // // label3 // - this.label3.AutoSize = true; - this.label3.Location = new System.Drawing.Point(219, 242); - this.label3.Name = "label3"; - this.label3.Size = new System.Drawing.Size(78, 13); - this.label3.TabIndex = 17; - this.label3.Text = "Opposite ticket"; + label3.AutoSize = true; + label3.Location = new Point(255, 279); + label3.Margin = new Padding(4, 0, 4, 0); + label3.Name = "label3"; + label3.Size = new Size(87, 15); + label3.TabIndex = 17; + label3.Text = "Opposite ticket"; // // textBoxOppositeTicket // - this.textBoxOppositeTicket.Location = new System.Drawing.Point(303, 239); - this.textBoxOppositeTicket.Name = "textBoxOppositeTicket"; - this.textBoxOppositeTicket.Size = new System.Drawing.Size(100, 20); - this.textBoxOppositeTicket.TabIndex = 28; - this.textBoxOppositeTicket.Text = "0"; + textBoxOppositeTicket.Location = new Point(354, 276); + textBoxOppositeTicket.Margin = new Padding(4, 3, 4, 3); + textBoxOppositeTicket.Name = "textBoxOppositeTicket"; + textBoxOppositeTicket.Size = new Size(116, 23); + textBoxOppositeTicket.TabIndex = 28; + textBoxOppositeTicket.Text = "0"; // // button15 // - this.button15.Location = new System.Drawing.Point(410, 237); - this.button15.Name = "button15"; - this.button15.Size = new System.Drawing.Size(92, 23); - this.button15.TabIndex = 29; - this.button15.Text = "OrderCloseBy"; - this.button15.UseVisualStyleBackColor = true; - this.button15.Click += new System.EventHandler(this.button15_Click); + button15.Location = new Point(478, 273); + button15.Margin = new Padding(4, 3, 4, 3); + button15.Name = "button15"; + button15.Size = new Size(107, 27); + button15.TabIndex = 29; + button15.Text = "OrderCloseBy"; + button15.UseVisualStyleBackColor = true; + button15.Click += button15_Click; // // checkBox1 // - this.checkBox1.AutoSize = true; - this.checkBox1.Location = new System.Drawing.Point(297, 208); - this.checkBox1.Name = "checkBox1"; - this.checkBox1.Size = new System.Drawing.Size(205, 17); - this.checkBox1.TabIndex = 27; - this.checkBox1.Text = "Close order by current price on market"; - this.checkBox1.UseVisualStyleBackColor = true; + checkBox1.AutoSize = true; + checkBox1.Location = new Point(346, 240); + checkBox1.Margin = new Padding(4, 3, 4, 3); + checkBox1.Name = "checkBox1"; + checkBox1.Size = new Size(229, 19); + checkBox1.TabIndex = 27; + checkBox1.Text = "Close order by current price on market"; + checkBox1.UseVisualStyleBackColor = true; // // button20 // - this.button20.Location = new System.Drawing.Point(216, 202); - this.button20.Name = "button20"; - this.button20.Size = new System.Drawing.Size(75, 23); - this.button20.TabIndex = 26; - this.button20.Text = "OrderClose"; - this.button20.UseVisualStyleBackColor = true; - this.button20.Click += new System.EventHandler(this.button20_Click); + button20.Location = new Point(252, 233); + button20.Margin = new Padding(4, 3, 4, 3); + button20.Name = "button20"; + button20.Size = new Size(88, 27); + button20.TabIndex = 26; + button20.Text = "OrderClose"; + button20.UseVisualStyleBackColor = true; + button20.Click += button20_Click; // // button17 // - this.button17.Location = new System.Drawing.Point(558, 158); - this.button17.Name = "button17"; - this.button17.Size = new System.Drawing.Size(75, 23); - this.button17.TabIndex = 25; - this.button17.Text = "GetOrders"; - this.button17.UseVisualStyleBackColor = true; - this.button17.Click += new System.EventHandler(this.button17_Click); + button17.Location = new Point(651, 182); + button17.Margin = new Padding(4, 3, 4, 3); + button17.Name = "button17"; + button17.Size = new Size(88, 27); + button17.TabIndex = 25; + button17.Text = "GetOrders"; + button17.UseVisualStyleBackColor = true; + button17.Click += button17_Click; // // comboBox2 // - this.comboBox2.DropDownStyle = System.Windows.Forms.ComboBoxStyle.DropDownList; - this.comboBox2.FormattingEnabled = true; - this.comboBox2.Items.AddRange(new object[] { - "MODE_TRADES", - "MODE_HISTORY"}); - this.comboBox2.Location = new System.Drawing.Point(341, 158); - this.comboBox2.Name = "comboBox2"; - this.comboBox2.Size = new System.Drawing.Size(114, 21); - this.comboBox2.TabIndex = 23; + comboBox2.DropDownStyle = ComboBoxStyle.DropDownList; + comboBox2.FormattingEnabled = true; + comboBox2.Items.AddRange(new object[] { "MODE_TRADES", "MODE_HISTORY" }); + comboBox2.Location = new Point(398, 182); + comboBox2.Margin = new Padding(4, 3, 4, 3); + comboBox2.Name = "comboBox2"; + comboBox2.Size = new Size(132, 23); + comboBox2.TabIndex = 23; // // comboBox1 // - this.comboBox1.DropDownStyle = System.Windows.Forms.ComboBoxStyle.DropDownList; - this.comboBox1.FormattingEnabled = true; - this.comboBox1.Items.AddRange(new object[] { - "SELECT_BY_POS", - "SELECT_BY_TICKET"}); - this.comboBox1.Location = new System.Drawing.Point(216, 158); - this.comboBox1.Name = "comboBox1"; - this.comboBox1.Size = new System.Drawing.Size(119, 21); - this.comboBox1.TabIndex = 22; + comboBox1.DropDownStyle = ComboBoxStyle.DropDownList; + comboBox1.FormattingEnabled = true; + comboBox1.Items.AddRange(new object[] { "SELECT_BY_POS", "SELECT_BY_TICKET" }); + comboBox1.Location = new Point(252, 182); + comboBox1.Margin = new Padding(4, 3, 4, 3); + comboBox1.Name = "comboBox1"; + comboBox1.Size = new Size(138, 23); + comboBox1.TabIndex = 22; // // button16 // - this.button16.Location = new System.Drawing.Point(461, 158); - this.button16.Name = "button16"; - this.button16.Size = new System.Drawing.Size(75, 23); - this.button16.TabIndex = 24; - this.button16.Text = "GetOrder"; - this.button16.UseVisualStyleBackColor = true; - this.button16.Click += new System.EventHandler(this.button16_Click); + button16.Location = new Point(538, 182); + button16.Margin = new Padding(4, 3, 4, 3); + button16.Name = "button16"; + button16.Size = new Size(88, 27); + button16.TabIndex = 24; + button16.Text = "GetOrder"; + button16.UseVisualStyleBackColor = true; + button16.Click += button16_Click; // // label21 // - this.label21.AutoSize = true; - this.label21.Location = new System.Drawing.Point(213, 135); - this.label21.Name = "label21"; - this.label21.Size = new System.Drawing.Size(68, 13); - this.label21.TabIndex = 8; - this.label21.Text = "Index/Ticket"; + label21.AutoSize = true; + label21.Location = new Point(248, 156); + label21.Margin = new Padding(4, 0, 4, 0); + label21.Name = "label21"; + label21.Size = new Size(72, 15); + label21.TabIndex = 8; + label21.Text = "Index/Ticket"; // // textBoxIndexTicket // - this.textBoxIndexTicket.Location = new System.Drawing.Point(290, 132); - this.textBoxIndexTicket.Name = "textBoxIndexTicket"; - this.textBoxIndexTicket.Size = new System.Drawing.Size(109, 20); - this.textBoxIndexTicket.TabIndex = 21; - this.textBoxIndexTicket.Text = "0"; + textBoxIndexTicket.Location = new Point(338, 152); + textBoxIndexTicket.Margin = new Padding(4, 3, 4, 3); + textBoxIndexTicket.Name = "textBoxIndexTicket"; + textBoxIndexTicket.Size = new Size(126, 23); + textBoxIndexTicket.TabIndex = 21; + textBoxIndexTicket.Text = "0"; // // comboBoxSelectedCommand // - this.comboBoxSelectedCommand.FormattingEnabled = true; - this.comboBoxSelectedCommand.Items.AddRange(new object[] { - "OrderClose", - "OrderCloseBy", - "OrderClosePrice", - "OrderCloseTime", - "OrderComment", - "OrderCommission", - "OrderDelete", - "OrderExpiration", - "OrderLots", - "OrderMagicNumber", - "OrderModify", - "OrderOpenPrice", - "OrderOpenTime", - "OrderPrint", - "OrderProfit", - "OrderSelect", - "OrdersHistoryTotal", - "OrderStopLoss", - "OrdersTotal", - "OrderSwap", - "OrderSymbol", - "OrderTakeProfit", - "OrderTicket", - "OrderType"}); - this.comboBoxSelectedCommand.Location = new System.Drawing.Point(213, 344); - this.comboBoxSelectedCommand.Name = "comboBoxSelectedCommand"; - this.comboBoxSelectedCommand.Size = new System.Drawing.Size(121, 21); - this.comboBoxSelectedCommand.TabIndex = 32; + comboBoxSelectedCommand.FormattingEnabled = true; + comboBoxSelectedCommand.Items.AddRange(new object[] { "OrderClose", "OrderCloseBy", "OrderClosePrice", "OrderCloseTime", "OrderComment", "OrderCommission", "OrderDelete", "OrderExpiration", "OrderLots", "OrderMagicNumber", "OrderModify", "OrderOpenPrice", "OrderOpenTime", "OrderPrint", "OrderProfit", "OrderSelect", "OrdersHistoryTotal", "OrderStopLoss", "OrdersTotal", "OrderSwap", "OrderSymbol", "OrderTakeProfit", "OrderTicket", "OrderType" }); + comboBoxSelectedCommand.Location = new Point(248, 397); + comboBoxSelectedCommand.Margin = new Padding(4, 3, 4, 3); + comboBoxSelectedCommand.Name = "comboBoxSelectedCommand"; + comboBoxSelectedCommand.Size = new Size(140, 23); + comboBoxSelectedCommand.TabIndex = 32; // // label15 // - this.label15.AutoSize = true; - this.label15.Location = new System.Drawing.Point(213, 6); - this.label15.Name = "label15"; - this.label15.Size = new System.Drawing.Size(47, 13); - this.label15.TabIndex = 3; - this.label15.Text = "Sended:"; + label15.AutoSize = true; + label15.Location = new Point(248, 7); + label15.Margin = new Padding(4, 0, 4, 0); + label15.Name = "label15"; + label15.Size = new Size(49, 15); + label15.TabIndex = 3; + label15.Text = "Sended:"; // // label16 // - this.label16.AutoSize = true; - this.label16.Location = new System.Drawing.Point(210, 69); - this.label16.Name = "label16"; - this.label16.Size = new System.Drawing.Size(42, 13); - this.label16.TabIndex = 4; - this.label16.Text = "Closed:"; + label16.AutoSize = true; + label16.Location = new Point(245, 80); + label16.Margin = new Padding(4, 0, 4, 0); + label16.Name = "label16"; + label16.Size = new Size(46, 15); + label16.TabIndex = 4; + label16.Text = "Closed:"; // // listBoxClosedOrders // - this.listBoxClosedOrders.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Left) - | System.Windows.Forms.AnchorStyles.Right))); - this.listBoxClosedOrders.FormattingEnabled = true; - this.listBoxClosedOrders.Location = new System.Drawing.Point(213, 85); - this.listBoxClosedOrders.Name = "listBoxClosedOrders"; - this.listBoxClosedOrders.Size = new System.Drawing.Size(419, 43); - this.listBoxClosedOrders.TabIndex = 20; + listBoxClosedOrders.Anchor = AnchorStyles.Top | AnchorStyles.Left | AnchorStyles.Right; + listBoxClosedOrders.FormattingEnabled = true; + listBoxClosedOrders.ItemHeight = 15; + listBoxClosedOrders.Location = new Point(248, 98); + listBoxClosedOrders.Margin = new Padding(4, 3, 4, 3); + listBoxClosedOrders.Name = "listBoxClosedOrders"; + listBoxClosedOrders.Size = new Size(488, 49); + listBoxClosedOrders.TabIndex = 20; // // button2 // - this.button2.Location = new System.Drawing.Point(356, 342); - this.button2.Name = "button2"; - this.button2.Size = new System.Drawing.Size(87, 23); - this.button2.TabIndex = 33; - this.button2.Text = "Execute"; - this.button2.UseVisualStyleBackColor = true; - this.button2.Click += new System.EventHandler(this.button2_Click); + button2.Location = new Point(415, 395); + button2.Margin = new Padding(4, 3, 4, 3); + button2.Name = "button2"; + button2.Size = new Size(102, 27); + button2.TabIndex = 33; + button2.Text = "Execute"; + button2.UseVisualStyleBackColor = true; + button2.Click += button2_Click; // // groupBox3 // - this.groupBox3.Controls.Add(this.button19); - this.groupBox3.Controls.Add(this.button18); - this.groupBox3.Controls.Add(this.comboBoxOrderColor); - this.groupBox3.Controls.Add(this.textBox2); - this.groupBox3.Controls.Add(this.textBoxOrderMagic); - this.groupBox3.Controls.Add(this.textBoxOrderComment); - this.groupBox3.Controls.Add(this.textBoxOrderProffit); - this.groupBox3.Controls.Add(this.textBoxOrderStoploss); - this.groupBox3.Controls.Add(this.textBoxOrderPrice); - this.groupBox3.Controls.Add(this.label20); - this.groupBox3.Controls.Add(this.numericOrderSlippage); - this.groupBox3.Controls.Add(this.label19); - this.groupBox3.Controls.Add(this.textBoxOrderVolume); - this.groupBox3.Controls.Add(this.label18); - this.groupBox3.Controls.Add(this.comboBoxOrderCommand); - this.groupBox3.Controls.Add(this.label17); - this.groupBox3.Controls.Add(this.label14); - this.groupBox3.Controls.Add(this.label13); - this.groupBox3.Controls.Add(this.label12); - this.groupBox3.Controls.Add(this.label11); - this.groupBox3.Controls.Add(this.label8); - this.groupBox3.Controls.Add(this.label10); - this.groupBox3.Controls.Add(this.button1); - this.groupBox3.Controls.Add(this.textBoxOrderSymbol); - this.groupBox3.Controls.Add(this.label9); - this.groupBox3.Location = new System.Drawing.Point(6, 6); - this.groupBox3.Name = "groupBox3"; - this.groupBox3.Size = new System.Drawing.Size(201, 365); - this.groupBox3.TabIndex = 5; - this.groupBox3.TabStop = false; - this.groupBox3.Text = "Send Order"; + groupBox3.Controls.Add(button19); + groupBox3.Controls.Add(button18); + groupBox3.Controls.Add(comboBoxOrderColor); + groupBox3.Controls.Add(textBox2); + groupBox3.Controls.Add(textBoxOrderMagic); + groupBox3.Controls.Add(textBoxOrderComment); + groupBox3.Controls.Add(textBoxOrderProffit); + groupBox3.Controls.Add(textBoxOrderStoploss); + groupBox3.Controls.Add(textBoxOrderPrice); + groupBox3.Controls.Add(label20); + groupBox3.Controls.Add(numericOrderSlippage); + groupBox3.Controls.Add(label19); + groupBox3.Controls.Add(textBoxOrderVolume); + groupBox3.Controls.Add(label18); + groupBox3.Controls.Add(comboBoxOrderCommand); + groupBox3.Controls.Add(label17); + groupBox3.Controls.Add(label14); + groupBox3.Controls.Add(label13); + groupBox3.Controls.Add(label12); + groupBox3.Controls.Add(label11); + groupBox3.Controls.Add(label8); + groupBox3.Controls.Add(label10); + groupBox3.Controls.Add(button1); + groupBox3.Controls.Add(textBoxOrderSymbol); + groupBox3.Controls.Add(label9); + groupBox3.Location = new Point(7, 7); + groupBox3.Margin = new Padding(4, 3, 4, 3); + groupBox3.Name = "groupBox3"; + groupBox3.Padding = new Padding(4, 3, 4, 3); + groupBox3.Size = new Size(234, 421); + groupBox3.TabIndex = 5; + groupBox3.TabStop = false; + groupBox3.Text = "Send Order"; // // button19 // - this.button19.Location = new System.Drawing.Point(87, 336); - this.button19.Name = "button19"; - this.button19.Size = new System.Drawing.Size(75, 23); - this.button19.TabIndex = 18; - this.button19.Text = "Sell"; - this.button19.UseVisualStyleBackColor = true; - this.button19.Click += new System.EventHandler(this.button19_Click); + button19.Location = new Point(102, 388); + button19.Margin = new Padding(4, 3, 4, 3); + button19.Name = "button19"; + button19.Size = new Size(88, 27); + button19.TabIndex = 18; + button19.Text = "Sell"; + button19.UseVisualStyleBackColor = true; + button19.Click += button19_Click; // // button18 // - this.button18.Location = new System.Drawing.Point(6, 336); - this.button18.Name = "button18"; - this.button18.Size = new System.Drawing.Size(75, 23); - this.button18.TabIndex = 17; - this.button18.Text = "Buy"; - this.button18.UseVisualStyleBackColor = true; - this.button18.Click += new System.EventHandler(this.button18_Click); + button18.Location = new Point(7, 388); + button18.Margin = new Padding(4, 3, 4, 3); + button18.Name = "button18"; + button18.Size = new Size(88, 27); + button18.TabIndex = 17; + button18.Text = "Buy"; + button18.UseVisualStyleBackColor = true; + button18.Click += button18_Click; // // comboBoxOrderColor // - this.comboBoxOrderColor.FormattingEnabled = true; - this.comboBoxOrderColor.Items.AddRange(new object[] { - "Green", - "Blue", - "Red"}); - this.comboBoxOrderColor.Location = new System.Drawing.Point(69, 281); - this.comboBoxOrderColor.Name = "comboBoxOrderColor"; - this.comboBoxOrderColor.Size = new System.Drawing.Size(121, 21); - this.comboBoxOrderColor.TabIndex = 15; + comboBoxOrderColor.FormattingEnabled = true; + comboBoxOrderColor.Items.AddRange(new object[] { "Green", "Blue", "Red" }); + comboBoxOrderColor.Location = new Point(80, 324); + comboBoxOrderColor.Margin = new Padding(4, 3, 4, 3); + comboBoxOrderColor.Name = "comboBoxOrderColor"; + comboBoxOrderColor.Size = new Size(140, 23); + comboBoxOrderColor.TabIndex = 15; // // textBox2 // - this.textBox2.Location = new System.Drawing.Point(70, 255); - this.textBox2.Name = "textBox2"; - this.textBox2.Size = new System.Drawing.Size(120, 20); - this.textBox2.TabIndex = 14; + textBox2.Location = new Point(82, 294); + textBox2.Margin = new Padding(4, 3, 4, 3); + textBox2.Name = "textBox2"; + textBox2.Size = new Size(139, 23); + textBox2.TabIndex = 14; // // textBoxOrderMagic // - this.textBoxOrderMagic.Location = new System.Drawing.Point(70, 229); - this.textBoxOrderMagic.Name = "textBoxOrderMagic"; - this.textBoxOrderMagic.Size = new System.Drawing.Size(120, 20); - this.textBoxOrderMagic.TabIndex = 13; + textBoxOrderMagic.Location = new Point(82, 264); + textBoxOrderMagic.Margin = new Padding(4, 3, 4, 3); + textBoxOrderMagic.Name = "textBoxOrderMagic"; + textBoxOrderMagic.Size = new Size(139, 23); + textBoxOrderMagic.TabIndex = 13; // // textBoxOrderComment // - this.textBoxOrderComment.Location = new System.Drawing.Point(70, 203); - this.textBoxOrderComment.Name = "textBoxOrderComment"; - this.textBoxOrderComment.Size = new System.Drawing.Size(120, 20); - this.textBoxOrderComment.TabIndex = 12; + textBoxOrderComment.Location = new Point(82, 234); + textBoxOrderComment.Margin = new Padding(4, 3, 4, 3); + textBoxOrderComment.Name = "textBoxOrderComment"; + textBoxOrderComment.Size = new Size(139, 23); + textBoxOrderComment.TabIndex = 12; // // textBoxOrderProffit // - this.textBoxOrderProffit.Location = new System.Drawing.Point(70, 174); - this.textBoxOrderProffit.Name = "textBoxOrderProffit"; - this.textBoxOrderProffit.Size = new System.Drawing.Size(120, 20); - this.textBoxOrderProffit.TabIndex = 11; + textBoxOrderProffit.Location = new Point(82, 201); + textBoxOrderProffit.Margin = new Padding(4, 3, 4, 3); + textBoxOrderProffit.Name = "textBoxOrderProffit"; + textBoxOrderProffit.Size = new Size(139, 23); + textBoxOrderProffit.TabIndex = 11; // // textBoxOrderStoploss // - this.textBoxOrderStoploss.Location = new System.Drawing.Point(69, 148); - this.textBoxOrderStoploss.Name = "textBoxOrderStoploss"; - this.textBoxOrderStoploss.Size = new System.Drawing.Size(121, 20); - this.textBoxOrderStoploss.TabIndex = 10; + textBoxOrderStoploss.Location = new Point(80, 171); + textBoxOrderStoploss.Margin = new Padding(4, 3, 4, 3); + textBoxOrderStoploss.Name = "textBoxOrderStoploss"; + textBoxOrderStoploss.Size = new Size(140, 23); + textBoxOrderStoploss.TabIndex = 10; // // textBoxOrderPrice // - this.textBoxOrderPrice.Location = new System.Drawing.Point(70, 94); - this.textBoxOrderPrice.Name = "textBoxOrderPrice"; - this.textBoxOrderPrice.Size = new System.Drawing.Size(120, 20); - this.textBoxOrderPrice.TabIndex = 8; + textBoxOrderPrice.Location = new Point(82, 108); + textBoxOrderPrice.Margin = new Padding(4, 3, 4, 3); + textBoxOrderPrice.Name = "textBoxOrderPrice"; + textBoxOrderPrice.Size = new Size(139, 23); + textBoxOrderPrice.TabIndex = 8; // // label20 // - this.label20.AutoSize = true; - this.label20.Location = new System.Drawing.Point(8, 284); - this.label20.Name = "label20"; - this.label20.Size = new System.Drawing.Size(34, 13); - this.label20.TabIndex = 10; - this.label20.Text = "Color:"; + label20.AutoSize = true; + label20.Location = new Point(9, 328); + label20.Margin = new Padding(4, 0, 4, 0); + label20.Name = "label20"; + label20.Size = new Size(39, 15); + label20.TabIndex = 10; + label20.Text = "Color:"; // // numericOrderSlippage // - this.numericOrderSlippage.Location = new System.Drawing.Point(70, 122); - this.numericOrderSlippage.Minimum = new decimal(new int[] { - 1, - 0, - 0, - 0}); - this.numericOrderSlippage.Name = "numericOrderSlippage"; - this.numericOrderSlippage.Size = new System.Drawing.Size(120, 20); - this.numericOrderSlippage.TabIndex = 9; - this.numericOrderSlippage.Value = new decimal(new int[] { - 1, - 0, - 0, - 0}); + numericOrderSlippage.Location = new Point(82, 141); + numericOrderSlippage.Margin = new Padding(4, 3, 4, 3); + numericOrderSlippage.Minimum = new decimal(new int[] { 1, 0, 0, 0 }); + numericOrderSlippage.Name = "numericOrderSlippage"; + numericOrderSlippage.Size = new Size(140, 23); + numericOrderSlippage.TabIndex = 9; + numericOrderSlippage.Value = new decimal(new int[] { 1, 0, 0, 0 }); // // label19 // - this.label19.AutoSize = true; - this.label19.Location = new System.Drawing.Point(7, 258); - this.label19.Name = "label19"; - this.label19.Size = new System.Drawing.Size(56, 13); - this.label19.TabIndex = 10; - this.label19.Text = "Expiration:"; + label19.AutoSize = true; + label19.Location = new Point(8, 298); + label19.Margin = new Padding(4, 0, 4, 0); + label19.Name = "label19"; + label19.Size = new Size(63, 15); + label19.TabIndex = 10; + label19.Text = "Expiration:"; // // textBoxOrderVolume // - this.textBoxOrderVolume.Location = new System.Drawing.Point(70, 68); - this.textBoxOrderVolume.Name = "textBoxOrderVolume"; - this.textBoxOrderVolume.Size = new System.Drawing.Size(120, 20); - this.textBoxOrderVolume.TabIndex = 7; + textBoxOrderVolume.Location = new Point(82, 78); + textBoxOrderVolume.Margin = new Padding(4, 3, 4, 3); + textBoxOrderVolume.Name = "textBoxOrderVolume"; + textBoxOrderVolume.Size = new Size(139, 23); + textBoxOrderVolume.TabIndex = 7; // // label18 // - this.label18.AutoSize = true; - this.label18.Location = new System.Drawing.Point(7, 232); - this.label18.Name = "label18"; - this.label18.Size = new System.Drawing.Size(39, 13); - this.label18.TabIndex = 10; - this.label18.Text = "Magic:"; + label18.AutoSize = true; + label18.Location = new Point(8, 268); + label18.Margin = new Padding(4, 0, 4, 0); + label18.Name = "label18"; + label18.Size = new Size(43, 15); + label18.TabIndex = 10; + label18.Text = "Magic:"; // // comboBoxOrderCommand // - this.comboBoxOrderCommand.FormattingEnabled = true; - this.comboBoxOrderCommand.Items.AddRange(new object[] { - "OP_BUY", - "OP_SELL", - "OP_BUYLIMIT", - "OP_SELLLIMIT", - "OP_BUYSTOP", - "OP_SELLSTOP"}); - this.comboBoxOrderCommand.Location = new System.Drawing.Point(70, 40); - this.comboBoxOrderCommand.Name = "comboBoxOrderCommand"; - this.comboBoxOrderCommand.Size = new System.Drawing.Size(120, 21); - this.comboBoxOrderCommand.TabIndex = 6; + comboBoxOrderCommand.FormattingEnabled = true; + comboBoxOrderCommand.Items.AddRange(new object[] { "OP_BUY", "OP_SELL", "OP_BUYLIMIT", "OP_SELLLIMIT", "OP_BUYSTOP", "OP_SELLSTOP" }); + comboBoxOrderCommand.Location = new Point(82, 46); + comboBoxOrderCommand.Margin = new Padding(4, 3, 4, 3); + comboBoxOrderCommand.Name = "comboBoxOrderCommand"; + comboBoxOrderCommand.Size = new Size(139, 23); + comboBoxOrderCommand.TabIndex = 6; // // label17 // - this.label17.AutoSize = true; - this.label17.Location = new System.Drawing.Point(7, 206); - this.label17.Name = "label17"; - this.label17.Size = new System.Drawing.Size(54, 13); - this.label17.TabIndex = 10; - this.label17.Text = "Comment:"; + label17.AutoSize = true; + label17.Location = new Point(8, 238); + label17.Margin = new Padding(4, 0, 4, 0); + label17.Name = "label17"; + label17.Size = new Size(64, 15); + label17.TabIndex = 10; + label17.Text = "Comment:"; // // label14 // - this.label14.AutoSize = true; - this.label14.Location = new System.Drawing.Point(7, 177); - this.label14.Name = "label14"; - this.label14.Size = new System.Drawing.Size(34, 13); - this.label14.TabIndex = 10; - this.label14.Text = "Profit:"; + label14.AutoSize = true; + label14.Location = new Point(8, 204); + label14.Margin = new Padding(4, 0, 4, 0); + label14.Name = "label14"; + label14.Size = new Size(39, 15); + label14.TabIndex = 10; + label14.Text = "Profit:"; // // label13 // - this.label13.AutoSize = true; - this.label13.Location = new System.Drawing.Point(7, 151); - this.label13.Name = "label13"; - this.label13.Size = new System.Drawing.Size(50, 13); - this.label13.TabIndex = 9; - this.label13.Text = "Stoploss:"; + label13.AutoSize = true; + label13.Location = new Point(8, 174); + label13.Margin = new Padding(4, 0, 4, 0); + label13.Name = "label13"; + label13.Size = new Size(54, 15); + label13.TabIndex = 9; + label13.Text = "Stoploss:"; // // label12 // - this.label12.AutoSize = true; - this.label12.Location = new System.Drawing.Point(7, 124); - this.label12.Name = "label12"; - this.label12.Size = new System.Drawing.Size(51, 13); - this.label12.TabIndex = 8; - this.label12.Text = "Slippage:"; + label12.AutoSize = true; + label12.Location = new Point(8, 143); + label12.Margin = new Padding(4, 0, 4, 0); + label12.Name = "label12"; + label12.Size = new Size(55, 15); + label12.TabIndex = 8; + label12.Text = "Slippage:"; // // label11 // - this.label11.AutoSize = true; - this.label11.Location = new System.Drawing.Point(7, 97); - this.label11.Name = "label11"; - this.label11.Size = new System.Drawing.Size(34, 13); - this.label11.TabIndex = 7; - this.label11.Text = "Price:"; + label11.AutoSize = true; + label11.Location = new Point(8, 112); + label11.Margin = new Padding(4, 0, 4, 0); + label11.Name = "label11"; + label11.Size = new Size(36, 15); + label11.TabIndex = 7; + label11.Text = "Price:"; // // label8 // - this.label8.AutoSize = true; - this.label8.Location = new System.Drawing.Point(7, 71); - this.label8.Name = "label8"; - this.label8.Size = new System.Drawing.Size(45, 13); - this.label8.TabIndex = 6; - this.label8.Text = "Volume:"; + label8.AutoSize = true; + label8.Location = new Point(8, 82); + label8.Margin = new Padding(4, 0, 4, 0); + label8.Name = "label8"; + label8.Size = new Size(50, 15); + label8.TabIndex = 6; + label8.Text = "Volume:"; // // label10 // - this.label10.AutoSize = true; - this.label10.Location = new System.Drawing.Point(7, 43); - this.label10.Name = "label10"; - this.label10.Size = new System.Drawing.Size(57, 13); - this.label10.TabIndex = 5; - this.label10.Text = "Command:"; + label10.AutoSize = true; + label10.Location = new Point(8, 50); + label10.Margin = new Padding(4, 0, 4, 0); + label10.Name = "label10"; + label10.Size = new Size(67, 15); + label10.TabIndex = 5; + label10.Text = "Command:"; // // button1 // - this.button1.Location = new System.Drawing.Point(120, 307); - this.button1.Name = "button1"; - this.button1.Size = new System.Drawing.Size(75, 23); - this.button1.TabIndex = 16; - this.button1.Text = "Send"; - this.button1.UseVisualStyleBackColor = true; - this.button1.Click += new System.EventHandler(this.button1_Click); + button1.Location = new Point(140, 354); + button1.Margin = new Padding(4, 3, 4, 3); + button1.Name = "button1"; + button1.Size = new Size(88, 27); + button1.TabIndex = 16; + button1.Text = "Send"; + button1.UseVisualStyleBackColor = true; + button1.Click += button1_Click; // // textBoxOrderSymbol // - this.textBoxOrderSymbol.Location = new System.Drawing.Point(70, 14); - this.textBoxOrderSymbol.Name = "textBoxOrderSymbol"; - this.textBoxOrderSymbol.Size = new System.Drawing.Size(120, 20); - this.textBoxOrderSymbol.TabIndex = 5; + textBoxOrderSymbol.Location = new Point(82, 16); + textBoxOrderSymbol.Margin = new Padding(4, 3, 4, 3); + textBoxOrderSymbol.Name = "textBoxOrderSymbol"; + textBoxOrderSymbol.Size = new Size(139, 23); + textBoxOrderSymbol.TabIndex = 5; // // label9 // - this.label9.AutoSize = true; - this.label9.Location = new System.Drawing.Point(7, 17); - this.label9.Name = "label9"; - this.label9.Size = new System.Drawing.Size(44, 13); - this.label9.TabIndex = 3; - this.label9.Text = "Symbol:"; + label9.AutoSize = true; + label9.Location = new Point(8, 20); + label9.Margin = new Padding(4, 0, 4, 0); + label9.Name = "label9"; + label9.Size = new Size(50, 15); + label9.TabIndex = 3; + label9.Text = "Symbol:"; // // listBoxSendedOrders // - this.listBoxSendedOrders.Anchor = ((System.Windows.Forms.AnchorStyles)((((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Bottom) - | System.Windows.Forms.AnchorStyles.Left) - | System.Windows.Forms.AnchorStyles.Right))); - this.listBoxSendedOrders.FormattingEnabled = true; - this.listBoxSendedOrders.Location = new System.Drawing.Point(213, 23); - this.listBoxSendedOrders.Name = "listBoxSendedOrders"; - this.listBoxSendedOrders.SelectionMode = System.Windows.Forms.SelectionMode.MultiSimple; - this.listBoxSendedOrders.Size = new System.Drawing.Size(419, 43); - this.listBoxSendedOrders.TabIndex = 19; + listBoxSendedOrders.Anchor = AnchorStyles.Top | AnchorStyles.Bottom | AnchorStyles.Left | AnchorStyles.Right; + listBoxSendedOrders.FormattingEnabled = true; + listBoxSendedOrders.ItemHeight = 15; + listBoxSendedOrders.Location = new Point(248, 27); + listBoxSendedOrders.Margin = new Padding(4, 3, 4, 3); + listBoxSendedOrders.Name = "listBoxSendedOrders"; + listBoxSendedOrders.SelectionMode = SelectionMode.MultiSimple; + listBoxSendedOrders.Size = new Size(488, 49); + listBoxSendedOrders.TabIndex = 19; // // tabPage1 // - this.tabPage1.Controls.Add(this.button52); - this.tabPage1.Controls.Add(this.button51); - this.tabPage1.Controls.Add(this.button50); - this.tabPage1.Controls.Add(this.button49); - this.tabPage1.Controls.Add(this.button48); - this.tabPage1.Controls.Add(this.button47); - this.tabPage1.Controls.Add(this.button46); - this.tabPage1.Controls.Add(this.button45); - this.tabPage1.Controls.Add(this.button44); - this.tabPage1.Controls.Add(this.button43); - this.tabPage1.Controls.Add(this.button42); - this.tabPage1.Controls.Add(this.button41); - this.tabPage1.Controls.Add(this.button40); - this.tabPage1.Controls.Add(this.button39); - this.tabPage1.Controls.Add(this.buttonRefreshRates); - this.tabPage1.Controls.Add(this.label22); - this.tabPage1.Controls.Add(this.textBoxErrorCode); - this.tabPage1.Location = new System.Drawing.Point(4, 40); - this.tabPage1.Name = "tabPage1"; - this.tabPage1.Padding = new System.Windows.Forms.Padding(3); - this.tabPage1.Size = new System.Drawing.Size(638, 383); - this.tabPage1.TabIndex = 2; - this.tabPage1.Text = "Check Status"; - this.tabPage1.UseVisualStyleBackColor = true; + tabPage1.Controls.Add(button52); + tabPage1.Controls.Add(button51); + tabPage1.Controls.Add(button50); + tabPage1.Controls.Add(button49); + tabPage1.Controls.Add(button48); + tabPage1.Controls.Add(button47); + tabPage1.Controls.Add(button46); + tabPage1.Controls.Add(button45); + tabPage1.Controls.Add(button44); + tabPage1.Controls.Add(button43); + tabPage1.Controls.Add(button42); + tabPage1.Controls.Add(button41); + tabPage1.Controls.Add(button40); + tabPage1.Controls.Add(button39); + tabPage1.Controls.Add(buttonRefreshRates); + tabPage1.Controls.Add(label22); + tabPage1.Controls.Add(textBoxErrorCode); + tabPage1.Location = new Point(4, 44); + tabPage1.Margin = new Padding(4, 3, 4, 3); + tabPage1.Name = "tabPage1"; + tabPage1.Padding = new Padding(4, 3, 4, 3); + tabPage1.Size = new Size(746, 445); + tabPage1.TabIndex = 2; + tabPage1.Text = "Check Status"; + tabPage1.UseVisualStyleBackColor = true; // // button52 // - this.button52.Location = new System.Drawing.Point(6, 354); - this.button52.Name = "button52"; - this.button52.Size = new System.Drawing.Size(128, 23); - this.button52.TabIndex = 18; - this.button52.Text = "UninitializeReason"; - this.button52.UseVisualStyleBackColor = true; - this.button52.Click += new System.EventHandler(this.button52_Click); + button52.Location = new Point(7, 408); + button52.Margin = new Padding(4, 3, 4, 3); + button52.Name = "button52"; + button52.Size = new Size(149, 27); + button52.TabIndex = 18; + button52.Text = "UninitializeReason"; + button52.UseVisualStyleBackColor = true; + button52.Click += button52_Click; // // button51 // - this.button51.Location = new System.Drawing.Point(6, 325); - this.button51.Name = "button51"; - this.button51.Size = new System.Drawing.Size(128, 23); - this.button51.TabIndex = 17; - this.button51.Text = "IsVisualMode"; - this.button51.UseVisualStyleBackColor = true; - this.button51.Click += new System.EventHandler(this.button51_Click); + button51.Location = new Point(7, 375); + button51.Margin = new Padding(4, 3, 4, 3); + button51.Name = "button51"; + button51.Size = new Size(149, 27); + button51.TabIndex = 17; + button51.Text = "IsVisualMode"; + button51.UseVisualStyleBackColor = true; + button51.Click += button51_Click; // // button50 // - this.button50.Location = new System.Drawing.Point(6, 296); - this.button50.Name = "button50"; - this.button50.Size = new System.Drawing.Size(128, 23); - this.button50.TabIndex = 16; - this.button50.Text = "IsTradeContextBusy"; - this.button50.UseVisualStyleBackColor = true; - this.button50.Click += new System.EventHandler(this.button50_Click); + button50.Location = new Point(7, 342); + button50.Margin = new Padding(4, 3, 4, 3); + button50.Name = "button50"; + button50.Size = new Size(149, 27); + button50.TabIndex = 16; + button50.Text = "IsTradeContextBusy"; + button50.UseVisualStyleBackColor = true; + button50.Click += button50_Click; // // button49 // - this.button49.Location = new System.Drawing.Point(6, 267); - this.button49.Name = "button49"; - this.button49.Size = new System.Drawing.Size(128, 23); - this.button49.TabIndex = 15; - this.button49.Text = "IsTradeAllowed"; - this.button49.UseVisualStyleBackColor = true; - this.button49.Click += new System.EventHandler(this.button49_Click); + button49.Location = new Point(7, 308); + button49.Margin = new Padding(4, 3, 4, 3); + button49.Name = "button49"; + button49.Size = new Size(149, 27); + button49.TabIndex = 15; + button49.Text = "IsTradeAllowed"; + button49.UseVisualStyleBackColor = true; + button49.Click += button49_Click; // // button48 // - this.button48.Location = new System.Drawing.Point(6, 238); - this.button48.Name = "button48"; - this.button48.Size = new System.Drawing.Size(128, 23); - this.button48.TabIndex = 14; - this.button48.Text = "IsTesting"; - this.button48.UseVisualStyleBackColor = true; - this.button48.Click += new System.EventHandler(this.button48_Click); + button48.Location = new Point(7, 275); + button48.Margin = new Padding(4, 3, 4, 3); + button48.Name = "button48"; + button48.Size = new Size(149, 27); + button48.TabIndex = 14; + button48.Text = "IsTesting"; + button48.UseVisualStyleBackColor = true; + button48.Click += button48_Click; // // button47 // - this.button47.Location = new System.Drawing.Point(6, 209); - this.button47.Name = "button47"; - this.button47.Size = new System.Drawing.Size(128, 23); - this.button47.TabIndex = 13; - this.button47.Text = "IsStopped"; - this.button47.UseVisualStyleBackColor = true; - this.button47.Click += new System.EventHandler(this.button47_Click); + button47.Location = new Point(7, 241); + button47.Margin = new Padding(4, 3, 4, 3); + button47.Name = "button47"; + button47.Size = new Size(149, 27); + button47.TabIndex = 13; + button47.Text = "IsStopped"; + button47.UseVisualStyleBackColor = true; + button47.Click += button47_Click; // // button46 // - this.button46.Location = new System.Drawing.Point(6, 180); - this.button46.Name = "button46"; - this.button46.Size = new System.Drawing.Size(128, 23); - this.button46.TabIndex = 12; - this.button46.Text = "IsOptimization"; - this.button46.UseVisualStyleBackColor = true; - this.button46.Click += new System.EventHandler(this.button46_Click); + button46.Location = new Point(7, 208); + button46.Margin = new Padding(4, 3, 4, 3); + button46.Name = "button46"; + button46.Size = new Size(149, 27); + button46.TabIndex = 12; + button46.Text = "IsOptimization"; + button46.UseVisualStyleBackColor = true; + button46.Click += button46_Click; // // button45 // - this.button45.Location = new System.Drawing.Point(6, 151); - this.button45.Name = "button45"; - this.button45.Size = new System.Drawing.Size(128, 23); - this.button45.TabIndex = 11; - this.button45.Text = "IsLibrariesAllowed"; - this.button45.UseVisualStyleBackColor = true; - this.button45.Click += new System.EventHandler(this.button45_Click); + button45.Location = new Point(7, 174); + button45.Margin = new Padding(4, 3, 4, 3); + button45.Name = "button45"; + button45.Size = new Size(149, 27); + button45.TabIndex = 11; + button45.Text = "IsLibrariesAllowed"; + button45.UseVisualStyleBackColor = true; + button45.Click += button45_Click; // // button44 // - this.button44.Location = new System.Drawing.Point(6, 122); - this.button44.Name = "button44"; - this.button44.Size = new System.Drawing.Size(128, 23); - this.button44.TabIndex = 10; - this.button44.Text = "IsExpertEnabled"; - this.button44.UseVisualStyleBackColor = true; - this.button44.Click += new System.EventHandler(this.button44_Click); + button44.Location = new Point(7, 141); + button44.Margin = new Padding(4, 3, 4, 3); + button44.Name = "button44"; + button44.Size = new Size(149, 27); + button44.TabIndex = 10; + button44.Text = "IsExpertEnabled"; + button44.UseVisualStyleBackColor = true; + button44.Click += button44_Click; // // button43 // - this.button43.Location = new System.Drawing.Point(6, 93); - this.button43.Name = "button43"; - this.button43.Size = new System.Drawing.Size(128, 23); - this.button43.TabIndex = 9; - this.button43.Text = "IsDllsAllowed"; - this.button43.UseVisualStyleBackColor = true; - this.button43.Click += new System.EventHandler(this.button43_Click); + button43.Location = new Point(7, 107); + button43.Margin = new Padding(4, 3, 4, 3); + button43.Name = "button43"; + button43.Size = new Size(149, 27); + button43.TabIndex = 9; + button43.Text = "IsDllsAllowed"; + button43.UseVisualStyleBackColor = true; + button43.Click += button43_Click; // // button42 // - this.button42.Location = new System.Drawing.Point(6, 64); - this.button42.Name = "button42"; - this.button42.Size = new System.Drawing.Size(128, 23); - this.button42.TabIndex = 8; - this.button42.Text = "IsDemo"; - this.button42.UseVisualStyleBackColor = true; - this.button42.Click += new System.EventHandler(this.button42_Click); + button42.Location = new Point(7, 74); + button42.Margin = new Padding(4, 3, 4, 3); + button42.Name = "button42"; + button42.Size = new Size(149, 27); + button42.TabIndex = 8; + button42.Text = "IsDemo"; + button42.UseVisualStyleBackColor = true; + button42.Click += button42_Click; // // button41 // - this.button41.Location = new System.Drawing.Point(6, 35); - this.button41.Name = "button41"; - this.button41.Size = new System.Drawing.Size(128, 23); - this.button41.TabIndex = 7; - this.button41.Text = "IsConnected"; - this.button41.UseVisualStyleBackColor = true; - this.button41.Click += new System.EventHandler(this.button41_Click); + button41.Location = new Point(7, 40); + button41.Margin = new Padding(4, 3, 4, 3); + button41.Name = "button41"; + button41.Size = new Size(149, 27); + button41.TabIndex = 7; + button41.Text = "IsConnected"; + button41.UseVisualStyleBackColor = true; + button41.Click += button41_Click; // // button40 // - this.button40.Location = new System.Drawing.Point(162, 6); - this.button40.Name = "button40"; - this.button40.Size = new System.Drawing.Size(128, 23); - this.button40.TabIndex = 6; - this.button40.Text = "GetLastError"; - this.button40.UseVisualStyleBackColor = true; - this.button40.Click += new System.EventHandler(this.button40_Click); + button40.Location = new Point(189, 7); + button40.Margin = new Padding(4, 3, 4, 3); + button40.Name = "button40"; + button40.Size = new Size(149, 27); + button40.TabIndex = 6; + button40.Text = "GetLastError"; + button40.UseVisualStyleBackColor = true; + button40.Click += button40_Click; // // button39 // - this.button39.Location = new System.Drawing.Point(325, 33); - this.button39.Name = "button39"; - this.button39.Size = new System.Drawing.Size(95, 23); - this.button39.TabIndex = 5; - this.button39.Text = "ErrorDescription"; - this.button39.UseVisualStyleBackColor = true; - this.button39.Click += new System.EventHandler(this.button39_Click); + button39.Location = new Point(379, 38); + button39.Margin = new Padding(4, 3, 4, 3); + button39.Name = "button39"; + button39.Size = new Size(111, 27); + button39.TabIndex = 5; + button39.Text = "ErrorDescription"; + button39.UseVisualStyleBackColor = true; + button39.Click += button39_Click; // // buttonRefreshRates // - this.buttonRefreshRates.Location = new System.Drawing.Point(6, 6); - this.buttonRefreshRates.Name = "buttonRefreshRates"; - this.buttonRefreshRates.Size = new System.Drawing.Size(128, 23); - this.buttonRefreshRates.TabIndex = 4; - this.buttonRefreshRates.Text = "RefreshRates"; - this.buttonRefreshRates.UseVisualStyleBackColor = true; - this.buttonRefreshRates.Click += new System.EventHandler(this.buttonRefreshRates_Click); + buttonRefreshRates.Location = new Point(7, 7); + buttonRefreshRates.Margin = new Padding(4, 3, 4, 3); + buttonRefreshRates.Name = "buttonRefreshRates"; + buttonRefreshRates.Size = new Size(149, 27); + buttonRefreshRates.TabIndex = 4; + buttonRefreshRates.Text = "RefreshRates"; + buttonRefreshRates.UseVisualStyleBackColor = true; + buttonRefreshRates.Click += buttonRefreshRates_Click; // // label22 // - this.label22.AutoSize = true; - this.label22.Location = new System.Drawing.Point(159, 38); - this.label22.Name = "label22"; - this.label22.Size = new System.Drawing.Size(57, 13); - this.label22.TabIndex = 3; - this.label22.Text = "ErrorCode:"; + label22.AutoSize = true; + label22.Location = new Point(186, 44); + label22.Margin = new Padding(4, 0, 4, 0); + label22.Name = "label22"; + label22.Size = new Size(63, 15); + label22.TabIndex = 3; + label22.Text = "ErrorCode:"; // // textBoxErrorCode // - this.textBoxErrorCode.Location = new System.Drawing.Point(219, 35); - this.textBoxErrorCode.Name = "textBoxErrorCode"; - this.textBoxErrorCode.Size = new System.Drawing.Size(100, 20); - this.textBoxErrorCode.TabIndex = 2; + textBoxErrorCode.Location = new Point(255, 40); + textBoxErrorCode.Margin = new Padding(4, 3, 4, 3); + textBoxErrorCode.Name = "textBoxErrorCode"; + textBoxErrorCode.Size = new Size(116, 23); + textBoxErrorCode.TabIndex = 2; // // tabPage3 // - this.tabPage3.Controls.Add(this.button70); - this.tabPage3.Controls.Add(this.label33); - this.tabPage3.Controls.Add(this.label32); - this.tabPage3.Controls.Add(this.label31); - this.tabPage3.Controls.Add(this.textBoxAccountHost); - this.tabPage3.Controls.Add(this.textBoxAccountPassword); - this.tabPage3.Controls.Add(this.textBoxAccountLogin); - this.tabPage3.Controls.Add(this.button67); - this.tabPage3.Controls.Add(this.button66); - this.tabPage3.Controls.Add(this.button65); - this.tabPage3.Controls.Add(this.button64); - this.tabPage3.Controls.Add(this.button63); - this.tabPage3.Controls.Add(this.button62); - this.tabPage3.Controls.Add(this.button61); - this.tabPage3.Controls.Add(this.button60); - this.tabPage3.Controls.Add(this.button59); - this.tabPage3.Controls.Add(this.button58); - this.tabPage3.Controls.Add(this.button57); - this.tabPage3.Controls.Add(this.button56); - this.tabPage3.Controls.Add(this.button55); - this.tabPage3.Controls.Add(this.button54); - this.tabPage3.Controls.Add(this.button53); - this.tabPage3.Controls.Add(this.button3); - this.tabPage3.Controls.Add(this.comboBoxAccountInfoCmd); - this.tabPage3.Controls.Add(this.textBoxAccountInfoVolume); - this.tabPage3.Controls.Add(this.label25); - this.tabPage3.Controls.Add(this.label24); - this.tabPage3.Controls.Add(this.label23); - this.tabPage3.Controls.Add(this.textBoxAccountInfoSymbol); - this.tabPage3.Location = new System.Drawing.Point(4, 40); - this.tabPage3.Name = "tabPage3"; - this.tabPage3.Padding = new System.Windows.Forms.Padding(3); - this.tabPage3.Size = new System.Drawing.Size(638, 383); - this.tabPage3.TabIndex = 3; - this.tabPage3.Text = "Account Information"; - this.tabPage3.UseVisualStyleBackColor = true; + tabPage3.Controls.Add(button70); + tabPage3.Controls.Add(label33); + tabPage3.Controls.Add(label32); + tabPage3.Controls.Add(label31); + tabPage3.Controls.Add(textBoxAccountHost); + tabPage3.Controls.Add(textBoxAccountPassword); + tabPage3.Controls.Add(textBoxAccountLogin); + tabPage3.Controls.Add(button67); + tabPage3.Controls.Add(button66); + tabPage3.Controls.Add(button65); + tabPage3.Controls.Add(button64); + tabPage3.Controls.Add(button63); + tabPage3.Controls.Add(button62); + tabPage3.Controls.Add(button61); + tabPage3.Controls.Add(button60); + tabPage3.Controls.Add(button59); + tabPage3.Controls.Add(button58); + tabPage3.Controls.Add(button57); + tabPage3.Controls.Add(button56); + tabPage3.Controls.Add(button55); + tabPage3.Controls.Add(button54); + tabPage3.Controls.Add(button53); + tabPage3.Controls.Add(button3); + tabPage3.Controls.Add(comboBoxAccountInfoCmd); + tabPage3.Controls.Add(textBoxAccountInfoVolume); + tabPage3.Controls.Add(label25); + tabPage3.Controls.Add(label24); + tabPage3.Controls.Add(label23); + tabPage3.Controls.Add(textBoxAccountInfoSymbol); + tabPage3.Location = new Point(4, 44); + tabPage3.Margin = new Padding(4, 3, 4, 3); + tabPage3.Name = "tabPage3"; + tabPage3.Padding = new Padding(4, 3, 4, 3); + tabPage3.Size = new Size(746, 445); + tabPage3.TabIndex = 3; + tabPage3.Text = "Account Information"; + tabPage3.UseVisualStyleBackColor = true; // // button70 // - this.button70.Location = new System.Drawing.Point(371, 292); - this.button70.Name = "button70"; - this.button70.Size = new System.Drawing.Size(97, 23); - this.button70.TabIndex = 18; - this.button70.Text = "ChangeAccount"; - this.button70.UseVisualStyleBackColor = true; - this.button70.Click += new System.EventHandler(this.button70_Click); + button70.Location = new Point(433, 337); + button70.Margin = new Padding(4, 3, 4, 3); + button70.Name = "button70"; + button70.Size = new Size(113, 27); + button70.TabIndex = 18; + button70.Text = "ChangeAccount"; + button70.UseVisualStyleBackColor = true; + button70.Click += button70_Click; // // label33 // - this.label33.AutoSize = true; - this.label33.Location = new System.Drawing.Point(168, 269); - this.label33.Name = "label33"; - this.label33.Size = new System.Drawing.Size(66, 13); - this.label33.TabIndex = 17; - this.label33.Text = "MT4 Server:"; + label33.AutoSize = true; + label33.Location = new Point(196, 310); + label33.Margin = new Padding(4, 0, 4, 0); + label33.Name = "label33"; + label33.Size = new Size(68, 15); + label33.TabIndex = 17; + label33.Text = "MT4 Server:"; // // label32 // - this.label32.AutoSize = true; - this.label32.Location = new System.Drawing.Point(168, 241); - this.label32.Name = "label32"; - this.label32.Size = new System.Drawing.Size(56, 13); - this.label32.TabIndex = 17; - this.label32.Text = "Password:"; + label32.AutoSize = true; + label32.Location = new Point(196, 278); + label32.Margin = new Padding(4, 0, 4, 0); + label32.Name = "label32"; + label32.Size = new Size(60, 15); + label32.TabIndex = 17; + label32.Text = "Password:"; // // label31 // - this.label31.AutoSize = true; - this.label31.Location = new System.Drawing.Point(168, 214); - this.label31.Name = "label31"; - this.label31.Size = new System.Drawing.Size(36, 13); - this.label31.TabIndex = 17; - this.label31.Text = "Login:"; + label31.AutoSize = true; + label31.Location = new Point(196, 247); + label31.Margin = new Padding(4, 0, 4, 0); + label31.Name = "label31"; + label31.Size = new Size(40, 15); + label31.TabIndex = 17; + label31.Text = "Login:"; // // textBoxAccountHost // - this.textBoxAccountHost.Location = new System.Drawing.Point(234, 266); - this.textBoxAccountHost.Name = "textBoxAccountHost"; - this.textBoxAccountHost.Size = new System.Drawing.Size(238, 20); - this.textBoxAccountHost.TabIndex = 17; + textBoxAccountHost.Location = new Point(273, 307); + textBoxAccountHost.Margin = new Padding(4, 3, 4, 3); + textBoxAccountHost.Name = "textBoxAccountHost"; + textBoxAccountHost.Size = new Size(277, 23); + textBoxAccountHost.TabIndex = 17; // // textBoxAccountPassword // - this.textBoxAccountPassword.Location = new System.Drawing.Point(234, 238); - this.textBoxAccountPassword.Name = "textBoxAccountPassword"; - this.textBoxAccountPassword.Size = new System.Drawing.Size(238, 20); - this.textBoxAccountPassword.TabIndex = 16; + textBoxAccountPassword.Location = new Point(273, 275); + textBoxAccountPassword.Margin = new Padding(4, 3, 4, 3); + textBoxAccountPassword.Name = "textBoxAccountPassword"; + textBoxAccountPassword.Size = new Size(277, 23); + textBoxAccountPassword.TabIndex = 16; // // textBoxAccountLogin // - this.textBoxAccountLogin.Location = new System.Drawing.Point(232, 212); - this.textBoxAccountLogin.Name = "textBoxAccountLogin"; - this.textBoxAccountLogin.Size = new System.Drawing.Size(238, 20); - this.textBoxAccountLogin.TabIndex = 15; + textBoxAccountLogin.Location = new Point(271, 245); + textBoxAccountLogin.Margin = new Padding(4, 3, 4, 3); + textBoxAccountLogin.Name = "textBoxAccountLogin"; + textBoxAccountLogin.Size = new Size(277, 23); + textBoxAccountLogin.TabIndex = 15; // // button67 // - this.button67.Location = new System.Drawing.Point(157, 33); - this.button67.Name = "button67"; - this.button67.Size = new System.Drawing.Size(145, 23); - this.button67.TabIndex = 14; - this.button67.Text = "AccountStopoutMode"; - this.button67.UseVisualStyleBackColor = true; - this.button67.Click += new System.EventHandler(this.button67_Click); + button67.Location = new Point(183, 38); + button67.Margin = new Padding(4, 3, 4, 3); + button67.Name = "button67"; + button67.Size = new Size(169, 27); + button67.TabIndex = 14; + button67.Text = "AccountStopoutMode"; + button67.UseVisualStyleBackColor = true; + button67.Click += button67_Click; // // button66 // - this.button66.Location = new System.Drawing.Point(157, 4); - this.button66.Name = "button66"; - this.button66.Size = new System.Drawing.Size(145, 23); - this.button66.TabIndex = 14; - this.button66.Text = "AccountStopoutLevel"; - this.button66.UseVisualStyleBackColor = true; - this.button66.Click += new System.EventHandler(this.button66_Click); + button66.Location = new Point(183, 5); + button66.Margin = new Padding(4, 3, 4, 3); + button66.Name = "button66"; + button66.Size = new Size(169, 27); + button66.TabIndex = 14; + button66.Text = "AccountStopoutLevel"; + button66.UseVisualStyleBackColor = true; + button66.Click += button66_Click; // // button65 // - this.button65.Location = new System.Drawing.Point(6, 350); - this.button65.Name = "button65"; - this.button65.Size = new System.Drawing.Size(145, 23); - this.button65.TabIndex = 14; - this.button65.Text = "AccountServer"; - this.button65.UseVisualStyleBackColor = true; - this.button65.Click += new System.EventHandler(this.button65_Click); + button65.Location = new Point(7, 404); + button65.Margin = new Padding(4, 3, 4, 3); + button65.Name = "button65"; + button65.Size = new Size(169, 27); + button65.TabIndex = 14; + button65.Text = "AccountServer"; + button65.UseVisualStyleBackColor = true; + button65.Click += button65_Click; // // button64 // - this.button64.Location = new System.Drawing.Point(6, 321); - this.button64.Name = "button64"; - this.button64.Size = new System.Drawing.Size(145, 23); - this.button64.TabIndex = 14; - this.button64.Text = "AccountProfit"; - this.button64.UseVisualStyleBackColor = true; - this.button64.Click += new System.EventHandler(this.button64_Click); + button64.Location = new Point(7, 370); + button64.Margin = new Padding(4, 3, 4, 3); + button64.Name = "button64"; + button64.Size = new Size(169, 27); + button64.TabIndex = 14; + button64.Text = "AccountProfit"; + button64.UseVisualStyleBackColor = true; + button64.Click += button64_Click; // // button63 // - this.button63.Location = new System.Drawing.Point(6, 292); - this.button63.Name = "button63"; - this.button63.Size = new System.Drawing.Size(145, 23); - this.button63.TabIndex = 14; - this.button63.Text = "AccountNumber"; - this.button63.UseVisualStyleBackColor = true; - this.button63.Click += new System.EventHandler(this.button63_Click); + button63.Location = new Point(7, 337); + button63.Margin = new Padding(4, 3, 4, 3); + button63.Name = "button63"; + button63.Size = new Size(169, 27); + button63.TabIndex = 14; + button63.Text = "AccountNumber"; + button63.UseVisualStyleBackColor = true; + button63.Click += button63_Click; // // button62 // - this.button62.Location = new System.Drawing.Point(6, 263); - this.button62.Name = "button62"; - this.button62.Size = new System.Drawing.Size(145, 23); - this.button62.TabIndex = 14; - this.button62.Text = "AccountName"; - this.button62.UseVisualStyleBackColor = true; - this.button62.Click += new System.EventHandler(this.button62_Click); + button62.Location = new Point(7, 303); + button62.Margin = new Padding(4, 3, 4, 3); + button62.Name = "button62"; + button62.Size = new Size(169, 27); + button62.TabIndex = 14; + button62.Text = "AccountName"; + button62.UseVisualStyleBackColor = true; + button62.Click += button62_Click; // // button61 // - this.button61.Location = new System.Drawing.Point(6, 235); - this.button61.Name = "button61"; - this.button61.Size = new System.Drawing.Size(145, 23); - this.button61.TabIndex = 14; - this.button61.Text = "AccountMargin"; - this.button61.UseVisualStyleBackColor = true; - this.button61.Click += new System.EventHandler(this.button61_Click); + button61.Location = new Point(7, 271); + button61.Margin = new Padding(4, 3, 4, 3); + button61.Name = "button61"; + button61.Size = new Size(169, 27); + button61.TabIndex = 14; + button61.Text = "AccountMargin"; + button61.UseVisualStyleBackColor = true; + button61.Click += button61_Click; // // button60 // - this.button60.Location = new System.Drawing.Point(6, 206); - this.button60.Name = "button60"; - this.button60.Size = new System.Drawing.Size(145, 23); - this.button60.TabIndex = 14; - this.button60.Text = "AccountLeverage"; - this.button60.UseVisualStyleBackColor = true; - this.button60.Click += new System.EventHandler(this.button60_Click); + button60.Location = new Point(7, 238); + button60.Margin = new Padding(4, 3, 4, 3); + button60.Name = "button60"; + button60.Size = new Size(169, 27); + button60.TabIndex = 14; + button60.Text = "AccountLeverage"; + button60.UseVisualStyleBackColor = true; + button60.Click += button60_Click; // // button59 // - this.button59.Location = new System.Drawing.Point(6, 177); - this.button59.Name = "button59"; - this.button59.Size = new System.Drawing.Size(145, 23); - this.button59.TabIndex = 14; - this.button59.Text = "AccountFreeMarginMode"; - this.button59.UseVisualStyleBackColor = true; - this.button59.Click += new System.EventHandler(this.button59_Click); + button59.Location = new Point(7, 204); + button59.Margin = new Padding(4, 3, 4, 3); + button59.Name = "button59"; + button59.Size = new Size(169, 27); + button59.TabIndex = 14; + button59.Text = "AccountFreeMarginMode"; + button59.UseVisualStyleBackColor = true; + button59.Click += button59_Click; // // button58 // - this.button58.Location = new System.Drawing.Point(190, 159); - this.button58.Name = "button58"; - this.button58.Size = new System.Drawing.Size(145, 23); - this.button58.TabIndex = 14; - this.button58.Text = "AccountFreeMarginCheck"; - this.button58.UseVisualStyleBackColor = true; - this.button58.Click += new System.EventHandler(this.button58_Click); + button58.Location = new Point(222, 183); + button58.Margin = new Padding(4, 3, 4, 3); + button58.Name = "button58"; + button58.Size = new Size(169, 27); + button58.TabIndex = 14; + button58.Text = "AccountFreeMarginCheck"; + button58.UseVisualStyleBackColor = true; + button58.Click += button58_Click; // // button57 // - this.button57.Location = new System.Drawing.Point(6, 148); - this.button57.Name = "button57"; - this.button57.Size = new System.Drawing.Size(145, 23); - this.button57.TabIndex = 14; - this.button57.Text = "AccountFreeMargin"; - this.button57.UseVisualStyleBackColor = true; - this.button57.Click += new System.EventHandler(this.button57_Click); + button57.Location = new Point(7, 171); + button57.Margin = new Padding(4, 3, 4, 3); + button57.Name = "button57"; + button57.Size = new Size(169, 27); + button57.TabIndex = 14; + button57.Text = "AccountFreeMargin"; + button57.UseVisualStyleBackColor = true; + button57.Click += button57_Click; // // button56 // - this.button56.Location = new System.Drawing.Point(6, 119); - this.button56.Name = "button56"; - this.button56.Size = new System.Drawing.Size(145, 23); - this.button56.TabIndex = 14; - this.button56.Text = "AccountEquity"; - this.button56.UseVisualStyleBackColor = true; - this.button56.Click += new System.EventHandler(this.button56_Click); + button56.Location = new Point(7, 137); + button56.Margin = new Padding(4, 3, 4, 3); + button56.Name = "button56"; + button56.Size = new Size(169, 27); + button56.TabIndex = 14; + button56.Text = "AccountEquity"; + button56.UseVisualStyleBackColor = true; + button56.Click += button56_Click; // // button55 // - this.button55.Location = new System.Drawing.Point(6, 90); - this.button55.Name = "button55"; - this.button55.Size = new System.Drawing.Size(145, 23); - this.button55.TabIndex = 13; - this.button55.Text = "AccountCurrency"; - this.button55.UseVisualStyleBackColor = true; - this.button55.Click += new System.EventHandler(this.button55_Click); + button55.Location = new Point(7, 104); + button55.Margin = new Padding(4, 3, 4, 3); + button55.Name = "button55"; + button55.Size = new Size(169, 27); + button55.TabIndex = 13; + button55.Text = "AccountCurrency"; + button55.UseVisualStyleBackColor = true; + button55.Click += button55_Click; // // button54 // - this.button54.Location = new System.Drawing.Point(6, 62); - this.button54.Name = "button54"; - this.button54.Size = new System.Drawing.Size(145, 23); - this.button54.TabIndex = 12; - this.button54.Text = "AccountCompany"; - this.button54.UseVisualStyleBackColor = true; - this.button54.Click += new System.EventHandler(this.button54_Click); + button54.Location = new Point(7, 72); + button54.Margin = new Padding(4, 3, 4, 3); + button54.Name = "button54"; + button54.Size = new Size(169, 27); + button54.TabIndex = 12; + button54.Text = "AccountCompany"; + button54.UseVisualStyleBackColor = true; + button54.Click += button54_Click; // // button53 // - this.button53.Location = new System.Drawing.Point(6, 33); - this.button53.Name = "button53"; - this.button53.Size = new System.Drawing.Size(145, 23); - this.button53.TabIndex = 11; - this.button53.Text = "AccountCredit"; - this.button53.UseVisualStyleBackColor = true; - this.button53.Click += new System.EventHandler(this.button53_Click); + button53.Location = new Point(7, 38); + button53.Margin = new Padding(4, 3, 4, 3); + button53.Name = "button53"; + button53.Size = new Size(169, 27); + button53.TabIndex = 11; + button53.Text = "AccountCredit"; + button53.UseVisualStyleBackColor = true; + button53.Click += button53_Click; // // button3 // - this.button3.Location = new System.Drawing.Point(6, 4); - this.button3.Name = "button3"; - this.button3.Size = new System.Drawing.Size(145, 23); - this.button3.TabIndex = 10; - this.button3.Text = "AccountBalance"; - this.button3.UseVisualStyleBackColor = true; - this.button3.Click += new System.EventHandler(this.button3_Click); + button3.Location = new Point(7, 5); + button3.Margin = new Padding(4, 3, 4, 3); + button3.Name = "button3"; + button3.Size = new Size(169, 27); + button3.TabIndex = 10; + button3.Text = "AccountBalance"; + button3.UseVisualStyleBackColor = true; + button3.Click += button3_Click; // // comboBoxAccountInfoCmd // - this.comboBoxAccountInfoCmd.DropDownStyle = System.Windows.Forms.ComboBoxStyle.DropDownList; - this.comboBoxAccountInfoCmd.FormattingEnabled = true; - this.comboBoxAccountInfoCmd.Location = new System.Drawing.Point(215, 106); - this.comboBoxAccountInfoCmd.Name = "comboBoxAccountInfoCmd"; - this.comboBoxAccountInfoCmd.Size = new System.Drawing.Size(120, 21); - this.comboBoxAccountInfoCmd.TabIndex = 9; + comboBoxAccountInfoCmd.DropDownStyle = ComboBoxStyle.DropDownList; + comboBoxAccountInfoCmd.FormattingEnabled = true; + comboBoxAccountInfoCmd.Location = new Point(251, 122); + comboBoxAccountInfoCmd.Margin = new Padding(4, 3, 4, 3); + comboBoxAccountInfoCmd.Name = "comboBoxAccountInfoCmd"; + comboBoxAccountInfoCmd.Size = new Size(139, 23); + comboBoxAccountInfoCmd.TabIndex = 9; // // textBoxAccountInfoVolume // - this.textBoxAccountInfoVolume.Location = new System.Drawing.Point(215, 133); - this.textBoxAccountInfoVolume.Name = "textBoxAccountInfoVolume"; - this.textBoxAccountInfoVolume.Size = new System.Drawing.Size(120, 20); - this.textBoxAccountInfoVolume.TabIndex = 8; - this.textBoxAccountInfoVolume.Text = "1"; + textBoxAccountInfoVolume.Location = new Point(251, 153); + textBoxAccountInfoVolume.Margin = new Padding(4, 3, 4, 3); + textBoxAccountInfoVolume.Name = "textBoxAccountInfoVolume"; + textBoxAccountInfoVolume.Size = new Size(139, 23); + textBoxAccountInfoVolume.TabIndex = 8; + textBoxAccountInfoVolume.Text = "1"; // // label25 // - this.label25.AutoSize = true; - this.label25.Location = new System.Drawing.Point(165, 137); - this.label25.Name = "label25"; - this.label25.Size = new System.Drawing.Size(44, 13); - this.label25.TabIndex = 6; - this.label25.Text = "volume:"; + label25.AutoSize = true; + label25.Location = new Point(192, 158); + label25.Margin = new Padding(4, 0, 4, 0); + label25.Name = "label25"; + label25.Size = new Size(50, 15); + label25.TabIndex = 6; + label25.Text = "volume:"; // // label24 // - this.label24.AutoSize = true; - this.label24.Location = new System.Drawing.Point(165, 113); - this.label24.Name = "label24"; - this.label24.Size = new System.Drawing.Size(30, 13); - this.label24.TabIndex = 5; - this.label24.Text = "cmd:"; + label24.AutoSize = true; + label24.Location = new Point(192, 130); + label24.Margin = new Padding(4, 0, 4, 0); + label24.Name = "label24"; + label24.Size = new Size(34, 15); + label24.TabIndex = 5; + label24.Text = "cmd:"; // // label23 // - this.label23.AutoSize = true; - this.label23.Location = new System.Drawing.Point(165, 87); - this.label23.Name = "label23"; - this.label23.Size = new System.Drawing.Size(44, 13); - this.label23.TabIndex = 4; - this.label23.Text = "Symbol:"; + label23.AutoSize = true; + label23.Location = new Point(192, 100); + label23.Margin = new Padding(4, 0, 4, 0); + label23.Name = "label23"; + label23.Size = new Size(50, 15); + label23.TabIndex = 4; + label23.Text = "Symbol:"; // // textBoxAccountInfoSymbol // - this.textBoxAccountInfoSymbol.Location = new System.Drawing.Point(215, 81); - this.textBoxAccountInfoSymbol.Name = "textBoxAccountInfoSymbol"; - this.textBoxAccountInfoSymbol.Size = new System.Drawing.Size(120, 20); - this.textBoxAccountInfoSymbol.TabIndex = 3; - this.textBoxAccountInfoSymbol.Text = "EURUSD"; + textBoxAccountInfoSymbol.Location = new Point(251, 93); + textBoxAccountInfoSymbol.Margin = new Padding(4, 3, 4, 3); + textBoxAccountInfoSymbol.Name = "textBoxAccountInfoSymbol"; + textBoxAccountInfoSymbol.Size = new Size(139, 23); + textBoxAccountInfoSymbol.TabIndex = 3; + textBoxAccountInfoSymbol.Text = "EURUSD"; // // tabPage4 // - this.tabPage4.Controls.Add(this.comboBox12); - this.tabPage4.Controls.Add(this.button72); - this.tabPage4.Controls.Add(this.button36); - this.tabPage4.Controls.Add(this.comboBox10); - this.tabPage4.Controls.Add(this.comboBox9); - this.tabPage4.Controls.Add(this.button35); - this.tabPage4.Controls.Add(this.button34); - this.tabPage4.Controls.Add(this.comboBox8); - this.tabPage4.Controls.Add(this.label30); - this.tabPage4.Controls.Add(this.button33); - this.tabPage4.Controls.Add(this.comboBox7); - this.tabPage4.Controls.Add(this.comboBox6); - this.tabPage4.Controls.Add(this.label29); - this.tabPage4.Controls.Add(this.comboBox5); - this.tabPage4.Controls.Add(this.button31); - this.tabPage4.Controls.Add(this.txtMarketInfoSymbol); - this.tabPage4.Controls.Add(this.button5); - this.tabPage4.Location = new System.Drawing.Point(4, 40); - this.tabPage4.Name = "tabPage4"; - this.tabPage4.Padding = new System.Windows.Forms.Padding(3); - this.tabPage4.Size = new System.Drawing.Size(638, 383); - this.tabPage4.TabIndex = 4; - this.tabPage4.Text = "MarketInfo"; - this.tabPage4.UseVisualStyleBackColor = true; + tabPage4.Controls.Add(comboBox12); + tabPage4.Controls.Add(button72); + tabPage4.Controls.Add(button36); + tabPage4.Controls.Add(comboBox10); + tabPage4.Controls.Add(comboBox9); + tabPage4.Controls.Add(button35); + tabPage4.Controls.Add(button34); + tabPage4.Controls.Add(comboBox8); + tabPage4.Controls.Add(label30); + tabPage4.Controls.Add(button33); + tabPage4.Controls.Add(comboBox7); + tabPage4.Controls.Add(comboBox6); + tabPage4.Controls.Add(label29); + tabPage4.Controls.Add(comboBox5); + tabPage4.Controls.Add(button31); + tabPage4.Controls.Add(txtMarketInfoSymbol); + tabPage4.Controls.Add(button5); + tabPage4.Location = new Point(4, 44); + tabPage4.Margin = new Padding(4, 3, 4, 3); + tabPage4.Name = "tabPage4"; + tabPage4.Padding = new Padding(4, 3, 4, 3); + tabPage4.Size = new Size(746, 445); + tabPage4.TabIndex = 4; + tabPage4.Text = "MarketInfo"; + tabPage4.UseVisualStyleBackColor = true; // // comboBox12 // - this.comboBox12.DropDownStyle = System.Windows.Forms.ComboBoxStyle.DropDownList; - this.comboBox12.FormattingEnabled = true; - this.comboBox12.Location = new System.Drawing.Point(13, 188); - this.comboBox12.Name = "comboBox12"; - this.comboBox12.Size = new System.Drawing.Size(186, 21); - this.comboBox12.TabIndex = 38; + comboBox12.DropDownStyle = ComboBoxStyle.DropDownList; + comboBox12.FormattingEnabled = true; + comboBox12.Location = new Point(15, 217); + comboBox12.Margin = new Padding(4, 3, 4, 3); + comboBox12.Name = "comboBox12"; + comboBox12.Size = new Size(216, 23); + comboBox12.TabIndex = 38; // // button72 // - this.button72.Location = new System.Drawing.Point(208, 186); - this.button72.Name = "button72"; - this.button72.Size = new System.Drawing.Size(111, 23); - this.button72.TabIndex = 37; - this.button72.Text = "TerminalInfoString"; - this.button72.UseVisualStyleBackColor = true; - this.button72.Click += new System.EventHandler(this.button72_Click); + button72.Location = new Point(243, 215); + button72.Margin = new Padding(4, 3, 4, 3); + button72.Name = "button72"; + button72.Size = new Size(130, 27); + button72.TabIndex = 37; + button72.Text = "TerminalInfoString"; + button72.UseVisualStyleBackColor = true; + button72.Click += button72_Click; // // button36 // - this.button36.Location = new System.Drawing.Point(208, 157); - this.button36.Name = "button36"; - this.button36.Size = new System.Drawing.Size(111, 23); - this.button36.TabIndex = 36; - this.button36.Text = "TerminalInfoDouble"; - this.button36.UseVisualStyleBackColor = true; - this.button36.Click += new System.EventHandler(this.button36_Click); + button36.Location = new Point(243, 181); + button36.Margin = new Padding(4, 3, 4, 3); + button36.Name = "button36"; + button36.Size = new Size(130, 27); + button36.TabIndex = 36; + button36.Text = "TerminalInfoDouble"; + button36.UseVisualStyleBackColor = true; + button36.Click += button36_Click; // // comboBox10 // - this.comboBox10.DropDownStyle = System.Windows.Forms.ComboBoxStyle.DropDownList; - this.comboBox10.FormattingEnabled = true; - this.comboBox10.Location = new System.Drawing.Point(13, 157); - this.comboBox10.Name = "comboBox10"; - this.comboBox10.Size = new System.Drawing.Size(186, 21); - this.comboBox10.TabIndex = 35; + comboBox10.DropDownStyle = ComboBoxStyle.DropDownList; + comboBox10.FormattingEnabled = true; + comboBox10.Location = new Point(15, 181); + comboBox10.Margin = new Padding(4, 3, 4, 3); + comboBox10.Name = "comboBox10"; + comboBox10.Size = new Size(216, 23); + comboBox10.TabIndex = 35; // // comboBox9 // - this.comboBox9.DropDownStyle = System.Windows.Forms.ComboBoxStyle.DropDownList; - this.comboBox9.FormattingEnabled = true; - this.comboBox9.Location = new System.Drawing.Point(13, 130); - this.comboBox9.Name = "comboBox9"; - this.comboBox9.Size = new System.Drawing.Size(186, 21); - this.comboBox9.TabIndex = 34; + comboBox9.DropDownStyle = ComboBoxStyle.DropDownList; + comboBox9.FormattingEnabled = true; + comboBox9.Location = new Point(15, 150); + comboBox9.Margin = new Padding(4, 3, 4, 3); + comboBox9.Name = "comboBox9"; + comboBox9.Size = new Size(216, 23); + comboBox9.TabIndex = 34; // // button35 // - this.button35.Location = new System.Drawing.Point(208, 128); - this.button35.Name = "button35"; - this.button35.Size = new System.Drawing.Size(111, 23); - this.button35.TabIndex = 33; - this.button35.Text = "TerminalInfoInteger"; - this.button35.UseVisualStyleBackColor = true; - this.button35.Click += new System.EventHandler(this.button35_Click); + button35.Location = new Point(243, 148); + button35.Margin = new Padding(4, 3, 4, 3); + button35.Name = "button35"; + button35.Size = new Size(130, 27); + button35.TabIndex = 33; + button35.Text = "TerminalInfoInteger"; + button35.UseVisualStyleBackColor = true; + button35.Click += button35_Click; // // button34 // - this.button34.Location = new System.Drawing.Point(387, 47); - this.button34.Name = "button34"; - this.button34.Size = new System.Drawing.Size(112, 23); - this.button34.TabIndex = 32; - this.button34.Text = "SymbolInfoTick"; - this.button34.UseVisualStyleBackColor = true; - this.button34.Click += new System.EventHandler(this.button34_Click); + button34.Location = new Point(451, 54); + button34.Margin = new Padding(4, 3, 4, 3); + button34.Name = "button34"; + button34.Size = new Size(131, 27); + button34.TabIndex = 32; + button34.Text = "SymbolInfoTick"; + button34.UseVisualStyleBackColor = true; + button34.Click += button34_Click; // // comboBox8 // - this.comboBox8.DropDownStyle = System.Windows.Forms.ComboBoxStyle.DropDownList; - this.comboBox8.FormattingEnabled = true; - this.comboBox8.Location = new System.Drawing.Point(13, 47); - this.comboBox8.Name = "comboBox8"; - this.comboBox8.Size = new System.Drawing.Size(186, 21); - this.comboBox8.TabIndex = 31; + comboBox8.DropDownStyle = ComboBoxStyle.DropDownList; + comboBox8.FormattingEnabled = true; + comboBox8.Location = new Point(15, 54); + comboBox8.Margin = new Padding(4, 3, 4, 3); + comboBox8.Name = "comboBox8"; + comboBox8.Size = new Size(216, 23); + comboBox8.TabIndex = 31; // // label30 // - this.label30.AutoSize = true; - this.label30.Location = new System.Drawing.Point(10, 13); - this.label30.Name = "label30"; - this.label30.Size = new System.Drawing.Size(41, 13); - this.label30.TabIndex = 30; - this.label30.Text = "Symbol"; + label30.AutoSize = true; + label30.Location = new Point(12, 15); + label30.Margin = new Padding(4, 0, 4, 0); + label30.Name = "label30"; + label30.Size = new Size(47, 15); + label30.TabIndex = 30; + label30.Text = "Symbol"; // // button33 // - this.button33.Location = new System.Drawing.Point(208, 99); - this.button33.Name = "button33"; - this.button33.Size = new System.Drawing.Size(111, 23); - this.button33.TabIndex = 29; - this.button33.Text = "SymbolInfoDouble"; - this.button33.UseVisualStyleBackColor = true; - this.button33.Click += new System.EventHandler(this.button33_Click); + button33.Location = new Point(243, 114); + button33.Margin = new Padding(4, 3, 4, 3); + button33.Name = "button33"; + button33.Size = new Size(130, 27); + button33.TabIndex = 29; + button33.Text = "SymbolInfoDouble"; + button33.UseVisualStyleBackColor = true; + button33.Click += button33_Click; // // comboBox7 // - this.comboBox7.DropDownStyle = System.Windows.Forms.ComboBoxStyle.DropDownList; - this.comboBox7.FormattingEnabled = true; - this.comboBox7.Location = new System.Drawing.Point(13, 101); - this.comboBox7.Name = "comboBox7"; - this.comboBox7.Size = new System.Drawing.Size(186, 21); - this.comboBox7.TabIndex = 28; + comboBox7.DropDownStyle = ComboBoxStyle.DropDownList; + comboBox7.FormattingEnabled = true; + comboBox7.Location = new Point(15, 117); + comboBox7.Margin = new Padding(4, 3, 4, 3); + comboBox7.Name = "comboBox7"; + comboBox7.Size = new Size(216, 23); + comboBox7.TabIndex = 28; // // comboBox6 // - this.comboBox6.DropDownStyle = System.Windows.Forms.ComboBoxStyle.DropDownList; - this.comboBox6.FormattingEnabled = true; - this.comboBox6.Location = new System.Drawing.Point(229, 10); - this.comboBox6.Name = "comboBox6"; - this.comboBox6.Size = new System.Drawing.Size(121, 21); - this.comboBox6.TabIndex = 27; + comboBox6.DropDownStyle = ComboBoxStyle.DropDownList; + comboBox6.FormattingEnabled = true; + comboBox6.Location = new Point(267, 12); + comboBox6.Margin = new Padding(4, 3, 4, 3); + comboBox6.Name = "comboBox6"; + comboBox6.Size = new Size(140, 23); + comboBox6.TabIndex = 27; // // label29 // - this.label29.AutoSize = true; - this.label29.Location = new System.Drawing.Point(164, 13); - this.label29.Name = "label29"; - this.label29.Size = new System.Drawing.Size(59, 13); - this.label29.TabIndex = 26; - this.label29.Text = "TimeFrame"; + label29.AutoSize = true; + label29.Location = new Point(191, 15); + label29.Margin = new Padding(4, 0, 4, 0); + label29.Name = "label29"; + label29.Size = new Size(66, 15); + label29.TabIndex = 26; + label29.Text = "TimeFrame"; // // comboBox5 // - this.comboBox5.DropDownStyle = System.Windows.Forms.ComboBoxStyle.DropDownList; - this.comboBox5.FormattingEnabled = true; - this.comboBox5.Items.AddRange(new object[] { - "SERIES_BARS_COUNT", - "SERIES_FIRSTDATE", - "SERIES_LASTBAR_DATE", - "SERIES_SERVER_FIRSTDATE"}); - this.comboBox5.Location = new System.Drawing.Point(13, 74); - this.comboBox5.Name = "comboBox5"; - this.comboBox5.Size = new System.Drawing.Size(186, 21); - this.comboBox5.TabIndex = 25; + comboBox5.DropDownStyle = ComboBoxStyle.DropDownList; + comboBox5.FormattingEnabled = true; + comboBox5.Items.AddRange(new object[] { "SERIES_BARS_COUNT", "SERIES_FIRSTDATE", "SERIES_LASTBAR_DATE", "SERIES_SERVER_FIRSTDATE" }); + comboBox5.Location = new Point(15, 85); + comboBox5.Margin = new Padding(4, 3, 4, 3); + comboBox5.Name = "comboBox5"; + comboBox5.Size = new Size(216, 23); + comboBox5.TabIndex = 25; // // button31 // - this.button31.Location = new System.Drawing.Point(208, 74); - this.button31.Name = "button31"; - this.button31.Size = new System.Drawing.Size(111, 23); - this.button31.TabIndex = 24; - this.button31.Text = "SeriesInfoInteger"; - this.button31.UseVisualStyleBackColor = true; - this.button31.Click += new System.EventHandler(this.button31_Click); + button31.Location = new Point(243, 85); + button31.Margin = new Padding(4, 3, 4, 3); + button31.Name = "button31"; + button31.Size = new Size(130, 27); + button31.TabIndex = 24; + button31.Text = "SeriesInfoInteger"; + button31.UseVisualStyleBackColor = true; + button31.Click += button31_Click; // // txtMarketInfoSymbol // - this.txtMarketInfoSymbol.Location = new System.Drawing.Point(57, 10); - this.txtMarketInfoSymbol.Name = "txtMarketInfoSymbol"; - this.txtMarketInfoSymbol.Size = new System.Drawing.Size(100, 20); - this.txtMarketInfoSymbol.TabIndex = 7; + txtMarketInfoSymbol.Location = new Point(66, 12); + txtMarketInfoSymbol.Margin = new Padding(4, 3, 4, 3); + txtMarketInfoSymbol.Name = "txtMarketInfoSymbol"; + txtMarketInfoSymbol.Size = new Size(116, 23); + txtMarketInfoSymbol.TabIndex = 7; // // button5 // - this.button5.Location = new System.Drawing.Point(208, 45); - this.button5.Name = "button5"; - this.button5.Size = new System.Drawing.Size(111, 23); - this.button5.TabIndex = 6; - this.button5.Text = "MarketInfo"; - this.button5.UseVisualStyleBackColor = true; - this.button5.Click += new System.EventHandler(this.button5_Click); + button5.Location = new Point(243, 52); + button5.Margin = new Padding(4, 3, 4, 3); + button5.Name = "button5"; + button5.Size = new Size(130, 27); + button5.TabIndex = 6; + button5.Text = "MarketInfo"; + button5.UseVisualStyleBackColor = true; + button5.Click += button5_Click; // // tabPage5 // - this.tabPage5.Controls.Add(this.dateTimePicker2); - this.tabPage5.Controls.Add(this.dateTimePicker1); - this.tabPage5.Controls.Add(this.label6); - this.tabPage5.Controls.Add(this.numericUpDown2); - this.tabPage5.Controls.Add(this.numericUpDown1); - this.tabPage5.Controls.Add(this.label27); - this.tabPage5.Controls.Add(this.label7); - this.tabPage5.Controls.Add(this.label5); - this.tabPage5.Controls.Add(this.comboBox3); - this.tabPage5.Controls.Add(this.label4); - this.tabPage5.Controls.Add(this.button26); - this.tabPage5.Controls.Add(this.button25); - this.tabPage5.Controls.Add(this.button24); - this.tabPage5.Controls.Add(this.button12); - this.tabPage5.Controls.Add(this.button11); - this.tabPage5.Controls.Add(this.button10); - this.tabPage5.Controls.Add(this.button9); - this.tabPage5.Controls.Add(this.button8); - this.tabPage5.Controls.Add(this.button7); - this.tabPage5.Controls.Add(this.textBoxTimeframesCount); - this.tabPage5.Controls.Add(this.label26); - this.tabPage5.Controls.Add(this.textBoxSelectedSymbol); - this.tabPage5.Controls.Add(this.button6); - this.tabPage5.Controls.Add(this.listBoxProceHistory); - this.tabPage5.Location = new System.Drawing.Point(4, 40); - this.tabPage5.Name = "tabPage5"; - this.tabPage5.Padding = new System.Windows.Forms.Padding(3); - this.tabPage5.Size = new System.Drawing.Size(638, 383); - this.tabPage5.TabIndex = 5; - this.tabPage5.Text = "Timeframes"; - this.tabPage5.UseVisualStyleBackColor = true; + tabPage5.Controls.Add(dateTimePicker2); + tabPage5.Controls.Add(dateTimePicker1); + tabPage5.Controls.Add(label6); + tabPage5.Controls.Add(numericUpDown2); + tabPage5.Controls.Add(numericUpDown1); + tabPage5.Controls.Add(label27); + tabPage5.Controls.Add(label7); + tabPage5.Controls.Add(label5); + tabPage5.Controls.Add(comboBox3); + tabPage5.Controls.Add(label4); + tabPage5.Controls.Add(button26); + tabPage5.Controls.Add(button25); + tabPage5.Controls.Add(button24); + tabPage5.Controls.Add(button12); + tabPage5.Controls.Add(button11); + tabPage5.Controls.Add(button10); + tabPage5.Controls.Add(button9); + tabPage5.Controls.Add(button8); + tabPage5.Controls.Add(button7); + tabPage5.Controls.Add(textBoxTimeframesCount); + tabPage5.Controls.Add(label26); + tabPage5.Controls.Add(textBoxSelectedSymbol); + tabPage5.Controls.Add(button6); + tabPage5.Controls.Add(listBoxProceHistory); + tabPage5.Location = new Point(4, 44); + tabPage5.Margin = new Padding(4, 3, 4, 3); + tabPage5.Name = "tabPage5"; + tabPage5.Padding = new Padding(4, 3, 4, 3); + tabPage5.Size = new Size(746, 445); + tabPage5.TabIndex = 5; + tabPage5.Text = "Timeframes"; + tabPage5.UseVisualStyleBackColor = true; // // dateTimePicker2 // - this.dateTimePicker2.Location = new System.Drawing.Point(324, 226); - this.dateTimePicker2.Name = "dateTimePicker2"; - this.dateTimePicker2.Size = new System.Drawing.Size(200, 20); - this.dateTimePicker2.TabIndex = 21; + dateTimePicker2.Location = new Point(378, 261); + dateTimePicker2.Margin = new Padding(4, 3, 4, 3); + dateTimePicker2.Name = "dateTimePicker2"; + dateTimePicker2.Size = new Size(233, 23); + dateTimePicker2.TabIndex = 21; // // dateTimePicker1 // - this.dateTimePicker1.Location = new System.Drawing.Point(324, 200); - this.dateTimePicker1.Name = "dateTimePicker1"; - this.dateTimePicker1.Size = new System.Drawing.Size(200, 20); - this.dateTimePicker1.TabIndex = 21; + dateTimePicker1.Location = new Point(378, 231); + dateTimePicker1.Margin = new Padding(4, 3, 4, 3); + dateTimePicker1.Name = "dateTimePicker1"; + dateTimePicker1.Size = new Size(233, 23); + dateTimePicker1.TabIndex = 21; // // label6 // - this.label6.AutoSize = true; - this.label6.Location = new System.Drawing.Point(456, 178); - this.label6.Name = "label6"; - this.label6.Size = new System.Drawing.Size(35, 13); - this.label6.TabIndex = 20; - this.label6.Text = "Count"; + label6.AutoSize = true; + label6.Location = new Point(532, 205); + label6.Margin = new Padding(4, 0, 4, 0); + label6.Name = "label6"; + label6.Size = new Size(40, 15); + label6.TabIndex = 20; + label6.Text = "Count"; // // numericUpDown2 // - this.numericUpDown2.Location = new System.Drawing.Point(497, 176); - this.numericUpDown2.Name = "numericUpDown2"; - this.numericUpDown2.Size = new System.Drawing.Size(120, 20); - this.numericUpDown2.TabIndex = 19; + numericUpDown2.Location = new Point(580, 203); + numericUpDown2.Margin = new Padding(4, 3, 4, 3); + numericUpDown2.Name = "numericUpDown2"; + numericUpDown2.Size = new Size(140, 23); + numericUpDown2.TabIndex = 19; // // numericUpDown1 // - this.numericUpDown1.Location = new System.Drawing.Point(324, 175); - this.numericUpDown1.Name = "numericUpDown1"; - this.numericUpDown1.Size = new System.Drawing.Size(120, 20); - this.numericUpDown1.TabIndex = 19; + numericUpDown1.Location = new Point(378, 202); + numericUpDown1.Margin = new Padding(4, 3, 4, 3); + numericUpDown1.Name = "numericUpDown1"; + numericUpDown1.Size = new Size(140, 23); + numericUpDown1.TabIndex = 19; // // label27 // - this.label27.AutoSize = true; - this.label27.Location = new System.Drawing.Point(260, 232); - this.label27.Name = "label27"; - this.label27.Size = new System.Drawing.Size(52, 13); - this.label27.TabIndex = 17; - this.label27.Text = "StopTime"; + label27.AutoSize = true; + label27.Location = new Point(303, 268); + label27.Margin = new Padding(4, 0, 4, 0); + label27.Name = "label27"; + label27.Size = new Size(57, 15); + label27.TabIndex = 17; + label27.Text = "StopTime"; // // label7 // - this.label7.AutoSize = true; - this.label7.Location = new System.Drawing.Point(260, 202); - this.label7.Name = "label7"; - this.label7.Size = new System.Drawing.Size(52, 13); - this.label7.TabIndex = 17; - this.label7.Text = "StartTime"; + label7.AutoSize = true; + label7.Location = new Point(303, 233); + label7.Margin = new Padding(4, 0, 4, 0); + label7.Name = "label7"; + label7.Size = new Size(57, 15); + label7.TabIndex = 17; + label7.Text = "StartTime"; // // label5 // - this.label5.AutoSize = true; - this.label5.Location = new System.Drawing.Point(258, 178); - this.label5.Name = "label5"; - this.label5.Size = new System.Drawing.Size(47, 13); - this.label5.TabIndex = 17; - this.label5.Text = "StartPos"; + label5.AutoSize = true; + label5.Location = new Point(301, 205); + label5.Margin = new Padding(4, 0, 4, 0); + label5.Name = "label5"; + label5.Size = new Size(50, 15); + label5.TabIndex = 17; + label5.Text = "StartPos"; // // comboBox3 // - this.comboBox3.DropDownStyle = System.Windows.Forms.ComboBoxStyle.DropDownList; - this.comboBox3.FormattingEnabled = true; - this.comboBox3.Location = new System.Drawing.Point(324, 143); - this.comboBox3.Name = "comboBox3"; - this.comboBox3.Size = new System.Drawing.Size(121, 21); - this.comboBox3.TabIndex = 16; + comboBox3.DropDownStyle = ComboBoxStyle.DropDownList; + comboBox3.FormattingEnabled = true; + comboBox3.Location = new Point(378, 165); + comboBox3.Margin = new Padding(4, 3, 4, 3); + comboBox3.Name = "comboBox3"; + comboBox3.Size = new Size(140, 23); + comboBox3.TabIndex = 16; // // label4 // - this.label4.AutoSize = true; - this.label4.Location = new System.Drawing.Point(259, 146); - this.label4.Name = "label4"; - this.label4.Size = new System.Drawing.Size(59, 13); - this.label4.TabIndex = 15; - this.label4.Text = "TimeFrame"; + label4.AutoSize = true; + label4.Location = new Point(302, 168); + label4.Margin = new Padding(4, 0, 4, 0); + label4.Name = "label4"; + label4.Size = new Size(66, 15); + label4.TabIndex = 15; + label4.Text = "TimeFrame"; // // button26 // - this.button26.Location = new System.Drawing.Point(485, 252); - this.button26.Name = "button26"; - this.button26.Size = new System.Drawing.Size(93, 23); - this.button26.TabIndex = 14; - this.button26.Text = "CopyRates_3"; - this.button26.UseVisualStyleBackColor = true; - this.button26.Click += new System.EventHandler(this.button26_Click); + button26.Location = new Point(566, 291); + button26.Margin = new Padding(4, 3, 4, 3); + button26.Name = "button26"; + button26.Size = new Size(108, 27); + button26.TabIndex = 14; + button26.Text = "CopyRates_3"; + button26.UseVisualStyleBackColor = true; + button26.Click += button26_Click; // // button25 // - this.button25.Location = new System.Drawing.Point(386, 252); - this.button25.Name = "button25"; - this.button25.Size = new System.Drawing.Size(93, 23); - this.button25.TabIndex = 14; - this.button25.Text = "CopyRates_2"; - this.button25.UseVisualStyleBackColor = true; - this.button25.Click += new System.EventHandler(this.button25_Click); + button25.Location = new Point(450, 291); + button25.Margin = new Padding(4, 3, 4, 3); + button25.Name = "button25"; + button25.Size = new Size(108, 27); + button25.TabIndex = 14; + button25.Text = "CopyRates_2"; + button25.UseVisualStyleBackColor = true; + button25.Click += button25_Click; // // button24 // - this.button24.Location = new System.Drawing.Point(287, 252); - this.button24.Name = "button24"; - this.button24.Size = new System.Drawing.Size(93, 23); - this.button24.TabIndex = 14; - this.button24.Text = "CopyRates_1"; - this.button24.UseVisualStyleBackColor = true; - this.button24.Click += new System.EventHandler(this.button24_Click); + button24.Location = new Point(335, 291); + button24.Margin = new Padding(4, 3, 4, 3); + button24.Name = "button24"; + button24.Size = new Size(108, 27); + button24.TabIndex = 14; + button24.Text = "CopyRates_1"; + button24.UseVisualStyleBackColor = true; + button24.Click += button24_Click; // // button12 // - this.button12.Location = new System.Drawing.Point(141, 201); - this.button12.Name = "button12"; - this.button12.Size = new System.Drawing.Size(75, 23); - this.button12.TabIndex = 13; - this.button12.Text = "iTimeArray"; - this.button12.UseVisualStyleBackColor = true; - this.button12.Click += new System.EventHandler(this.button12_Click); + button12.Location = new Point(164, 232); + button12.Margin = new Padding(4, 3, 4, 3); + button12.Name = "button12"; + button12.Size = new Size(88, 27); + button12.TabIndex = 13; + button12.Text = "iTimeArray"; + button12.UseVisualStyleBackColor = true; + button12.Click += button12_Click; // // button11 // - this.button11.Location = new System.Drawing.Point(141, 172); - this.button11.Name = "button11"; - this.button11.Size = new System.Drawing.Size(75, 23); - this.button11.TabIndex = 12; - this.button11.Text = "iVolumeArray"; - this.button11.UseVisualStyleBackColor = true; - this.button11.Click += new System.EventHandler(this.button11_Click); + button11.Location = new Point(164, 198); + button11.Margin = new Padding(4, 3, 4, 3); + button11.Name = "button11"; + button11.Size = new Size(88, 27); + button11.TabIndex = 12; + button11.Text = "iVolumeArray"; + button11.UseVisualStyleBackColor = true; + button11.Click += button11_Click; // // button10 // - this.button10.Location = new System.Drawing.Point(141, 143); - this.button10.Name = "button10"; - this.button10.Size = new System.Drawing.Size(75, 23); - this.button10.TabIndex = 11; - this.button10.Text = "iOpenArray"; - this.button10.UseVisualStyleBackColor = true; - this.button10.Click += new System.EventHandler(this.button10_Click); + button10.Location = new Point(164, 165); + button10.Margin = new Padding(4, 3, 4, 3); + button10.Name = "button10"; + button10.Size = new Size(88, 27); + button10.TabIndex = 11; + button10.Text = "iOpenArray"; + button10.UseVisualStyleBackColor = true; + button10.Click += button10_Click; // // button9 // - this.button9.Location = new System.Drawing.Point(141, 114); - this.button9.Name = "button9"; - this.button9.Size = new System.Drawing.Size(75, 23); - this.button9.TabIndex = 10; - this.button9.Text = "iLowArray"; - this.button9.UseVisualStyleBackColor = true; - this.button9.Click += new System.EventHandler(this.button9_Click); + button9.Location = new Point(164, 132); + button9.Margin = new Padding(4, 3, 4, 3); + button9.Name = "button9"; + button9.Size = new Size(88, 27); + button9.TabIndex = 10; + button9.Text = "iLowArray"; + button9.UseVisualStyleBackColor = true; + button9.Click += button9_Click; // // button8 // - this.button8.Location = new System.Drawing.Point(141, 85); - this.button8.Name = "button8"; - this.button8.Size = new System.Drawing.Size(75, 23); - this.button8.TabIndex = 9; - this.button8.Text = "iHighArray"; - this.button8.UseVisualStyleBackColor = true; - this.button8.Click += new System.EventHandler(this.button8_Click); + button8.Location = new Point(164, 98); + button8.Margin = new Padding(4, 3, 4, 3); + button8.Name = "button8"; + button8.Size = new Size(88, 27); + button8.TabIndex = 9; + button8.Text = "iHighArray"; + button8.UseVisualStyleBackColor = true; + button8.Click += button8_Click; // // button7 // - this.button7.Location = new System.Drawing.Point(340, 41); - this.button7.Name = "button7"; - this.button7.Size = new System.Drawing.Size(75, 23); - this.button7.TabIndex = 8; - this.button7.Text = "iBars"; - this.button7.UseVisualStyleBackColor = true; - this.button7.Click += new System.EventHandler(this.button7_Click); + button7.Location = new Point(397, 47); + button7.Margin = new Padding(4, 3, 4, 3); + button7.Name = "button7"; + button7.Size = new Size(88, 27); + button7.TabIndex = 8; + button7.Text = "iBars"; + button7.UseVisualStyleBackColor = true; + button7.Click += button7_Click; // // textBoxTimeframesCount // - this.textBoxTimeframesCount.Location = new System.Drawing.Point(341, 15); - this.textBoxTimeframesCount.Name = "textBoxTimeframesCount"; - this.textBoxTimeframesCount.Size = new System.Drawing.Size(100, 20); - this.textBoxTimeframesCount.TabIndex = 7; + textBoxTimeframesCount.Location = new Point(398, 17); + textBoxTimeframesCount.Margin = new Padding(4, 3, 4, 3); + textBoxTimeframesCount.Name = "textBoxTimeframesCount"; + textBoxTimeframesCount.Size = new Size(116, 23); + textBoxTimeframesCount.TabIndex = 7; // // label26 // - this.label26.AutoSize = true; - this.label26.Location = new System.Drawing.Point(271, 107); - this.label26.Name = "label26"; - this.label26.Size = new System.Drawing.Size(44, 13); - this.label26.TabIndex = 6; - this.label26.Text = "Symbol:"; + label26.AutoSize = true; + label26.Location = new Point(316, 123); + label26.Margin = new Padding(4, 0, 4, 0); + label26.Name = "label26"; + label26.Size = new Size(50, 15); + label26.TabIndex = 6; + label26.Text = "Symbol:"; // // textBoxSelectedSymbol // - this.textBoxSelectedSymbol.Location = new System.Drawing.Point(324, 101); - this.textBoxSelectedSymbol.Name = "textBoxSelectedSymbol"; - this.textBoxSelectedSymbol.Size = new System.Drawing.Size(100, 20); - this.textBoxSelectedSymbol.TabIndex = 5; - this.textBoxSelectedSymbol.Text = "EURUSD"; + textBoxSelectedSymbol.Location = new Point(378, 117); + textBoxSelectedSymbol.Margin = new Padding(4, 3, 4, 3); + textBoxSelectedSymbol.Name = "textBoxSelectedSymbol"; + textBoxSelectedSymbol.Size = new Size(116, 23); + textBoxSelectedSymbol.TabIndex = 5; + textBoxSelectedSymbol.Text = "EURUSD"; // // button6 // - this.button6.Location = new System.Drawing.Point(141, 56); - this.button6.Name = "button6"; - this.button6.Size = new System.Drawing.Size(75, 23); - this.button6.TabIndex = 1; - this.button6.Text = "iCloseArray"; - this.button6.UseVisualStyleBackColor = true; - this.button6.Click += new System.EventHandler(this.button6_Click); + button6.Location = new Point(164, 65); + button6.Margin = new Padding(4, 3, 4, 3); + button6.Name = "button6"; + button6.Size = new Size(88, 27); + button6.TabIndex = 1; + button6.Text = "iCloseArray"; + button6.UseVisualStyleBackColor = true; + button6.Click += button6_Click; // // listBoxProceHistory // - this.listBoxProceHistory.FormattingEnabled = true; - this.listBoxProceHistory.Location = new System.Drawing.Point(16, 16); - this.listBoxProceHistory.Name = "listBoxProceHistory"; - this.listBoxProceHistory.Size = new System.Drawing.Size(119, 316); - this.listBoxProceHistory.TabIndex = 0; + listBoxProceHistory.FormattingEnabled = true; + listBoxProceHistory.ItemHeight = 15; + listBoxProceHistory.Location = new Point(19, 18); + listBoxProceHistory.Margin = new Padding(4, 3, 4, 3); + listBoxProceHistory.Name = "listBoxProceHistory"; + listBoxProceHistory.Size = new Size(138, 364); + listBoxProceHistory.TabIndex = 0; // // tabPage6 // - this.tabPage6.Controls.Add(this.button73); - this.tabPage6.Controls.Add(this.textBoxPrint); - this.tabPage6.Controls.Add(this.button27); - this.tabPage6.Controls.Add(this.button14); - this.tabPage6.Controls.Add(this.button13); - this.tabPage6.Location = new System.Drawing.Point(4, 40); - this.tabPage6.Name = "tabPage6"; - this.tabPage6.Padding = new System.Windows.Forms.Padding(3); - this.tabPage6.Size = new System.Drawing.Size(638, 383); - this.tabPage6.TabIndex = 6; - this.tabPage6.Text = "Client Terminal"; - this.tabPage6.UseVisualStyleBackColor = true; - // - // textBoxPrint - // - this.textBoxPrint.Location = new System.Drawing.Point(13, 108); - this.textBoxPrint.Name = "textBoxPrint"; - this.textBoxPrint.Size = new System.Drawing.Size(386, 20); - this.textBoxPrint.TabIndex = 3; - // - // button27 - // - this.button27.Location = new System.Drawing.Point(405, 106); - this.button27.Name = "button27"; - this.button27.Size = new System.Drawing.Size(75, 23); - this.button27.TabIndex = 2; - this.button27.Text = "Print"; - this.button27.UseVisualStyleBackColor = true; - this.button27.Click += new System.EventHandler(this.button27_Click); - // - // button14 - // - this.button14.Location = new System.Drawing.Point(13, 45); - this.button14.Name = "button14"; - this.button14.Size = new System.Drawing.Size(75, 23); - this.button14.TabIndex = 1; - this.button14.Text = "TimeLocal"; - this.button14.UseVisualStyleBackColor = true; - this.button14.Click += new System.EventHandler(this.button14_Click); - // - // button13 - // - this.button13.Location = new System.Drawing.Point(13, 16); - this.button13.Name = "button13"; - this.button13.Size = new System.Drawing.Size(75, 23); - this.button13.TabIndex = 0; - this.button13.Text = "TimeCurrent"; - this.button13.UseVisualStyleBackColor = true; - this.button13.Click += new System.EventHandler(this.button13_Click); - // - // tabPage7 - // - this.tabPage7.Controls.Add(this.button71); - this.tabPage7.Controls.Add(this.button23); - this.tabPage7.Controls.Add(this.iCustomBtn); - this.tabPage7.Location = new System.Drawing.Point(4, 40); - this.tabPage7.Name = "tabPage7"; - this.tabPage7.Padding = new System.Windows.Forms.Padding(3); - this.tabPage7.Size = new System.Drawing.Size(638, 383); - this.tabPage7.TabIndex = 7; - this.tabPage7.Text = "Technical Indicators"; - this.tabPage7.UseVisualStyleBackColor = true; - // - // button71 - // - this.button71.Location = new System.Drawing.Point(6, 64); - this.button71.Name = "button71"; - this.button71.Size = new System.Drawing.Size(107, 23); - this.button71.TabIndex = 17; - this.button71.Text = "iBarShift"; - this.button71.UseVisualStyleBackColor = true; - this.button71.Click += new System.EventHandler(this.button71_Click); - // - // button23 - // - this.button23.Location = new System.Drawing.Point(6, 35); - this.button23.Name = "button23"; - this.button23.Size = new System.Drawing.Size(107, 23); - this.button23.TabIndex = 16; - this.button23.Text = "iCustom (Parabolic)"; - this.button23.UseVisualStyleBackColor = true; - this.button23.Click += new System.EventHandler(this.button23_Click); - // - // iCustomBtn - // - this.iCustomBtn.Location = new System.Drawing.Point(6, 6); - this.iCustomBtn.Name = "iCustomBtn"; - this.iCustomBtn.Size = new System.Drawing.Size(107, 23); - this.iCustomBtn.TabIndex = 15; - this.iCustomBtn.Text = "iCustom (ZigZag)"; - this.iCustomBtn.UseVisualStyleBackColor = true; - this.iCustomBtn.Click += new System.EventHandler(this.iCustomBtn_Click); - // - // tabPage8 - // - this.tabPage8.Controls.Add(this.comboBox4); - this.tabPage8.Controls.Add(this.button32); - this.tabPage8.Controls.Add(this.button30); - this.tabPage8.Controls.Add(this.button29); - this.tabPage8.Controls.Add(this.button28); - this.tabPage8.Controls.Add(this.label28); - this.tabPage8.Controls.Add(this.textBox1); - this.tabPage8.Location = new System.Drawing.Point(4, 40); - this.tabPage8.Name = "tabPage8"; - this.tabPage8.Padding = new System.Windows.Forms.Padding(3); - this.tabPage8.Size = new System.Drawing.Size(638, 383); - this.tabPage8.TabIndex = 8; - this.tabPage8.Text = "Symbols"; - this.tabPage8.UseVisualStyleBackColor = true; - // - // comboBox4 - // - this.comboBox4.DropDownStyle = System.Windows.Forms.ComboBoxStyle.DropDownList; - this.comboBox4.FormattingEnabled = true; - this.comboBox4.Items.AddRange(new object[] { - "SYMBOL_SELECT", - "SYMBOL_VISIBLE", - "SYMBOL_SESSION_DEALS", - "SYMBOL_SESSION_BUY_ORDERS", - "SYMBOL_SESSION_SELL_ORDERS", - "SYMBOL_VOLUME", - "SYMBOL_VOLUMEHIGH", - "SYMBOL_VOLUMELOW", - "SYMBOL_TIME", - "SYMBOL_DIGITS", - "SYMBOL_SPREAD", - "SYMBOL_SPREAD_FLOAT", - "SYMBOL_TRADE_CALC_MODE", - "SYMBOL_TRADE_MODE", - "SYMBOL_START_TIME", - "SYMBOL_EXPIRATION_TIME", - "SYMBOL_TRADE_STOPS_LEVEL", - "SYMBOL_TRADE_FREEZE_LEVEL", - "SYMBOL_TRADE_EXEMODE", - "SYMBOL_SWAP_MODE", - "SYMBOL_SWAP_ROLLOVER3DAYS", - "SYMBOL_EXPIRATION_MODE", - "SYMBOL_FILLING_MODE", - "SYMBOL_ORDER_MODE"}); - this.comboBox4.Location = new System.Drawing.Point(10, 87); - this.comboBox4.Name = "comboBox4"; - this.comboBox4.Size = new System.Drawing.Size(174, 21); - this.comboBox4.TabIndex = 3; - // - // button32 - // - this.button32.Location = new System.Drawing.Point(190, 87); - this.button32.Name = "button32"; - this.button32.Size = new System.Drawing.Size(108, 23); - this.button32.TabIndex = 2; - this.button32.Text = "SymbolInfoInteger"; - this.button32.UseVisualStyleBackColor = true; - this.button32.Click += new System.EventHandler(this.button32_Click); - // - // button30 - // - this.button30.Location = new System.Drawing.Point(206, 56); - this.button30.Name = "button30"; - this.button30.Size = new System.Drawing.Size(92, 23); - this.button30.TabIndex = 2; - this.button30.Text = "SymbolSelect"; - this.button30.UseVisualStyleBackColor = true; - this.button30.Click += new System.EventHandler(this.button30_Click); - // - // button29 - // - this.button29.Location = new System.Drawing.Point(108, 56); - this.button29.Name = "button29"; - this.button29.Size = new System.Drawing.Size(92, 23); - this.button29.TabIndex = 2; - this.button29.Text = "SymbolName"; - this.button29.UseVisualStyleBackColor = true; - this.button29.Click += new System.EventHandler(this.button29_Click); - // - // button28 - // - this.button28.Location = new System.Drawing.Point(10, 56); - this.button28.Name = "button28"; - this.button28.Size = new System.Drawing.Size(92, 23); - this.button28.TabIndex = 2; - this.button28.Text = "SymbolsTotal"; - this.button28.UseVisualStyleBackColor = true; - this.button28.Click += new System.EventHandler(this.button28_Click); - // - // label28 - // - this.label28.AutoSize = true; - this.label28.Location = new System.Drawing.Point(7, 20); - this.label28.Name = "label28"; - this.label28.Size = new System.Drawing.Size(41, 13); - this.label28.TabIndex = 1; - this.label28.Text = "Symbol"; - // - // textBox1 - // - this.textBox1.Location = new System.Drawing.Point(54, 17); - this.textBox1.Name = "textBox1"; - this.textBox1.Size = new System.Drawing.Size(100, 20); - this.textBox1.TabIndex = 0; - this.textBox1.Text = "EURUSD"; - // - // tabPage9 - // - this.tabPage9.Controls.Add(this.textBoxChartId); - this.tabPage9.Controls.Add(this.button38); - this.tabPage9.Controls.Add(this.button37); - this.tabPage9.Location = new System.Drawing.Point(4, 40); - this.tabPage9.Name = "tabPage9"; - this.tabPage9.Size = new System.Drawing.Size(638, 383); - this.tabPage9.TabIndex = 9; - this.tabPage9.Text = "Chart Operations"; - this.tabPage9.UseVisualStyleBackColor = true; - // - // textBoxChartId - // - this.textBoxChartId.Location = new System.Drawing.Point(115, 8); - this.textBoxChartId.Name = "textBoxChartId"; - this.textBoxChartId.Size = new System.Drawing.Size(100, 20); - this.textBoxChartId.TabIndex = 2; - // - // button38 - // - this.button38.Location = new System.Drawing.Point(12, 39); - this.button38.Name = "button38"; - this.button38.Size = new System.Drawing.Size(84, 23); - this.button38.TabIndex = 1; - this.button38.Text = "ChartRedraw"; - this.button38.UseVisualStyleBackColor = true; - this.button38.Click += new System.EventHandler(this.button38_Click); - // - // button37 - // - this.button37.Location = new System.Drawing.Point(12, 8); - this.button37.Name = "button37"; - this.button37.Size = new System.Drawing.Size(84, 23); - this.button37.TabIndex = 0; - this.button37.Text = "ChartID"; - this.button37.UseVisualStyleBackColor = true; - this.button37.Click += new System.EventHandler(this.button37_Click); - // - // tabPage10 - // - this.tabPage10.Controls.Add(this.button68); - this.tabPage10.Controls.Add(this.comboBox11); - this.tabPage10.Controls.Add(this.button4); - this.tabPage10.Location = new System.Drawing.Point(4, 40); - this.tabPage10.Name = "tabPage10"; - this.tabPage10.Padding = new System.Windows.Forms.Padding(3); - this.tabPage10.Size = new System.Drawing.Size(638, 383); - this.tabPage10.TabIndex = 10; - this.tabPage10.Text = "Object Functions"; - this.tabPage10.UseVisualStyleBackColor = true; - // - // button68 - // - this.button68.Location = new System.Drawing.Point(6, 39); - this.button68.Name = "button68"; - this.button68.Size = new System.Drawing.Size(75, 23); - this.button68.TabIndex = 2; - this.button68.Text = "ObjectName"; - this.button68.UseVisualStyleBackColor = true; - this.button68.Click += new System.EventHandler(this.button68_Click); - // - // comboBox11 - // - this.comboBox11.DropDownStyle = System.Windows.Forms.ComboBoxStyle.DropDownList; - this.comboBox11.FormattingEnabled = true; - this.comboBox11.Location = new System.Drawing.Point(6, 5); - this.comboBox11.Name = "comboBox11"; - this.comboBox11.Size = new System.Drawing.Size(121, 21); - this.comboBox11.TabIndex = 1; - // - // button4 - // - this.button4.Location = new System.Drawing.Point(133, 3); - this.button4.Name = "button4"; - this.button4.Size = new System.Drawing.Size(97, 23); - this.button4.TabIndex = 0; - this.button4.Text = "ObjectCreate"; - this.button4.UseVisualStyleBackColor = true; - this.button4.Click += new System.EventHandler(this.button4_Click); - // - // tabPage11 - // - this.tabPage11.Controls.Add(this.button69); - this.tabPage11.Location = new System.Drawing.Point(4, 40); - this.tabPage11.Name = "tabPage11"; - this.tabPage11.Padding = new System.Windows.Forms.Padding(3); - this.tabPage11.Size = new System.Drawing.Size(638, 383); - this.tabPage11.TabIndex = 11; - this.tabPage11.Text = "Backtesting"; - this.tabPage11.UseVisualStyleBackColor = true; - // - // button69 - // - this.button69.Location = new System.Drawing.Point(6, 6); - this.button69.Name = "button69"; - this.button69.Size = new System.Drawing.Size(75, 23); - this.button69.TabIndex = 4; - this.button69.Text = "UnlockTicks"; - this.button69.UseVisualStyleBackColor = true; - this.button69.Click += new System.EventHandler(this.button69_Click); + tabPage6.Controls.Add(button73); + tabPage6.Controls.Add(textBoxPrint); + tabPage6.Controls.Add(button27); + tabPage6.Controls.Add(button14); + tabPage6.Controls.Add(button13); + tabPage6.Location = new Point(4, 44); + tabPage6.Margin = new Padding(4, 3, 4, 3); + tabPage6.Name = "tabPage6"; + tabPage6.Padding = new Padding(4, 3, 4, 3); + tabPage6.Size = new Size(746, 445); + tabPage6.TabIndex = 6; + tabPage6.Text = "Client Terminal"; + tabPage6.UseVisualStyleBackColor = true; // // button73 // - this.button73.Location = new System.Drawing.Point(13, 74); - this.button73.Name = "button73"; - this.button73.Size = new System.Drawing.Size(75, 23); - this.button73.TabIndex = 4; - this.button73.Text = "TimeGMT"; - this.button73.UseVisualStyleBackColor = true; - this.button73.Click += new System.EventHandler(this.button73_Click); + button73.Location = new Point(15, 85); + button73.Margin = new Padding(4, 3, 4, 3); + button73.Name = "button73"; + button73.Size = new Size(88, 27); + button73.TabIndex = 4; + button73.Text = "TimeGMT"; + button73.UseVisualStyleBackColor = true; + button73.Click += button73_Click; + // + // textBoxPrint + // + textBoxPrint.Location = new Point(15, 125); + textBoxPrint.Margin = new Padding(4, 3, 4, 3); + textBoxPrint.Name = "textBoxPrint"; + textBoxPrint.Size = new Size(450, 23); + textBoxPrint.TabIndex = 3; + // + // button27 + // + button27.Location = new Point(472, 122); + button27.Margin = new Padding(4, 3, 4, 3); + button27.Name = "button27"; + button27.Size = new Size(88, 27); + button27.TabIndex = 2; + button27.Text = "Print"; + button27.UseVisualStyleBackColor = true; + button27.Click += button27_Click; + // + // button14 + // + button14.Location = new Point(15, 52); + button14.Margin = new Padding(4, 3, 4, 3); + button14.Name = "button14"; + button14.Size = new Size(88, 27); + button14.TabIndex = 1; + button14.Text = "TimeLocal"; + button14.UseVisualStyleBackColor = true; + button14.Click += button14_Click; + // + // button13 + // + button13.Location = new Point(15, 18); + button13.Margin = new Padding(4, 3, 4, 3); + button13.Name = "button13"; + button13.Size = new Size(88, 27); + button13.TabIndex = 0; + button13.Text = "TimeCurrent"; + button13.UseVisualStyleBackColor = true; + button13.Click += button13_Click; + // + // tabPage7 + // + tabPage7.Controls.Add(button71); + tabPage7.Controls.Add(button23); + tabPage7.Controls.Add(iCustomBtn); + tabPage7.Location = new Point(4, 44); + tabPage7.Margin = new Padding(4, 3, 4, 3); + tabPage7.Name = "tabPage7"; + tabPage7.Padding = new Padding(4, 3, 4, 3); + tabPage7.Size = new Size(746, 445); + tabPage7.TabIndex = 7; + tabPage7.Text = "Technical Indicators"; + tabPage7.UseVisualStyleBackColor = true; + // + // button71 + // + button71.Location = new Point(7, 74); + button71.Margin = new Padding(4, 3, 4, 3); + button71.Name = "button71"; + button71.Size = new Size(125, 27); + button71.TabIndex = 17; + button71.Text = "iBarShift"; + button71.UseVisualStyleBackColor = true; + button71.Click += button71_Click; + // + // button23 + // + button23.Location = new Point(7, 40); + button23.Margin = new Padding(4, 3, 4, 3); + button23.Name = "button23"; + button23.Size = new Size(125, 27); + button23.TabIndex = 16; + button23.Text = "iCustom (Parabolic)"; + button23.UseVisualStyleBackColor = true; + button23.Click += button23_Click; + // + // iCustomBtn + // + iCustomBtn.Location = new Point(7, 7); + iCustomBtn.Margin = new Padding(4, 3, 4, 3); + iCustomBtn.Name = "iCustomBtn"; + iCustomBtn.Size = new Size(125, 27); + iCustomBtn.TabIndex = 15; + iCustomBtn.Text = "iCustom (ZigZag)"; + iCustomBtn.UseVisualStyleBackColor = true; + iCustomBtn.Click += iCustomBtn_Click; + // + // tabPage8 + // + tabPage8.Controls.Add(listBoxAllSymbols); + tabPage8.Controls.Add(button74); + tabPage8.Controls.Add(checkBox3); + tabPage8.Controls.Add(comboBox4); + tabPage8.Controls.Add(button32); + tabPage8.Controls.Add(button30); + tabPage8.Controls.Add(button29); + tabPage8.Controls.Add(button28); + tabPage8.Controls.Add(label28); + tabPage8.Controls.Add(textBox1); + tabPage8.Location = new Point(4, 44); + tabPage8.Margin = new Padding(4, 3, 4, 3); + tabPage8.Name = "tabPage8"; + tabPage8.Padding = new Padding(4, 3, 4, 3); + tabPage8.Size = new Size(746, 445); + tabPage8.TabIndex = 8; + tabPage8.Text = "Symbols"; + tabPage8.UseVisualStyleBackColor = true; + // + // comboBox4 + // + comboBox4.DropDownStyle = ComboBoxStyle.DropDownList; + comboBox4.FormattingEnabled = true; + comboBox4.Items.AddRange(new object[] { "SYMBOL_SELECT", "SYMBOL_VISIBLE", "SYMBOL_SESSION_DEALS", "SYMBOL_SESSION_BUY_ORDERS", "SYMBOL_SESSION_SELL_ORDERS", "SYMBOL_VOLUME", "SYMBOL_VOLUMEHIGH", "SYMBOL_VOLUMELOW", "SYMBOL_TIME", "SYMBOL_DIGITS", "SYMBOL_SPREAD", "SYMBOL_SPREAD_FLOAT", "SYMBOL_TRADE_CALC_MODE", "SYMBOL_TRADE_MODE", "SYMBOL_START_TIME", "SYMBOL_EXPIRATION_TIME", "SYMBOL_TRADE_STOPS_LEVEL", "SYMBOL_TRADE_FREEZE_LEVEL", "SYMBOL_TRADE_EXEMODE", "SYMBOL_SWAP_MODE", "SYMBOL_SWAP_ROLLOVER3DAYS", "SYMBOL_EXPIRATION_MODE", "SYMBOL_FILLING_MODE", "SYMBOL_ORDER_MODE" }); + comboBox4.Location = new Point(12, 100); + comboBox4.Margin = new Padding(4, 3, 4, 3); + comboBox4.Name = "comboBox4"; + comboBox4.Size = new Size(202, 23); + comboBox4.TabIndex = 3; + // + // button32 + // + button32.Location = new Point(222, 100); + button32.Margin = new Padding(4, 3, 4, 3); + button32.Name = "button32"; + button32.Size = new Size(126, 27); + button32.TabIndex = 2; + button32.Text = "SymbolInfoInteger"; + button32.UseVisualStyleBackColor = true; + button32.Click += button32_Click; + // + // button30 + // + button30.Location = new Point(240, 65); + button30.Margin = new Padding(4, 3, 4, 3); + button30.Name = "button30"; + button30.Size = new Size(107, 27); + button30.TabIndex = 2; + button30.Text = "SymbolSelect"; + button30.UseVisualStyleBackColor = true; + button30.Click += button30_Click; + // + // button29 + // + button29.Location = new Point(126, 65); + button29.Margin = new Padding(4, 3, 4, 3); + button29.Name = "button29"; + button29.Size = new Size(107, 27); + button29.TabIndex = 2; + button29.Text = "SymbolName"; + button29.UseVisualStyleBackColor = true; + button29.Click += button29_Click; + // + // button28 + // + button28.Location = new Point(12, 65); + button28.Margin = new Padding(4, 3, 4, 3); + button28.Name = "button28"; + button28.Size = new Size(107, 27); + button28.TabIndex = 2; + button28.Text = "SymbolsTotal"; + button28.UseVisualStyleBackColor = true; + button28.Click += button28_Click; + // + // label28 + // + label28.AutoSize = true; + label28.Location = new Point(8, 23); + label28.Margin = new Padding(4, 0, 4, 0); + label28.Name = "label28"; + label28.Size = new Size(47, 15); + label28.TabIndex = 1; + label28.Text = "Symbol"; + // + // textBox1 + // + textBox1.Location = new Point(63, 20); + textBox1.Margin = new Padding(4, 3, 4, 3); + textBox1.Name = "textBox1"; + textBox1.Size = new Size(116, 23); + textBox1.TabIndex = 0; + textBox1.Text = "EURUSD"; + // + // tabPage9 + // + tabPage9.Controls.Add(textBoxChartId); + tabPage9.Controls.Add(button38); + tabPage9.Controls.Add(button37); + tabPage9.Location = new Point(4, 44); + tabPage9.Margin = new Padding(4, 3, 4, 3); + tabPage9.Name = "tabPage9"; + tabPage9.Size = new Size(746, 445); + tabPage9.TabIndex = 9; + tabPage9.Text = "Chart Operations"; + tabPage9.UseVisualStyleBackColor = true; + // + // textBoxChartId + // + textBoxChartId.Location = new Point(134, 9); + textBoxChartId.Margin = new Padding(4, 3, 4, 3); + textBoxChartId.Name = "textBoxChartId"; + textBoxChartId.Size = new Size(116, 23); + textBoxChartId.TabIndex = 2; + // + // button38 + // + button38.Location = new Point(14, 45); + button38.Margin = new Padding(4, 3, 4, 3); + button38.Name = "button38"; + button38.Size = new Size(98, 27); + button38.TabIndex = 1; + button38.Text = "ChartRedraw"; + button38.UseVisualStyleBackColor = true; + button38.Click += button38_Click; + // + // button37 + // + button37.Location = new Point(14, 9); + button37.Margin = new Padding(4, 3, 4, 3); + button37.Name = "button37"; + button37.Size = new Size(98, 27); + button37.TabIndex = 0; + button37.Text = "ChartID"; + button37.UseVisualStyleBackColor = true; + button37.Click += button37_Click; + // + // tabPage10 + // + tabPage10.Controls.Add(button68); + tabPage10.Controls.Add(comboBox11); + tabPage10.Controls.Add(button4); + tabPage10.Location = new Point(4, 44); + tabPage10.Margin = new Padding(4, 3, 4, 3); + tabPage10.Name = "tabPage10"; + tabPage10.Padding = new Padding(4, 3, 4, 3); + tabPage10.Size = new Size(746, 445); + tabPage10.TabIndex = 10; + tabPage10.Text = "Object Functions"; + tabPage10.UseVisualStyleBackColor = true; + // + // button68 + // + button68.Location = new Point(7, 45); + button68.Margin = new Padding(4, 3, 4, 3); + button68.Name = "button68"; + button68.Size = new Size(88, 27); + button68.TabIndex = 2; + button68.Text = "ObjectName"; + button68.UseVisualStyleBackColor = true; + button68.Click += button68_Click; + // + // comboBox11 + // + comboBox11.DropDownStyle = ComboBoxStyle.DropDownList; + comboBox11.FormattingEnabled = true; + comboBox11.Location = new Point(7, 6); + comboBox11.Margin = new Padding(4, 3, 4, 3); + comboBox11.Name = "comboBox11"; + comboBox11.Size = new Size(140, 23); + comboBox11.TabIndex = 1; + // + // button4 + // + button4.Location = new Point(155, 3); + button4.Margin = new Padding(4, 3, 4, 3); + button4.Name = "button4"; + button4.Size = new Size(113, 27); + button4.TabIndex = 0; + button4.Text = "ObjectCreate"; + button4.UseVisualStyleBackColor = true; + button4.Click += button4_Click; + // + // tabPage11 + // + tabPage11.Controls.Add(button69); + tabPage11.Location = new Point(4, 44); + tabPage11.Margin = new Padding(4, 3, 4, 3); + tabPage11.Name = "tabPage11"; + tabPage11.Padding = new Padding(4, 3, 4, 3); + tabPage11.Size = new Size(746, 445); + tabPage11.TabIndex = 11; + tabPage11.Text = "Backtesting"; + tabPage11.UseVisualStyleBackColor = true; + // + // button69 + // + button69.Location = new Point(7, 7); + button69.Margin = new Padding(4, 3, 4, 3); + button69.Name = "button69"; + button69.Size = new Size(88, 27); + button69.TabIndex = 4; + button69.Text = "UnlockTicks"; + button69.UseVisualStyleBackColor = true; + button69.Click += button69_Click; + // + // checkBox3 + // + checkBox3.AutoSize = true; + checkBox3.Location = new Point(109, 153); + checkBox3.Name = "checkBox3"; + checkBox3.Size = new Size(70, 19); + checkBox3.TabIndex = 4; + checkBox3.Text = "Selected"; + checkBox3.UseVisualStyleBackColor = true; + // + // button74 + // + button74.Location = new Point(12, 149); + button74.Name = "button74"; + button74.Size = new Size(91, 23); + button74.TabIndex = 5; + button74.Text = "GetSymbols"; + button74.UseVisualStyleBackColor = true; + button74.Click += button74_Click; + // + // listBoxAllSymbols + // + listBoxAllSymbols.FormattingEnabled = true; + listBoxAllSymbols.ItemHeight = 15; + listBoxAllSymbols.Location = new Point(10, 173); + listBoxAllSymbols.Name = "listBoxAllSymbols"; + listBoxAllSymbols.Size = new Size(169, 244); + listBoxAllSymbols.TabIndex = 6; // // Form1 // - this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 13F); - this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font; - this.ClientSize = new System.Drawing.Size(981, 690); - this.ContextMenuStrip = this.contextMenuStrip1; - this.Controls.Add(this.listBoxEventLog); - this.Controls.Add(this.tabControl1); - this.Controls.Add(this.groupBox2); - this.Controls.Add(this.statusStrip1); - this.Controls.Add(this.groupBox1); - this.Name = "Form1"; - this.Text = "Form1"; - this.FormClosing += new System.Windows.Forms.FormClosingEventHandler(this.Form1_FormClosing); - this.groupBox1.ResumeLayout(false); - this.groupBox1.PerformLayout(); - this.statusStrip1.ResumeLayout(false); - this.statusStrip1.PerformLayout(); - this.groupBox2.ResumeLayout(false); - this.groupBox2.PerformLayout(); - this.tabControl1.ResumeLayout(false); - this.tabPage2.ResumeLayout(false); - this.tabPage2.PerformLayout(); - this.groupBox3.ResumeLayout(false); - this.groupBox3.PerformLayout(); - ((System.ComponentModel.ISupportInitialize)(this.numericOrderSlippage)).EndInit(); - this.tabPage1.ResumeLayout(false); - this.tabPage1.PerformLayout(); - this.tabPage3.ResumeLayout(false); - this.tabPage3.PerformLayout(); - this.tabPage4.ResumeLayout(false); - this.tabPage4.PerformLayout(); - this.tabPage5.ResumeLayout(false); - this.tabPage5.PerformLayout(); - ((System.ComponentModel.ISupportInitialize)(this.numericUpDown2)).EndInit(); - ((System.ComponentModel.ISupportInitialize)(this.numericUpDown1)).EndInit(); - this.tabPage6.ResumeLayout(false); - this.tabPage6.PerformLayout(); - this.tabPage7.ResumeLayout(false); - this.tabPage8.ResumeLayout(false); - this.tabPage8.PerformLayout(); - this.tabPage9.ResumeLayout(false); - this.tabPage9.PerformLayout(); - this.tabPage10.ResumeLayout(false); - this.tabPage11.ResumeLayout(false); - this.ResumeLayout(false); - this.PerformLayout(); - + AutoScaleDimensions = new SizeF(7F, 15F); + AutoScaleMode = AutoScaleMode.Font; + ClientSize = new Size(1144, 796); + ContextMenuStrip = contextMenuStrip1; + Controls.Add(listBoxEventLog); + Controls.Add(tabControl1); + Controls.Add(groupBox2); + Controls.Add(statusStrip1); + Controls.Add(groupBox1); + Margin = new Padding(4, 3, 4, 3); + Name = "Form1"; + Text = "Form1"; + FormClosing += Form1_FormClosing; + groupBox1.ResumeLayout(false); + groupBox1.PerformLayout(); + statusStrip1.ResumeLayout(false); + statusStrip1.PerformLayout(); + groupBox2.ResumeLayout(false); + groupBox2.PerformLayout(); + tabControl1.ResumeLayout(false); + tabPage2.ResumeLayout(false); + tabPage2.PerformLayout(); + groupBox3.ResumeLayout(false); + groupBox3.PerformLayout(); + ((System.ComponentModel.ISupportInitialize)numericOrderSlippage).EndInit(); + tabPage1.ResumeLayout(false); + tabPage1.PerformLayout(); + tabPage3.ResumeLayout(false); + tabPage3.PerformLayout(); + tabPage4.ResumeLayout(false); + tabPage4.PerformLayout(); + tabPage5.ResumeLayout(false); + tabPage5.PerformLayout(); + ((System.ComponentModel.ISupportInitialize)numericUpDown2).EndInit(); + ((System.ComponentModel.ISupportInitialize)numericUpDown1).EndInit(); + tabPage6.ResumeLayout(false); + tabPage6.PerformLayout(); + tabPage7.ResumeLayout(false); + tabPage8.ResumeLayout(false); + tabPage8.PerformLayout(); + tabPage9.ResumeLayout(false); + tabPage9.PerformLayout(); + tabPage10.ResumeLayout(false); + tabPage11.ResumeLayout(false); + ResumeLayout(false); + PerformLayout(); } #endregion @@ -2417,6 +2550,9 @@ private System.Windows.Forms.ComboBox comboBox12; private System.Windows.Forms.Button button72; private System.Windows.Forms.Button button73; + private Button button74; + private CheckBox checkBox3; + private ListBox listBoxAllSymbols; } } diff --git a/TestClients/TestApiClientUI/Form1.cs b/TestClients/TestApiClientUI/Form1.cs index a7848e8c..c3ad4aa1 100644 --- a/TestClients/TestApiClientUI/Form1.cs +++ b/TestClients/TestApiClientUI/Form1.cs @@ -8,44 +8,12 @@ using System.Runtime.InteropServices; namespace TestApiClientUI { - class MtLogger : IMtLogger - { - public void Debug(object message) - { - Write("DEBUG", message); - } - - public void Error(object message) - { - Write("ERROR", message); - } - - public void Fatal(object message) - { - Write("FATAL", message); - } - - public void Info(object message) - { - Write("INFO", message); - } - - public void Warn(object message) - { - Write("WARN", message); - } - private void Write(string level, object message) - { - Console.WriteLine($"[{Environment.CurrentManagedThreadId}] [{level}] {message}"); - } - } - public partial class Form1 : Form { #region Fields private readonly List _groupOrderCommands = []; - private readonly MtApiClient _apiClient = new (new MtLogger()); + private readonly MtApiClient _apiClient = new(new MtLogger()); private readonly TimerTradeMonitor _timerTradeMonitor; private readonly TimeframeTradeMonitor _timeframeTradeMonitor; @@ -742,7 +710,7 @@ namespace TestApiClientUI var symbol = textBoxOrderSymbol.Text; - var cmd = (TradeOperation) comboBoxOrderCommand.SelectedIndex; + var cmd = (TradeOperation)comboBoxOrderCommand.SelectedIndex; double volume; double.TryParse(textBoxOrderVolume.Text, out volume); @@ -750,7 +718,7 @@ namespace TestApiClientUI double price; double.TryParse(textBoxOrderPrice.Text, out price); - var slippage = (int) numericOrderSlippage.Value; + var slippage = (int)numericOrderSlippage.Value; double stoploss; double.TryParse(textBoxOrderStoploss.Text, out stoploss); @@ -805,8 +773,8 @@ namespace TestApiClientUI private async void button16_Click(object sender, EventArgs e) { var ticket = int.Parse(textBoxIndexTicket.Text); - var selectMode = (OrderSelectMode) comboBox1.SelectedIndex; - var selectSource = (OrderSelectSource) comboBox2.SelectedIndex; + var selectMode = (OrderSelectMode)comboBox1.SelectedIndex; + var selectSource = (OrderSelectSource)comboBox2.SelectedIndex; var order = await Execute(() => _apiClient.GetOrder(ticket, selectMode, selectSource)); @@ -1544,5 +1512,19 @@ namespace TestApiClientUI PrintLog($"iBarShift result1 = {result1}, time = {time1}"); PrintLog($"iBarShift result2 = {result2}, time = {time2}"); } + + private async void button74_Click(object sender, EventArgs e) + { + listBoxAllSymbols.Items.Clear(); + + var result = await Execute(() => _apiClient.GetSymbols(checkBox3.Checked)); + if (result != null) + { + foreach (string? r in result) + listBoxAllSymbols.Items.Add(r); + } + int count = result != null ? result.Count : 0; + PrintLog($"GetSymbols: {count}"); + } } } diff --git a/TestClients/TestApiClientUI/Form1.resx b/TestClients/TestApiClientUI/Form1.resx index 47bb78b4..22f86102 100755 --- a/TestClients/TestApiClientUI/Form1.resx +++ b/TestClients/TestApiClientUI/Form1.resx @@ -1,17 +1,17 @@  - diff --git a/TestClients/TestApiClientUI/MtLogger.cs b/TestClients/TestApiClientUI/MtLogger.cs new file mode 100755 index 00000000..477da75f --- /dev/null +++ b/TestClients/TestApiClientUI/MtLogger.cs @@ -0,0 +1,36 @@ +using MtApi; + +namespace TestApiClientUI +{ + class MtLogger : IMtLogger + { + public void Debug(object message) + { + Write("DEBUG", message); + } + + public void Error(object message) + { + Write("ERROR", message); + } + + public void Fatal(object message) + { + Write("FATAL", message); + } + + public void Info(object message) + { + Write("INFO", message); + } + + public void Warn(object message) + { + Write("WARN", message); + } + private void Write(string level, object message) + { + Console.WriteLine($"[{Environment.CurrentManagedThreadId}] [{level}] {message}"); + } + } +} diff --git a/mq4/MtApi.ex4 b/mq4/MtApi.ex4 index 30102ab0..89804d3b 100755 Binary files a/mq4/MtApi.ex4 and b/mq4/MtApi.ex4 differ diff --git a/mq4/MtApi.mq4 b/mq4/MtApi.mq4 index 316a69fc..165b66c1 100755 --- a/mq4/MtApi.mq4 +++ b/mq4/MtApi.mq4 @@ -1330,6 +1330,9 @@ int ExecuteCommand() case 290: //GetQuote response = Execute_GetQuote(); break; + case 291: //GetSymbols + response = Execute_GetSymbols(); + break; default: Print("WARNING: Unknown command type = ", command_type); @@ -4187,3 +4190,25 @@ string Execute_GetQuote() MtQuote quote(Symbol(), tick); return CreateSuccessResponse(quote.CreateJson()); } + +string Execute_GetSymbols() +{ + GET_JSON_PAYLOAD(jo); + GET_BOOL_JSON_VALUE(jo, "Selected", selected); + + const int symbolsCount = SymbolsTotal(selected); + JSONArray* jaSymbols = new JSONArray(); + int idx = 0; + for(int idxSymbol = 0; idxSymbol < symbolsCount; idxSymbol++) + { + string symbol = SymbolName(idxSymbol, selected); + string firstChar = StringSubstr(symbol, 0, 1); + if(firstChar != "#" && StringLen(symbol) == 6) + { + jaSymbols.put(idx, new JSONString(symbol)); + idx++; + } + } + + return CreateSuccessResponse(jaSymbols); +} \ No newline at end of file