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!

 
blackkettle:

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!

All import information is here, whether from compiled MQL5 modules or dynamic link libraries.

https://www.mql5.com/en/docs/basis/preprosessor/import

 
Anthony Garot:

All import information is here, whether from compiled MQL5 modules or dynamic link libraries.

https://www.mql5.com/en/docs/basis/preprosessor/import

Thank you very much, Anthony.

What I want to do here is to integrate some machine learning libraries to MT4/MT5. 

I prefer those ones that are built up from C++. One example is the shark machine learning library.

However, I found out that the shark is built into .lib file, which is a static link library other than dll.

If MT4/MT5 could not import .lib file, I would have to find other ways to overcome the problem.

I am still digging into the good solution for machine learning in MT4/MT5.

I knew someone suggested MT4R to use R for machine learning in MT4/MT5. 

Someone gave a solution to integrate Python to MT4/MT5 which is also workable.

I wish someone could enlighten me on the c++ machine learning framework integration on MT4/MT5.

Thank you very much!

Reason: