Forum

How could I import static link library in EA of MT4/MT5? Thanks a lot!

I already know how to import dynamic link library in EA of MT4/MT5. But I still do not know how to import static link library in EA. Could anyone here give me some example? Thank you very much

How to use Shark machine learning library in MT4 or MT5? Many thanks!

Hello, everyone, I was wondering whether someone here could enlighten me how to integrate Shark machine learning library in MT4/MT5. If there could be any demo or examples, I would be very appreciate it. Thank you very much

Is there anyway to assign a shortcut key to a user-defined function?

Excuse me, I met a problem and wish you experts could give me a hand. I have made a user-defined function , and I want to assign a shortcut key, for example, alt + space to it. Whenever I press alt+space, the function would be called. Is it possible? Thank you so much

Is there anything of string type which is similar to global variable ?

Excuse me, I am dealing with global variables and met a problem. I need something similar to global variable, but I want it to be string type. As we know, the global variable could only be numeric. Thank you so much

Is there any way to detect the global variables have been updated?

Excuse me, everyone. I met a problem when dealing with the global variables. I wish you could give me a hand. I defined a global variable using GlobalVariableSet("userinput_01", 0); I wish EA could detect whether the global variable has been updated or not. I mean, even if the user has entered the

Is it possible to make a user-defined array function? Thank you so much!

Excuse me, I was wondering whether anyone superior here could enlighten me. Is it possible to make a user-defined array function ? If it could be done, we must be able to transfer the array name as a parameter to the function. Could someone give me an example? Thank you so much

How to solve the problem that the demo account becomes out of date?

Excuse me, everyone. I have written a few EAs and want to test them on the demo accounts . The problem is that after one month I applied for the demo account, the account itself becomes out of date. However, I still wish the tests could go on. Now I have to check each demo account one by one

How to re-init EA after internet connection is lost and reestablished? Many Thanks!

Hello, everyone, I have met a problem when coding EA and I was wondering whether you could be kind enough to enlighten me. The internet connection to the server here is sometimes lost and reestablished automatically. The following is my understanding of EA working when internet is lost and

A problem of CPU usage 100% caused by simple while(IsStopped()==false) ?

Hello, everyone, I met a problem while coding in MT4. It is just a simple script that caused the CPU occupied at 100% percent. I was wondering whether you would be kind enough to enlighten me what is going wrong. Thank you so much