diff --git a/Include/AZ-INVEST/SDK/CommonSettings.mqh b/Include/AZ-INVEST/SDK/CommonSettings.mqh index fa716a2..f96ecc5 100644 Binary files a/Include/AZ-INVEST/SDK/CommonSettings.mqh and b/Include/AZ-INVEST/SDK/CommonSettings.mqh differ diff --git a/Include/AZ-INVEST/SDK/CustomChartInputs.mqh b/Include/AZ-INVEST/SDK/CustomChartInputs.mqh index a62e9f6..b96e006 100644 Binary files a/Include/AZ-INVEST/SDK/CustomChartInputs.mqh and b/Include/AZ-INVEST/SDK/CustomChartInputs.mqh differ diff --git a/Include/AZ-INVEST/SDK/CustomChartSettingsBase.mqh b/Include/AZ-INVEST/SDK/CustomChartSettingsBase.mqh index ac03852..8357e91 100644 Binary files a/Include/AZ-INVEST/SDK/CustomChartSettingsBase.mqh and b/Include/AZ-INVEST/SDK/CustomChartSettingsBase.mqh differ diff --git a/Include/AZ-INVEST/SDK/ICustomChartSettings.mqh b/Include/AZ-INVEST/SDK/ICustomChartSettings.mqh index 40e6bcf..8175664 100644 Binary files a/Include/AZ-INVEST/SDK/ICustomChartSettings.mqh and b/Include/AZ-INVEST/SDK/ICustomChartSettings.mqh differ diff --git a/Include/AZ-INVEST/SDK/Normailze.mqh b/Include/AZ-INVEST/SDK/Normailze.mqh index b4239bc..1a7b284 100644 --- a/Include/AZ-INVEST/SDK/Normailze.mqh +++ b/Include/AZ-INVEST/SDK/Normailze.mqh @@ -10,7 +10,8 @@ double NormalizeLots(string symbol, double InputLots) { double lotsMin = SymbolInfoDouble(symbol,SYMBOL_VOLUME_MIN); double lotsMax = SymbolInfoDouble(symbol,SYMBOL_VOLUME_MAX); - int lotsDigits = (int) - MathLog10(SymbolInfoDouble(symbol, SYMBOL_VOLUME_STEP)); +// int lotsDigits = (int) - MathLog10(SymbolInfoDouble(symbol, SYMBOL_VOLUME_STEP)); + int lotsDigits = (int)MathAbs(MathLog10(SymbolInfoDouble(symbol, SYMBOL_VOLUME_STEP))); if(InputLots < lotsMin) InputLots = lotsMin;