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 |
@@ -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