Reractored functions GetOrder and GetOrders in MQL part.

This commit is contained in:
DW
2016-05-12 17:42:13 +03:00
parent b8e6b1a973
commit ed5d6d9fb5
4 changed files with 126 additions and 76 deletions
-9
View File
@@ -1010,15 +1010,6 @@ namespace MtApi
public double iCustom(string symbol, int timeframe, string name, double[] parameters, int mode, int shift)
{
//var commandParameters = new ArrayList { symbol, timeframe, name };
//int arraySize = parameters != null ? parameters.Length : 0;
//commandParameters.Add(arraySize);
//commandParameters.AddRange(parameters);
//commandParameters.Add(mode);
//commandParameters.Add(shift);
//return SendCommand<double>(MtCommandType.iCustom_d, commandParameters);
var response = SendRequest<ICustomResponse>(new ICustomRequest
{
Symbol = symbol,