Compare commits

..

1 Commits

Author SHA1 Message Date
Viacheslav Demydiuk 8317ce9604 MtApi5: fixed issue in iCustom - incorrect name of parameters 2026-07-08 16:59:02 +03:00
2 changed files with 3 additions and 3 deletions
+1 -1
View File
@@ -3,7 +3,7 @@
<TargetFramework>net8.0</TargetFramework>
<ImplicitUsings>enable</ImplicitUsings>
<Nullable>enable</Nullable>
<VersionPrefix>2.0.1</VersionPrefix>
<VersionPrefix>2.0.0</VersionPrefix>
<BaseOutputPath>$(SolutionDir)build\products</BaseOutputPath>
<CopyLocalLockFileAssemblies>true</CopyLocalLockFileAssemblies>
</PropertyGroup>
+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);
}