ภาษา MQL4 คืออะไร

ภาษา MQL4 หรือ ภาษาเมตาโควต 4 (The MetaQuotes Language 4) เป็นภาษาคอมพิวเตอร์ระดับสูงที่มนุษย์สามารถเข้าใจได้ง่าย เป็นภาษาเชิงวัตถุ (Object Oriented) มีโครงสร้างมาจากภาษา C++ ดังนั้นจึงสามารถใช้งานร่วมกับ Dynamic Link Library (DLL) ภายใต้ระบบปฏิบัติการ Windows ได้อย่างง่ายดาย ตัวภาษาถูกออกแบบโดยบริษัท MQL5 Ltd. มี Build-in functions อำนวยความสะดวกในการใช้งาน และมีเอกสารที่อธิบายเข้าใจง่าย

Official Download: https://www.metatrader4.com/en/download IDE & Compiler: MetaEditor (Only PC) Platform Runtime: MetaTrader 4

โปรแกรม MetaTrader 4 (MT4) สามารถดาวน์โหลดได้จากทางเว็บไซต์ผู้พัฒนาโดยตรง แต่จะไม่ได้ถูกเพิ่ม Broker Server มาให้ใช้งาน ดังนั้นเพื่อความสะดวกแนะนำให้ดาวน์โหลดจากทาง Broker ที่ได้เปิดบัญชีไว้ จะมี List ของ Server แนบมาให้พร้อมใช้งาน

MQL4 ถูกออกแบบมาให้ทำงานเฉพาะด้าน ใช้สำหรับออกแบบกลยุทธ์การเทรดอัตโนมัติ ที่ทำงานภายใต้โปรแกรมเทรดของ MetaTrader 4 (MT4) ไม่สามารถเป็น Standalone ทำงานได้โดยปราศจาก MetaTrader Platform ไม่ว่าจะเป็นการเขียน Indicator, Expert Advisor (EA), Script คำสั่ง หรือแม้แต่การทำกราฟิกแสดงผลบนกราฟแสดงราคาต่าง ๆ ใช้ได้กับสินค้าทุกประเภทที่มีอยู่ใน MT4 เช่น Forex, CFD รวมถึงโลหะมีค่า

***ในปัจจุบันการเขียนโปรแกรม MQL4 เพื่อทำงานบน MetaTrader 4 นั้นได้รับการรองรับเฉพาะบน PC เท่านั้น ไม่สามารถใช้งานบน on mobile (iOS, Android) หรือ on web ได้

The MetaQuotes Language 4 (MQL4) is an object-oriented high-level programming language intended for writing automated trading strategies, custom technical indicators for the analysis of various financial markets. It allows not only to write a variety of expert systems, designed to operate in real time, but also create their own graphical tools to help you make trade decisions. https://docs.mql4.com/basis
MQL4 is based on the concept of the popular programming language C++. The language has enumerations, structures, classes and event handling. By increasing the number of embedded main types, the interaction of executable programs in MQL4 with other applications through dll is now as easy as possible. MQL4 syntax is similar to the syntax of C++, and this makes it easy to translate into it programs from modern programming languages. https://docs.mql4.com/basis

Message us