mirror of
https://github.com/vdemydiuk/mtapi.git
synced 2026-08-14 03:08:07 +00:00
Added function CopyRates. Implemented Backtesting
This commit is contained in:
+182
-2
@@ -114,6 +114,19 @@
|
||||
this.button5 = new System.Windows.Forms.Button();
|
||||
this.listBoxMarketInfo = new System.Windows.Forms.ListBox();
|
||||
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();
|
||||
@@ -131,6 +144,8 @@
|
||||
this.tabPage7 = new System.Windows.Forms.TabPage();
|
||||
this.button23 = new System.Windows.Forms.Button();
|
||||
this.iCustomBtn = new System.Windows.Forms.Button();
|
||||
this.button27 = new System.Windows.Forms.Button();
|
||||
this.textBoxPrint = new System.Windows.Forms.TextBox();
|
||||
this.groupBox1.SuspendLayout();
|
||||
this.statusStrip1.SuspendLayout();
|
||||
this.groupBox2.SuspendLayout();
|
||||
@@ -142,6 +157,8 @@
|
||||
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.SuspendLayout();
|
||||
@@ -1082,6 +1099,19 @@
|
||||
//
|
||||
// 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);
|
||||
@@ -1101,6 +1131,118 @@
|
||||
this.tabPage5.Text = "Timeframes";
|
||||
this.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;
|
||||
//
|
||||
// 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;
|
||||
//
|
||||
// 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";
|
||||
//
|
||||
// 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;
|
||||
//
|
||||
// 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;
|
||||
//
|
||||
// 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";
|
||||
//
|
||||
// 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";
|
||||
//
|
||||
// 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";
|
||||
//
|
||||
// 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;
|
||||
//
|
||||
// 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";
|
||||
//
|
||||
// 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);
|
||||
//
|
||||
// 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);
|
||||
//
|
||||
// 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);
|
||||
//
|
||||
// button12
|
||||
//
|
||||
this.button12.Location = new System.Drawing.Point(141, 201);
|
||||
@@ -1171,7 +1313,7 @@
|
||||
// label26
|
||||
//
|
||||
this.label26.AutoSize = true;
|
||||
this.label26.Location = new System.Drawing.Point(142, 22);
|
||||
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;
|
||||
@@ -1179,10 +1321,11 @@
|
||||
//
|
||||
// textBoxSelectedSymbol
|
||||
//
|
||||
this.textBoxSelectedSymbol.Location = new System.Drawing.Point(195, 16);
|
||||
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";
|
||||
//
|
||||
// button6
|
||||
//
|
||||
@@ -1204,6 +1347,8 @@
|
||||
//
|
||||
// tabPage6
|
||||
//
|
||||
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, 22);
|
||||
@@ -1266,6 +1411,23 @@
|
||||
this.iCustomBtn.UseVisualStyleBackColor = true;
|
||||
this.iCustomBtn.Click += new System.EventHandler(this.iCustomBtn_Click);
|
||||
//
|
||||
// button27
|
||||
//
|
||||
this.button27.Location = new System.Drawing.Point(601, 16);
|
||||
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);
|
||||
//
|
||||
// textBoxPrint
|
||||
//
|
||||
this.textBoxPrint.Location = new System.Drawing.Point(209, 16);
|
||||
this.textBoxPrint.Name = "textBoxPrint";
|
||||
this.textBoxPrint.Size = new System.Drawing.Size(386, 20);
|
||||
this.textBoxPrint.TabIndex = 3;
|
||||
//
|
||||
// Form1
|
||||
//
|
||||
this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 13F);
|
||||
@@ -1299,7 +1461,10 @@
|
||||
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.ResumeLayout(false);
|
||||
this.PerformLayout();
|
||||
@@ -1410,6 +1575,21 @@
|
||||
private System.Windows.Forms.TabPage tabPage7;
|
||||
private System.Windows.Forms.Button iCustomBtn;
|
||||
private System.Windows.Forms.Button button23;
|
||||
private System.Windows.Forms.Button button24;
|
||||
private System.Windows.Forms.Label label4;
|
||||
private System.Windows.Forms.ComboBox comboBox3;
|
||||
private System.Windows.Forms.Label label5;
|
||||
private System.Windows.Forms.Label label6;
|
||||
private System.Windows.Forms.NumericUpDown numericUpDown1;
|
||||
private System.Windows.Forms.DateTimePicker dateTimePicker1;
|
||||
private System.Windows.Forms.NumericUpDown numericUpDown2;
|
||||
private System.Windows.Forms.Label label7;
|
||||
private System.Windows.Forms.DateTimePicker dateTimePicker2;
|
||||
private System.Windows.Forms.Label label27;
|
||||
private System.Windows.Forms.Button button26;
|
||||
private System.Windows.Forms.Button button25;
|
||||
private System.Windows.Forms.Button button27;
|
||||
private System.Windows.Forms.TextBox textBoxPrint;
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user