Download MetaTrader 5

In the market, how do you add a *.mqh file as a library, its asking for *.ex4? Please advise.

To add comments, please log in or register
Publish your article. Millions of traders are looking for good ideas!
Michael Sarikas
3441
Michael Sarikas 2014.08.25 12:16 
Can we sell *.mqh files in the marketplace?
Stanislav Korotky
17923
Stanislav Korotky 2014.08.25 12:39  
skeezwiz:
Can we sell *.mqh files in the marketplace?
If it's a selfcontained mqh, just include it in a mq4-stub with #property library, and compile.
Alain Verleyen
Moderator
30737
Alain Verleyen 2014.08.25 13:08  
skeezwiz:
Can we sell *.mqh files in the marketplace?
See this article
Promote Your Development Projects Using EX5 Libraries
Promote Your Development Projects Using EX5 Libraries
  • 2012.02.20
  • o_O
  • www.mql5.com
Hiding of the implementation details of classes/functions in an .ex5 file will enable you to share your know-how algorithms with other developers, set up common projects and promote them in the Web. And while the MetaQuotes team spares no effort to bring about the possibility of direct inheritance of ex5 library classes, we are going to implement it right now.
Michael Sarikas
3441
Michael Sarikas 2014.08.25 15:06  
angevoyageur:
See this article

I already have the #property library and marked the functions as "export", but we cannot have the #import "library.ex5" command when posting to the market.

Why cant we post the .mqh files in the market? 

Stanislav Korotky
17923
Stanislav Korotky 2014.08.25 15:11  
skeezwiz:

I already have the #property library and marked the functions as "export", but we cannot have the #import "library.ex5" command when posting to the market.

Why cant we post the .mqh files in the market? 

mqh-file is a description of open API (interface) of your library. Consider it as documentation. After you publish a library as ex4 or ex5 file, a customer can import it in his/her program.
Michael Sarikas
3441
Michael Sarikas 2014.08.25 16:02  
marketeer:
mqh-file is a description of open API (interface) of your library. Consider it as documentation. After you publish a library as ex4 or ex5 file, a customer can import it in his/her program.
I have now used the ex4 style library instead of mqh and after some changes managed to get it on the market, thx.
To add comments, please log in or register