Allow the use of cookies to log in to the MQL5.com website.
Please enable the necessary setting in your browser, otherwise you will not be able to log in.
You are signed in. Two-factor authentication has been disabled. Set it up again and scan a new QR code, or continue with two-factor authentication disabled.
Hi there,
I have been experimenting with coding in mq4 and my purpose is to trigger a messagebox if a particular condition is true.
This is the code I am struggling with....
First in the global section I have declared the messagebox variable...
int MessageBox(
string text,
string caption,
int flags
);
code...
more code ....
Then I try to call the function if a condition is met..
if(ExtTenkanBuffer[i]==ExtKijunBuffer[i])
MessageBox("Check Chart", "Test", 0);
The compiler throws an error as attached...
Please advise.
Thx