Skip to content

Commit

Permalink
Merge pull request #1 from jamessab/fix_bid_ask
Browse files Browse the repository at this point in the history
Fix the Bid and Ask
  • Loading branch information
eromawyn authored Jan 11, 2022
2 parents 7465dce + 08f6bba commit 96e0305
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions MQL5/Include/mql4compat.mqh
Original file line number Diff line number Diff line change
Expand Up @@ -430,9 +430,9 @@ double MarketInfo(string symbol, int type)
case MODE_TIME:
return((double) SymbolInfoInteger(symbol,SYMBOL_TIME));
case MODE_BID:
return(Bid);
return (SymbolInfoDouble(symbol, SYMBOL_BID));
case MODE_ASK:
return(Ask);
return(SymbolInfoDouble(symbol, SYMBOL_ASK));
case MODE_POINT:
return(SymbolInfoDouble(symbol,SYMBOL_POINT));
case MODE_DIGITS:
Expand Down

0 comments on commit 96e0305

Please sign in to comment.