Download MetaTrader 5

Trouble Converting

To add comments, please log in or register
Brian Lillard
Brian Lillard  

my code is in mt4 format with

Ask - undeclared identifier

Bid - undeclared identifier

OP_BUY - undeclared identifier

OP_SELL - undeclared identifier

boolean return TRUE or True of FALSE or False - undeclared identifier

RefreshRates - function not defined

AccountEquity - function not defined

MarketInfo or MODE_MINLOT or MODE_MAXLOT - function not defined

OrderSend - wrong parameters count

IsTradeContextBusy - function not defined

MODE_TRADES - undeclared identifier

OrderSelect - wrong parameters count

OrderOpenPrice - function not defined

OrderModify - function not defined

Alain Verleyen
Alain Verleyen

Migrating from MQL4 to MQL5
Migrating from MQL4 to MQL5
  • 2010.05.17
  • Sergey Pavlov
This article is a quick guide to MQL4 language functions, it will help you to migrate your programs from MQL4 to MQL5. For each MQL4 function (except trading functions) the description and MQL5 implementation are presented, it allows you to reduce the conversion time significantly. For convenience, the MQL4 functions are divided into groups, similar to MQL4 Reference.
To add comments, please log in or register