Display MessageBox

 

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