Forum

New MetaTrader 4 build? build 1126?

Hello dear fellow traders and coders, good day/night. I created this post because i turned on my pc today and opened my MT4 to continue working in some projects and it asked me to update, wierd at first but i did. afterwards i found out this: Did they update MT4? If yes, how do i find out the new

Access the MT5 calendar?

First of all good day/night fellow traders and forum members. The question I have come upon today is the following: Is there a way to access the MT5 calendar and its values to use in either an EA or Indicator or Script? Not only this weeks data but previous months too. For example access today 2

Error 532 MetaQuotes VPS

First of all, good day/night der fellow forum mebers. The problem I have is the one stated on this topics title. It all began yesterday after a client tried to upload a new version of an EA i wrote for him, he told me that he constantly recieved this error so I uploaded the same EA into a VPS I

Help porting this little piece of code to mql5

Hello everyone and thanks in advance. My problem is the following, in MQL4 I can use the following code: double priceopen = OrderOpenPrice (); MqlDateTime time; TimeToStruct ( OrderOpenTime (),time); int candle = time.hour; double atr = iATR ( _Symbol , _Period ,candle, 0 ); Once I have the atr

NormalizeDouble not "working"

Hi this is my first post in this incredible forum and today I need help with something that I believe is rather simple but is turning a pain in the a**. So my problem is that the function NormalizeDouble(value,digits)= [value: a certain price, and digits= _Digits] is returning me numbers that