Forum

CopyBuffer returns -1 for long periods of built-in MAs

Hey guys, long time since I've been on here.... English is not my native language, so I'm sorry in advance if my phrasing aren't clear enough. I've encountered some weird issue today with following built-in MAs- DEMA, TEMA, FrAMA. It seems that whenever I try to set a long period on them, I can't

How does static variables 'behaves' inside a loop

Hey guys, I am away from my personal computer for a few days, so I can't test it myself, and I couldn't find an answer online, But suddenly it occurred to me that perhaps I have a logical bug in a code I've written. My question is- How does a static variable 'behaves' inside a loop? Consider the

How to prevent MT5 from updating?

Hey guys, As the title say- I need help on how can I prevent MetaTrader 5 from updating? I am running MetaTrader 5 terminal from a VPS running ubuntu, using WINE, and, currently, the latest version is known to crash on startup on setups such as mine. I've blocked both

Help- Strategy Tester Agent not utilizing all of the cores

Hi guys, I want to set up a Local Network Farm for EA optimization. I've downloaded and installed the Strategy Tester Agent on 2 machines- 1) AMD A10-7850K with 16GB of RAM, Windows 7 x64 2) AMD Ryzen 3 2200G with 16GB of RAM, Windows 10 x64 Both of the above CPUs have 4 cores, However- When running

Question regarding Local Network Farm

Hey guys, I am considering starting a Local Network Farm in my workplace after work hours, to take advantage of the computing power while its not in use. My question is- Does the strategy tester know how to start using a Local Network Agent that became available after the optimization started? In

"Loading" specific sets of optimized results for further optimization

Hey guys, First, as I'm not an native English speaker, I will do my best to explain what I'm trying to achieve. In short- I want to take only specific results from previous optimization, And only run those sets on different time period. In long- (The dates and number of sets given below are just for

Need help figuring out how to use Moving Average on buffer in mql5

Hey guys, I'm busting my head a couple of days on this issue, And I couldn't find the answer wherever I looked, So I would really appreciate any input you have. Basically I try to replicate to functionality of mql4's iMAOnArray in mql5 I have tried using both MetaQuotes' built-in function of

Suggestions- Making signals archive, instead of deleting them

Hey guys, I'm unable to find how I can contact MQL staff to make this suggestions so I'm posting it here, Hoping that the staff will see it, And also to hear what you guys think about it. BTW- using the 'Contacts and Requests' page on the bottom, only allow me to contact support for very few

mt4setup.exe is actually an installation of MetaTrader5

Hey guys, On www.metatrader.com website, when clicking on 'Download MetaTrader 4' button, It downloads a file called 'mt4setup.exe', But it actually installs MetaTrader 5 on your system. I didn't find any 'Contact Us' page on the website, So I'm posting here. The download link is-

Strategy Tester OnTick is missing a lot of ticks

Hi, I've recently encountered unexpected results when testing my EA on MT4's Strategy Tester . After a little investigation, I've suspected that OnTick() function does not actually get called on every tick, So I've created a new, very simple 'EA'. The only thing in this EA is this line of code under