How to make a simple Buy order send in MQL5

 

I want to migrate from mql4 to 5 . In mql4 my simple ordersend is  this

OrderSend(Symbol(),OP_BUY,1000,Bid,3,0,0,"Buy",22222,0,Blue);

which only Volume and Bid price is important for me, no Stop loss , No take profit ,no.... .

how could i creat it in MQL5 ?

Thanks

 

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: