Forum

EMA with alert

Hi all, new to MQL4. I would like to build a simple 50 EMA that send out an email to me when price closed below or above it. Can anyone can give me some codes to start with? Thank in advance

Newbie / Learning - # and ;

Hi all, I'm very new to MQL4 and have no C or C++ knowledge. I do know a fair bit of VBA. I have 2 questions on MQL4: 1) What is # used for? I saw some examples and it seemed like comments to me. Is it the same as //? 2) Does all codes in MQL4 ends with ;? (semicolon). Thanks in advance