Forum

MT5 slower than MT4?

Hello everybody, I have an Expert Advisor that is written in MQL4 and MQL5. Metatrader 5 needs more CPU-Power than Metatrader 4, same EA. (More = way way way more power) I thought Metatrader 5 is much better than Metatrader 4? I do not know what I am doing wrong. Has someone an idea what are the

Shutdown by timeout deinitialization

I deinitialize my expert advisior then the MT4 gets a timeout. -> Abnormal termination The Initialize works fine but the deinitialize not. I use Classes in Arrays and the arrays are global. Could this be a problem? Thank you EDIT: I know the problem. I have long loops. How can I break up loops when

How to write a dll for MT4?

Hello everyone, I do not know how to write a dll for mt4? When I write a DLL in C# and export it for 32bit or 64bit it do not work. C# Code: using System; using System.Net; using System.IO; using System.Runtime.InteropServices; namespace ClassLibrary1 { public class Class1 { public