Forum

Not updating global data?

Hi all, I am still working on an EA that I am translating from MQL4 to MQL5. But I keep getting the same issue. So the goal is when an order gets executed (is a position) I play a different sound. I use text to speech instead of the standard alerts MT5 brings. The code itself runs well. The trading

MQL5 Indicators

Hey guys, I am reprogramming my MQL4 code to MQL5. I do have a question about the indicator change. So in MQL4 it simply looks something like: void OnTick() { double movingAverage = iMA ( NULL ,PERIOD_CURRENT,13, 0 , MODE_EMA , PRICE_CLOSE , 0 ); } So the variable gets updated every tick. But in

FileMove...

Hi all, I am new to this programming language. I just can't find out WHY MT4 doesn't find the folder under the FileMove Function ... I am missing something here... The goal is to send an attachment to an email.. However the standard function SendMail doesn't provide that... So I want to upload it to