diff --git a/MtApi5/MtApi5Client.cs b/MtApi5/MtApi5Client.cs index b75bd2a0..a448d9bc 100755 --- a/MtApi5/MtApi5Client.cs +++ b/MtApi5/MtApi5Client.cs @@ -3110,8 +3110,8 @@ namespace MtApi5 public int iCustom(string symbol, ENUM_TIMEFRAMES period, string name, int[] parameters) { Dictionary 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(ExecutorHandle, Mt5CommandType.iCustom, cmdParams); }