Discussion of article "Developing a trading Expert Advisor from scratch (Part 10): Accessing custom indicators"

 

New article Developing a trading Expert Advisor from scratch (Part 10): Accessing custom indicators has been published:

How to access custom indicators directly in an Expert Advisor? A trading EA can be truly useful only if it can use custom indicators; otherwise, it is just a set of codes and instructions.

The highlighted parts are those that we have added to the clean code. The result is as follows:


Why did it work? This is because MQL5 provides means to read and write data between systems. One of the ways to read is to use the CopyBuffer function. It works like below:

Author: Daniel Jose

 
Interesting and in many ways informative article. The information in this article can help to make automatic trading more stable. To develop the topic, I can offer you to write an article on how to include a trading Expert Advisor and an indicator into one executable file while compiling an Expert Advisor. I think many traders will like this article. This will allow to use only one executable file in trading.
 
Volodymyr Helei escreva um artigo sobre como incluir um especialista em negociação e um indicador em um arquivo executável durante a elaboração de um consultor. Eu acho que muitos comerciantes vão gostar deste artigo. Isso pode permitir que uma negociação use apenas um arquivo executável.

Sugestão anotada ... 😁👍

 
When writing a new article, please pay attention to this discussion on the forum about the speed of the indicator included in the executable file of the trading Expert Advisor https://www.mql5.com/ru/forum/357579/page6#comment_21310421. I think that in your article you will be able to organise and summarize all possible problems and offer their solutions. There is still no article covering this topic on the forum. It will be much easier for new users to get full information on this problem.
Новая версия платформы MetaTrader 4 build 1320
Новая версия платформы MetaTrader 4 build 1320
  • 2021.03.11
  • www.mql5.com
В четверг 10 декабря 2020 года будет выпущено обновление MetaTrader 4. В нем исправлен ряд ошибок и повышена стабильность работы платформы...
 
This is some kind of nonsense, as if no one has not read and studied the code? There in the indicator, at the very beginning of the article, the author writes this :
VWAP_Buff[c0] = Price / Volume;

where:

ulong           Volume = 0;

How to understand this? When did we allow division by zero? It's going to go all the way to the same place from here.... You don't have to read it.)


 
Run on stock instruments where Volume != 0