Added command to UnlockTick in backtesting mode that will be locked on each candle. It allows to perform big tasks and send commands to MT4 in time of candle.

This commit is contained in:
DW
2017-05-05 14:16:15 +03:00
parent ca49d23017
commit 50013c0c29
4 changed files with 12 additions and 1 deletions
+9
View File
@@ -2186,6 +2186,15 @@ namespace MtApi
#endregion
#region Backtesting functions
public void UnlockTicks()
{
SendCommand<object>(MtCommandType.UnlockTicks, null);
}
#endregion
#region Private Methods
private MtClient Client
{
+3 -1
View File
@@ -227,6 +227,8 @@
ObjectSet = 231,
ObjectSetFiboDescription = 232,
ObjectSetText = 233,
ObjectType = 234
ObjectType = 234,
UnlockTicks = 235
}
}
BIN
View File
Binary file not shown.
BIN
View File
Binary file not shown.