Forum

how to solve unexpected token error in alglibinternal.mqh library?

when i compile the "alglibinternal.mqh" library i confront following errors: How should I change the code? why I receive this error? 'Copy' - unexpected token, probably type is missing? alglibinternal.mqh 107 10 'Copy' - function already defined and has different type alglibinternal.mqh

How to define limit value of this indicator in order to reduce cpu usage?

The problem is that this indicator is working properly by itself, but when i call it from a script for multiple symbols, after script ended cpu usage keeps high around 95% so that I should restart Terminal to run MT5 again. I have used profiling and found that there should be something wrong about

Importing C# DLL into MQL5 script

I want to import my dll program written in VS C# which runs OK, into mql5 script . Here is what i have done. but after compiling in mql5 I get following the error: Cannot find 'Program' in 'Keygen.dll' unresolved import function call Would you help me how to do the binding? using System; using

getting Metaquote ID by coding

We know that Metaquote ID is unique to our mobile device. We are able to receive push notifications of trade activities on mobile app. And this ID should be get from mobile installation and entered in terminal's Options menu. What I am looking for is getting this ID using mql5 coding and putting it

How to get cmd.exe response as string in mql5?

Dear All I want to get cmd.exe response to get some machine id from it and using in my mql5 code #import "shell32.dll" int ShellExecuteW( int hwnd, string operation, string file, string parameters, string directory, int showCmd); #import void OnStart () { string strParameters = "wmic csproduct get