mirror of
https://github.com/vdemydiuk/mtapi.git
synced 2026-07-30 20:17:46 +00:00
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:
@@ -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
|
||||
{
|
||||
|
||||
@@ -227,6 +227,8 @@
|
||||
ObjectSet = 231,
|
||||
ObjectSetFiboDescription = 232,
|
||||
ObjectSetText = 233,
|
||||
ObjectType = 234
|
||||
ObjectType = 234,
|
||||
|
||||
UnlockTicks = 235
|
||||
}
|
||||
}
|
||||
|
||||
Binary file not shown.
Binary file not shown.
Reference in New Issue
Block a user