บทที่ 1 พื้นฐานของภาษา MQL4


The MetaQuotes Language 4 (MQL4) เป็นภาษาที่ใช้สำหรับเขียนระบบเทรด (EA), custom technical indicators ไว้วิเคราะห์ตลาด และกราฟฟิกต่างๆ บนหน้าจอ MT4 ซึ่งลักษณะการเขียน หรือ syntax จะคล้ายกับภาษา C++

Data Types

ในการเขียนโปรแกรมสิ่งที่จำเป็นอย่างหนึ่งคือการระบุประเภทข้อมูล หรือเรียกว่าตัวแปร ตัวอย่างเช่น ข้อมูลที่เป็นตัวเลข เราจะระบุให้เป็น integers, ข้อมูลที่เป็นตัวอักษรเราจะระบุให้เป็น strings เป็นต้น

อ่านต่อ
    Blogger Comment
    Facebook Comment
/*Remarketing tags may not be associated with personally identifiable information or placed on pages related to sensitive categories. See more information and instructions on how to setup the tag on: http://google.com/ads/remarketingsetup*/