mirror of
https://github.com/vdemydiuk/mtapi.git
synced 2026-07-30 12:07:51 +00:00
Compare commits
1 Commits
| Author | SHA1 | Date | |
|---|---|---|---|
| 8317ce9604 |
@@ -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>
|
||||
|
||||
@@ -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);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user