mirror of
https://github.com/vdemydiuk/mtapi.git
synced 2026-07-30 20:17:46 +00:00
Compare commits
1 Commits
| Author | SHA1 | Date | |
|---|---|---|---|
| 8317ce9604 |
@@ -3,7 +3,7 @@
|
|||||||
<TargetFramework>net8.0</TargetFramework>
|
<TargetFramework>net8.0</TargetFramework>
|
||||||
<ImplicitUsings>enable</ImplicitUsings>
|
<ImplicitUsings>enable</ImplicitUsings>
|
||||||
<Nullable>enable</Nullable>
|
<Nullable>enable</Nullable>
|
||||||
<VersionPrefix>2.0.1</VersionPrefix>
|
<VersionPrefix>2.0.0</VersionPrefix>
|
||||||
<BaseOutputPath>$(SolutionDir)build\products</BaseOutputPath>
|
<BaseOutputPath>$(SolutionDir)build\products</BaseOutputPath>
|
||||||
<CopyLocalLockFileAssemblies>true</CopyLocalLockFileAssemblies>
|
<CopyLocalLockFileAssemblies>true</CopyLocalLockFileAssemblies>
|
||||||
</PropertyGroup>
|
</PropertyGroup>
|
||||||
|
|||||||
@@ -3110,8 +3110,8 @@ namespace MtApi5
|
|||||||
public int iCustom(string symbol, ENUM_TIMEFRAMES period, string name, int[] parameters)
|
public int iCustom(string symbol, ENUM_TIMEFRAMES period, string name, int[] parameters)
|
||||||
{
|
{
|
||||||
Dictionary<string, object> cmdParams = new() { { "Symbol", symbol ?? string.Empty },
|
Dictionary<string, object> cmdParams = new() { { "Symbol", symbol ?? string.Empty },
|
||||||
{ "Timeframe", (int)period }, { "Name", name ?? string.Empty }, { "Parameters", parameters },
|
{ "Timeframe", (int)period }, { "Name", name ?? string.Empty }, { "Params", parameters },
|
||||||
{ "Params", ParametersType.Int } };
|
{ "ParamsType", ParametersType.Int } };
|
||||||
return SendCommand<int>(ExecutorHandle, Mt5CommandType.iCustom, cmdParams);
|
return SendCommand<int>(ExecutorHandle, Mt5CommandType.iCustom, cmdParams);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user