Forum

I need an array of all the pairs available

I'm working on a project that loops through an array of all available pairs. Currently I hardcode this, but this is obviously not good programming practice. Is there a way to do this dynamically? Thanks, Mango

Newbie - Can't use MessageBox or PlaySound?

Apologies for the newbie question. I've worked as a programmer for years but am just now learning MQL4. I'm having trouble using MessageBox and PlaySound. My EA looks like this: int start() { Print("Error number ",GetLastError()); MessageBox("Testing"); Print("Error number ",GetLastError());