Roffild's library - page 2

 

Today I tried to publish this library to the MT repository.

From my profile it takes me to https://storage.mql5.com/!/#, but there are a lot of false commits there.

From https://www.metatrader5.com/ru/metaeditor/help/mql5storage/mql5storage_svn_client I found out that the new address is https://storage.mql5.io/repos/, but my login and password don't fit.

And the project structure offered by MetaEditor does not fit my project at all.

Now I understand why there are almost no projects in the MT public repository...

 
 

Examples/ToIndicator_Example.mq5 - example of using the CToIndicator class


 

Roffild library

Docs: MQL5 Java

Installing

(Optional)

mklink /j link where - does not require admin rights.

It makes sense to put the %APPDATA%\MetaQuotes folder in the root of a partition or on a larger partition. Windows has a 255 character file path limit. I have a full path to MQL5 folder containing 88 characters. When testing, the terminal copies the history by the number of local agents, which increases the size of this folder by several Gbytes.

  1. Move folder %APPDATA%\MetaQuotes to D:\MQLProjects
  2. mklink /j %APPDATA%\MetaQuotes D:\MQLProjects
  3. mklink /j D:\MQLProjects\Terminal\D0E8209F77C8CF37AD8BF550E51FF075\MQL5\ D:\MQLProjects\MQL5

(Important)

Run create_links.bat from MQL5\MyProjects\RoffildLibrary folder after cloning the project.

Code style

Google Java Style

Tab = 3 spaces

Column limit = 110

License

Apache License 2.0

 
?? What to open this with:

README_en.md

 
Renat Akhtyamov:
?? How to open this:

README_en.md

https://www.azfiles.ru/extension/markdown.html

MARKDOWN — формат файла. Чем открыть MARKDOWN?
MARKDOWN — формат файла. Чем открыть MARKDOWN?
  • www.azfiles.ru
Текстовый файл, создаваемый при помощи одного из нескольких возможных диалектов языка Markdown. Использует обычное текстовое форматирование, но содержит встроенные текстовые символы, которые определяют, каким образом форматировать текст (например, *bold* для полужирного текста, или другую разметку для курсива, отступов, заголовков и так далее...
 
what tasks are solved by this product?
 
Mickey Moose:
What tasks can be solved with the help of this product?

There is no specific task. All parts of this library are involved to a varying degree in the development of the Experts. It is possible to separate each file into a separate library, but I do not see the sense in it.

One task = one file.

 
Roffild:

Examples/ToIndicator_Example.mq5 - Example of CToIndicator class usage

This indicator is:

(high + low)/2

I don't see the point in sorting out this library, especially since it didn't work on the first try

 
Renat Akhtyamov:

The indicator is this:

(high + low)/2

I don't see the point in dealing with this library, especially since it didn't work on the first run

Why should I make up something complicated?

The example demonstrates not the indicator but the possibility to display the information from the Expert Advisor as an indicator without the need to create external code.

If ToIndicator_Example.mq5 didn't work, then the code in the Indicators\Roffild folder must not have been built when the terminal was launched. The log would be helpful.

Of course, we are all used to creating everything from scratch, so no one wants to learn new libraries, but in today's world using third-party code is common practice...