From c7b8956c9916e5ec18fcffdc3a45203b3b0c1c21 Mon Sep 17 00:00:00 2001 From: Viacheslav Demydiuk Date: Mon, 28 Jul 2025 22:51:35 +0300 Subject: [PATCH 1/3] MtApi5: fixed typo in function iChaikin --- MtApi5/MtApi5Client.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/MtApi5/MtApi5Client.cs b/MtApi5/MtApi5Client.cs index fae82223..eb27bde5 100755 --- a/MtApi5/MtApi5Client.cs +++ b/MtApi5/MtApi5Client.cs @@ -2644,7 +2644,7 @@ namespace MtApi5 { Dictionary cmdParams = new() { { "Symbol", symbol ?? string.Empty }, { "Period", (int)period }, { "FastMaPeriod", fastMaPeriod }, { "SlowMaPeriod", slowMaPeriod}, - { "MaMethod", (int)maMethod }, { "appliedVolume", (int)appliedVolume } }; + { "MaMethod", (int)maMethod }, { "AppliedVolume", (int)appliedVolume } }; return SendCommand(ExecutorHandle, Mt5CommandType.iChaikin, cmdParams); } From ff871e5e06d67efcd538107a83d5f22a3865055b Mon Sep 17 00:00:00 2001 From: Viacheslav Demydiuk Date: Mon, 28 Jul 2025 22:57:46 +0300 Subject: [PATCH 2/3] MtApi5: implement function iFractals instead of mistake function iForce --- MtApi5/MtApi5Client.cs | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/MtApi5/MtApi5Client.cs b/MtApi5/MtApi5Client.cs index eb27bde5..667ad424 100755 --- a/MtApi5/MtApi5Client.cs +++ b/MtApi5/MtApi5Client.cs @@ -2710,14 +2710,14 @@ namespace MtApi5 } /// - ///The function returns the handle of the Force Index indicator. + ///The function returns the handle of the Fractals indicator. /// ///The symbol name of the security, the data of which should be used to calculate the indicator. ///The value of the period can be one of the ENUM_TIMEFRAMES enumeration values, 0 means the current timeframe. - public int iForce(string symbol, ENUM_TIMEFRAMES period) + public int iFractals(string symbol, ENUM_TIMEFRAMES period) { Dictionary cmdParams = new() { { "Symbol", symbol ?? string.Empty }, { "Period", (int)period } }; - return SendCommand(ExecutorHandle, Mt5CommandType.iForce, cmdParams); + return SendCommand(ExecutorHandle, Mt5CommandType.iFractals, cmdParams); } /// From 6c1cb92f1be284afc90f2c7c05e73eb60ad61179 Mon Sep 17 00:00:00 2001 From: Viacheslav Demydiuk Date: Mon, 28 Jul 2025 23:12:21 +0300 Subject: [PATCH 3/3] MtApi5: fixed typo in function iStochastic --- MtApi5/MtApi5Client.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/MtApi5/MtApi5Client.cs b/MtApi5/MtApi5Client.cs index 667ad424..d44d5f2b 100755 --- a/MtApi5/MtApi5Client.cs +++ b/MtApi5/MtApi5Client.cs @@ -2949,7 +2949,7 @@ namespace MtApi5 { Dictionary cmdParams = new() { { "Symbol", symbol ?? string.Empty }, { "Period", (int)period }, { "Kperiod", Kperiod }, { "Dperiod", Dperiod }, { "Slowing", slowing }, - { "MaMethod", (int)maMethod }, { "priceField", (int)priceField } }; + { "MaMethod", (int)maMethod }, { "PriceField", (int)priceField } }; return SendCommand(ExecutorHandle, Mt5CommandType.iStochastic, cmdParams); }