Trouble Converting

 

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

 

https://www.mql5.com/en/articles/81

Migrating from MQL4 to MQL5
Migrating from MQL4 to MQL5
  • 2010.05.17
  • Sergey Pavlov
  • www.mql5.com
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.
Reason: