MtApi5: fixed issue in iCustom - incorrect name of parameters

This commit is contained in:
Viacheslav Demydiuk
2026-07-08 16:59:02 +03:00
parent 3699b73cf7
commit 8317ce9604
+2 -2
View File
@@ -3110,8 +3110,8 @@ namespace MtApi5
public int iCustom(string symbol, ENUM_TIMEFRAMES period, string name, int[] parameters)
{
Dictionary<string, object> cmdParams = new() { { "Symbol", symbol ?? string.Empty },
{ "Timeframe", (int)period }, { "Name", name ?? string.Empty }, { "Parameters", parameters },
{ "Params", ParametersType.Int } };
{ "Timeframe", (int)period }, { "Name", name ?? string.Empty }, { "Params", parameters },
{ "ParamsType", ParametersType.Int } };
return SendCommand<int>(ExecutorHandle, Mt5CommandType.iCustom, cmdParams);
}