From 5686ea9528f7cf0e45e4a6493b87a4f73f10a348 Mon Sep 17 00:00:00 2001 From: kenorb Date: Fri, 21 Jun 2019 00:01:29 +0100 Subject: [PATCH] Fixes warning 181: implicit conversion from 'number' to 'string' --- tests/TestLotstep.mq4 | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/TestLotstep.mq4 b/tests/TestLotstep.mq4 index 1f9d40d1..47c57003 100644 --- a/tests/TestLotstep.mq4 +++ b/tests/TestLotstep.mq4 @@ -31,7 +31,7 @@ int OnInit() { long symbol_spread = SymbolInfoInteger(_Symbol, SYMBOL_SPREAD); int real_spread = (int)MathRound((Ask - Bid) * MathPow(10, Digits)); - double lot_step = SymbolInfoDouble(_symbol, SYMBOL_VOLUME_STEP); // Same as: MarketInfo(symbol, MODE_LOTSTEP); + double lot_step = SymbolInfoDouble(_Symbol, SYMBOL_VOLUME_STEP); // Same as: MarketInfo(symbol, MODE_LOTSTEP); Print("Testing lot step..."); PrintFormat("Symbol digits : %g", Digits); PrintFormat("Lot step : %g", lot_step);