mirror of
https://github.com/vdemydiuk/mtapi.git
synced 2026-08-18 21:28:10 +00:00
Implemented functions ChartId, ChartRedraw, ChartWindowFind, ChartClose (MT5)
This commit is contained in:
@@ -1516,6 +1516,7 @@ namespace MtApi5
|
||||
///<summary>
|
||||
///This function calls a forced redrawing of a specified chart.
|
||||
///</summary>
|
||||
///<param name="chartId">Chart ID. 0 means the current chart.</param>
|
||||
public void ChartRedraw(long chartId = 0)
|
||||
{
|
||||
var commandParameters = new ArrayList { chartId };
|
||||
@@ -1660,7 +1661,7 @@ namespace MtApi5
|
||||
///<returns>
|
||||
///If successful, returns true, otherwise false.
|
||||
///</returns>
|
||||
public bool ChartClose(long chartId)
|
||||
public bool ChartClose(long chartId = 0)
|
||||
{
|
||||
var commandParameters = new ArrayList { chartId };
|
||||
return SendCommand<bool>(Mt5CommandType.ChartClose, commandParameters);
|
||||
|
||||
Reference in New Issue
Block a user