mirror of
https://github.com/vdemydiuk/mtapi.git
synced 2026-08-19 05:38:12 +00:00
Issue #21: Added function Print to MtApi (MT5)
This commit is contained in:
@@ -108,6 +108,8 @@ namespace MtApi5
|
||||
|
||||
//Backtesting
|
||||
BacktestingReady = 66,
|
||||
IsTesting = 67
|
||||
IsTesting = 67,
|
||||
|
||||
Print = 68
|
||||
}
|
||||
}
|
||||
|
||||
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user