Issue #21: Added function Print to MtApi (MT5)

This commit is contained in:
vdemydiuk
2016-10-21 17:52:54 +03:00
parent 094cdcc448
commit 05452e3b90
6 changed files with 78 additions and 12 deletions
+3 -1
View File
@@ -108,6 +108,8 @@ namespace MtApi5
//Backtesting
BacktestingReady = 66,
IsTesting = 67
IsTesting = 67,
Print = 68
}
}
+13
View File
@@ -1392,6 +1392,19 @@ namespace MtApi5
#endregion
#region Common Functions
///<summary>
///It enters a message in the Expert Advisor log.
///</summary>
///<param name="message">Symbol name.</param>
public bool Print(string message)
{
var commandParameters = new ArrayList { message };
return SendCommand<bool>(Mt5CommandType.Print, commandParameters);
}
#endregion
#endregion
#region Properties