mirror of
https://github.com/vdemydiuk/mtapi.git
synced 2026-08-18 05:08:11 +00:00
Issue #246: fixed type of parameter 'Deviation' in functions iBands, iBandsOnArray (MT4)
This commit is contained in:
@@ -1137,7 +1137,7 @@ namespace MtApi
|
||||
return SendCommand<double>(ExecutorHandle, MtCommandType.iBearsPower, cmdParams);
|
||||
}
|
||||
|
||||
public double iBands(string symbol, int timeframe, int period, int deviation, int bandsShift, int appliedPrice, int mode, int shift)
|
||||
public double iBands(string symbol, int timeframe, int period, double deviation, int bandsShift, int appliedPrice, int mode, int shift)
|
||||
{
|
||||
Dictionary<string, object> cmdParams = new() { { "Symbol", symbol },
|
||||
{ "Timeframe", timeframe }, { "Period", period },
|
||||
@@ -1147,7 +1147,7 @@ namespace MtApi
|
||||
return SendCommand<double>(ExecutorHandle, MtCommandType.iBands, cmdParams);
|
||||
}
|
||||
|
||||
public double iBandsOnArray(double[] array, int total, int period, int deviation, int bandsShift, int mode, int shift)
|
||||
public double iBandsOnArray(double[] array, int total, int period, double deviation, int bandsShift, int mode, int shift)
|
||||
{
|
||||
Dictionary<string, object> cmdParams = new() { { "Total", total },
|
||||
{ "Period", period }, { "Deviation", deviation },
|
||||
|
||||
Reference in New Issue
Block a user