Discussing the article: "How to publish code to CodeBase: A practical guide"

 

Check out the new article: How to publish code to CodeBase: A practical guide.

In this article, we will use real-life examples to illustrate posting various types of terminal programs in the MQL5 source code base.

To publish your code in CodeBase, you only need to follow a few simple steps and adhere to these simple rules:

  • before publishing, tidy up the codes by creating neat formatting (Ctrl + , in the editor);
  • comment on key decisions in the program logic;
  • prepare images up to 750x500 pixels in size that explain how your program works;
  • come up with a good, concise description of the program and its settings and parameters.

This way, your code will be understandable both for others and for yourself if you return to it in, say, six months. It is much easier to support and improve such projects.


If you are publishing an EA, it is worth checking it in advance using the checklist in the article "The checks a trading robot must pass before publication in the Market". This will eliminate typical errors and make the code more professional.


Author: Artyom Trishkin

 

https://www.mql5.com/en/articles/19441#node02

To publish your code in CodeBase you need to follow just a few simple steps, adhering to simple rules:

  • prepare images up to 750x500 pixels in size, explaining the workings of your programme;

How relevant is this requirement/rule concerning the maximum image size?

Random posting from recent. Gif image with a height greater than 500 pixels, autoplay works even.


 

If my code uses other author's plug-in libraries, why doesn't the site hook them up? For example @fxsaber has a lot of useful libraries that I used too.

It worked before. And the libraries were checked.

Now it doesn't. And I cannot even update my code. I have to post the latest version in the forum. Example https://www.mql5.com/ru/forum/460016/page10#comment_58475640

The check will pass if I upload someone else's code to myself. But is that right? I can't maintain and update someone else's code. I can't keep track of its updates and update it to my uploads. I can't answer questions about how it works.

What should I do in such a case?

Библиотеки: MT4Orders QuickReport
Библиотеки: MT4Orders QuickReport
  • 2025.02.25
  • www.mql5.com
Статьи и техническая библиотека по автоматическому трейдингу: Библиотеки: MT4Orders QuickReport
 
Vladislav Boyko #:
How relevant is this requirement/rule regarding maximum image size?

You can see if it is up to date during the publishing process.


Text guidelines: