mirror of
https://github.com/vdemydiuk/mtapi.git
synced 2026-08-20 14:18:22 +00:00
Merge branch 'master' into dev
This commit is contained in:
@@ -2664,7 +2664,7 @@ namespace MtApi5
|
|||||||
{
|
{
|
||||||
Dictionary<string, object> cmdParams = new() { { "Symbol", symbol ?? string.Empty }, { "Period", (int)period },
|
Dictionary<string, object> cmdParams = new() { { "Symbol", symbol ?? string.Empty }, { "Period", (int)period },
|
||||||
{ "FastMaPeriod", fastMaPeriod }, { "SlowMaPeriod", slowMaPeriod},
|
{ "FastMaPeriod", fastMaPeriod }, { "SlowMaPeriod", slowMaPeriod},
|
||||||
{ "MaMethod", (int)maMethod }, { "appliedVolume", (int)appliedVolume } };
|
{ "MaMethod", (int)maMethod }, { "AppliedVolume", (int)appliedVolume } };
|
||||||
return SendCommand<int>(ExecutorHandle, Mt5CommandType.iChaikin, cmdParams);
|
return SendCommand<int>(ExecutorHandle, Mt5CommandType.iChaikin, cmdParams);
|
||||||
}
|
}
|
||||||
|
|
||||||
@@ -2730,14 +2730,14 @@ namespace MtApi5
|
|||||||
}
|
}
|
||||||
|
|
||||||
///<summary>
|
///<summary>
|
||||||
///The function returns the handle of the Force Index indicator.
|
///The function returns the handle of the Fractals indicator.
|
||||||
///</summary>
|
///</summary>
|
||||||
///<param name="symbol">The symbol name of the security, the data of which should be used to calculate the indicator.</param>
|
///<param name="symbol">The symbol name of the security, the data of which should be used to calculate the indicator.</param>
|
||||||
///<param name="period">The value of the period can be one of the ENUM_TIMEFRAMES enumeration values, 0 means the current timeframe.</param>
|
///<param name="period">The value of the period can be one of the ENUM_TIMEFRAMES enumeration values, 0 means the current timeframe.</param>
|
||||||
public int iForce(string symbol, ENUM_TIMEFRAMES period)
|
public int iFractals(string symbol, ENUM_TIMEFRAMES period)
|
||||||
{
|
{
|
||||||
Dictionary<string, object> cmdParams = new() { { "Symbol", symbol ?? string.Empty }, { "Period", (int)period } };
|
Dictionary<string, object> cmdParams = new() { { "Symbol", symbol ?? string.Empty }, { "Period", (int)period } };
|
||||||
return SendCommand<int>(ExecutorHandle, Mt5CommandType.iForce, cmdParams);
|
return SendCommand<int>(ExecutorHandle, Mt5CommandType.iFractals, cmdParams);
|
||||||
}
|
}
|
||||||
|
|
||||||
///<summary>
|
///<summary>
|
||||||
|
|||||||
Reference in New Issue
Block a user