mirror of
https://github.com/vdemydiuk/mtapi.git
synced 2026-08-15 11:48:09 +00:00
Added function CopyRates. Implemented Backtesting
This commit is contained in:
+27
-10
@@ -1,14 +1,5 @@
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.Linq;
|
||||
using System.Text;
|
||||
|
||||
namespace MtApi
|
||||
namespace MtApi
|
||||
{
|
||||
class MtTypes
|
||||
{
|
||||
}
|
||||
|
||||
public enum ENUM_TERMINAL_INFO_STRING
|
||||
{
|
||||
TERMINAL_LANGUAGE = 13,
|
||||
@@ -27,4 +18,30 @@ namespace MtApi
|
||||
SYMBOL_DESCRIPTION = 20,
|
||||
SYMBOL_PATH = 21
|
||||
}
|
||||
|
||||
public enum ENUM_TIMEFRAMES
|
||||
{
|
||||
PERIOD_CURRENT = 0,
|
||||
PERIOD_M1 = 1,
|
||||
PERIOD_M2 = 2,
|
||||
PERIOD_M3 = 3,
|
||||
PERIOD_M4 = 4,
|
||||
PERIOD_M5 = 5,
|
||||
PERIOD_M6 = 6,
|
||||
PERIOD_M10 = 10,
|
||||
PERIOD_M12 = 12,
|
||||
PERIOD_M15 = 15,
|
||||
PERIOD_M20 = 20,
|
||||
PERIOD_M30 = 30,
|
||||
PERIOD_H1 = 60,
|
||||
PERIOD_H2 = 120,
|
||||
PERIOD_H3 = 180,
|
||||
PERIOD_H4 = 240,
|
||||
PERIOD_H6 = 360,
|
||||
PERIOD_H8 = 480,
|
||||
PERIOD_H12 = 720,
|
||||
PERIOD_D1 = 1440,
|
||||
PERIOD_W1 = 10080,
|
||||
PERIOD_MN1 = 43200
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user