Forum

Wrong MQL syntax?

I defined a generic interface and I want to use it in another class. I can't figure out what is wrong with this code: #property strict template < typename T> interface IGenericHandler { bool Handle(T &item); }; #define DOES_NOT_WORK class GenericHandler { public : #ifdef DOES_NOT_WORK

How to debug a .NET DLL imported in EA

Hi, I have this .NET DLL that I made, called TradingSystem.dll, and I import it into an expert advisor in MT5 running on Windows 10 x64. The EA code looks like this: #import "TradingSystem.dll" void TS_Initialize(); #import int OnInit() { TS_Initialize(); return(INIT_SUCCEEDED); } The .NET