Exercise 1
Question 1
What are the kinds of programs you can write in MQL4?
1-
2-
3-
………………………………………………………………………………………………
Question 2
Which sentences of the following are false, and why?
1- Expert Advisor is a program which enables you to use the functions of the technical indicators and it cannot automate your deals.
(true/false)
Why:
2- The source file of the code you write in MQL4 is saved as “.mqh” file, while the “.mq4” is the extension of the MQL4 header files which you can include into your code as need.
(true/false)
Why:
3- Metalang.exe is the compiler shipped with MQL4, its job is taking the source code you’ve written in MQL4 and produce a “.ex4” file which you can load it in MetaTrader.
(true/false)
Why:
………………………………………………………………………………………………
Question 3
You have decided not to use MetaEditor and you used Notepad to write your MQL4 code, tell me the steps needed to compile your program.
Assume:
A-You have installed MetaTrader in “C:\Program Files\MetaTrader 4” path.
B-You have saved your source code file as “my_first_mql4_script.mq4” at the same path of MetaTrader.
.
|