some questions for MQL4

To add comments, please log in or register
Fa Cao
1141
Fa Cao  

I have two questions about MQL4 as below:

1. what is the difference between "Expert Advisors" and "Scripts" in MQL4. I mean that I write a unit of program code--"x",when I put "x" in "start()" of Expert Advisor, the code work well; but when I put it in "start()" of Scripts, it never works, and MT4 complain that "can't call function". so why it is?

2. How shall I review the primary code for MQL4's functions, such as OrderClose(), OrderSend(), and so on.

Thank you very much. 

Simon Gniadkowski
17274
Simon Gniadkowski  
vx0532:

I have two questions about MQL4 as below:

1. what is the difference between "Expert Advisors" and "Scripts" in MQL4. I mean that I write a unit of program code--"x",when I put "x" in "start()" of Expert Advisor, the code work well; but when I put it in "start()" of Scripts, it never works, and MT4 complain that "can't call function". so why it is?

2. How shall I review the primary code for MQL4's functions, such as OrderClose(), OrderSend(), and so on.

Read the Book,  it's in there:  https://book.mql4.com/basics/programms
To add comments, please log in or register