Discussion of article "Creating an EA that works automatically (Part 10): Automation (II)"

 

New article Creating an EA that works automatically (Part 10): Automation (II) has been published:

Automation means nothing if you cannot control its schedule. No worker can be efficient working 24 hours a day. However, many believe that an automated system should operate 24 hours a day. But it is always good to have means to set a working time range for the EA. In this article, we will consider how to properly set such a time range.

In the vast majority of cases, this will be a much more common fact than it may seem. So, we can do something a little better, something that allows us to stay in the middle ground. The MetaTrader 5 platform allows us to save and load the desired settings from the file. So, you would only have to create a configuration for a given period. For example, you can have a configuration to be used in the morning, and another for the afternoon. To block the EA by the time control system, for example, when the trader is going to rest a little, the trader can upload a settings file directly to the MetaTrader 5 platform, and the configuration will be maintained by the platform itself. This in my view is of great help, as it saves us the trouble of creating additional configuration files just for this purpose.

Figure 03

Author: Daniel Jose

 


Congratulations Daniel,


Another excellent article.

Your codes are very well done.

 
Guilherme Mendonca #:


Congratulations, Daniel,


Another excellent article.

Your codes are very well done.

Thanks for the compliment, 😁👍. I hope the explanations are satisfactory, since the idea of the articles is to teach you how to use the MQL5 language in a more advanced way, and not to say that you can't do certain things. But thanks for the compliment and for following the articles... And get ready, there's going to be a lot of lead in the next series of articles ... it's going to be a deluge in terms of complications, I'm going to start slowly, but the ruler will rise quickly ... and many will drown ... 🤣😂😁👍

 

Good evening dear!

After a few video courses on MQL5 programming and a lot of reading of the documentation, I'm on article two of the series. I've seen that it's very complete. I hope you get all the best for your typing efforts. The practical explanation of poo will do me a lot of good. Now at 01:46 on 29/12/2022 I'm going to continue learning. I hope to come back here soon with the strategies ready!

 
filipetagli MQL5 programming and a lot of reading of the documentation, I'm on article two of the series. I've seen that it's very complete. I hope you get all the best for your typing efforts. The practical explanation of poo will do me a lot of good. Now at 01:46 on 29/12/2022 I'm going to continue learning. I hope to come back here soon with the strategies ready!

Thanks for the FEEDBACK ... 😁👍

 

Hello Daniel,

Well, first of all I would like to congratulate you on your excellent work.

I haven't seen anything so well detailed and especially not with the focus of just doing something but doing the best,

always trying to update every detail for a better functioning, it doesn't matter if it works but in the best way you visualised at that moment.

all organised with object orientation. I really think it's great. Congratulations and may you receive in double all that you have given us in tools and knowledge.


i came across your articles yesterday, lol i've been reading them non-stop i was going to try them out but i wanted to use the tool on a daily basis. i want to do each one to see how it works and assimilate each item.

but when I got to article 31 of Developing a trading EA from scratch I thought it was over and I saw that another one had started. my question is if it's a sequence? or is it another one.

i know a bit about .net programming but nothing about mql. i started looking and i was lucky enough to find your articles.


my question is very simple and layman. when i compile the code it will already put all the folders in the locations. or should i already put this folder in a specific place.

could you help me with this? or show me an article that could help me with this.

anyway i would like to thank you very much for the knowledge i am learning from you.


Anderson

Desenvolvendo um EA de negociação do zero (Parte 29): Plataforma falante
Desenvolvendo um EA de negociação do zero (Parte 29): Plataforma falante
  • www.mql5.com
Neste artigo vamos aprender como fazer a plataforma MT5 falar. Que tal deixar o EA mais divertido? Operar mercados financeiros costuma ser uma atividade extremamente chata e monótona, mas podemos deixar as coisas um pouco menos monótonas, apesar de que isto pode ser perigoso caso você tenha algum problema que lhe faça ficar viciado, pode ser que a coisa fique um pouco menos chata.
 
napalermo #:

Hello, Daniel,

Well, first of all I'd like to congratulate you on your excellent work.

I haven't seen anything so well detailed and especially not with the focus of just doing something but of doing the best,

always trying to update every detail to make it work better, it doesn't matter if it works, but in the best way you visualised at the time.

everything organised with object orientation. I really think it's great. Congratulations and may you get back everything you've given us in tools and knowledge.


I came across your articles yesterday, lol I've been reading them non-stop, I was going to try them out but I wanted to use the tool on a daily basis. I want to come and do each one to see it in practice and assimilate each item.

but when i got to article 31 of Developing a trading EA from scratch i thought it was over and i saw another one had started. my question is if it's a sequence? or is it another one.

I know a bit about .net programming but nothing about mql. I started looking and was lucky enough to find your articles.


my question is very simple and layman. when I compile the code it will already put all the folders in place. or should I already put this folder in a specific place.

could you help me with this? or show me an article that could help me with this.

anyway i would like to thank you very much for the knowledge i am learning from you.


Anderson

Since you have knowledge of .NET programming, things will be much simpler. Well, if you use C/C++ in .NET programming, since it's not just C/C++ 😁👍 ... But in the articles where I provide the source code in the attachment, you just have to unzip the attachment in the MQL5 directory, and the files will be placed in their proper places. As for compilation, doing this via MetaEditor is much simpler, as you don't need to configure all the things that are normally necessary when using a Compiler or LinkEditor. Here the executable will always be generated in the folder where the MQL file is located, while the MQH files will follow the same rules as C/C++, i.e. you can place them anywhere, but for organisation's sake, it's preferable to leave them next to other header files, or next to the main MQL file, you're free to do as you wish 😁👍.

The articles before this 100% automatic EA sequence are another sequence. There the focus is on showing you how to create a VISUAL system of orders and positions, as well as how to access indicators and build indicators ... Very basic and simple stuff...👍

Now a detail: I'm doing another sequence of articles, the content of which is much more advanced and complex. At some point I'll stop putting the source codes in the appendix and they'll be placed in the middle of the article. In this case, you'll need to know C/C++ programming in order to be able to compile the code and modify it. I'm doing this because the next sequence is much more complicated and involves using things that are not aimed at the end user, but at programmers. However, even if you don't have any knowledge of C/C++, you won't have to worry, as I'll be making the compiled code available from time to time, ready to use 😁👍.

PS: Thanks for the FEEDBACK ...

 

Thank you very much, I'm going to follow the ones that are already here.

and seeing these TapeReading indicators made me very curious.

people used to say that you couldn't get real volume like on the b3 platforms.

I'm going to test it here.

and there's a lot of study material..lol

Let's study.

 
napalermo #:

Thank you very much, I'll follow those who are already here.

and seeing these TapeReading indicators made me very curious.

people used to say that you couldn't get real volume like on the b3 platforms.

i'm going to test it here.

and there's plenty of study material...lol

Let's study.

Although B3 provides two types of volume, some platforms create a third. B3 only tells us the volume traded, don't confuse this with financial volume, as they are totally different things, although they are correlated. And also the tick volume, which indicates the number of trades executed in a given period of time. This type of thing will be better understood in the next sequence of articles that I'll be posting soon. Other platforms create a third type of volume, which is financial volume, but financial volume is nothing more than taking the volume traded and multiplying it by the value of each trade, something trivial. So MetaTrader 5 doesn't include this volume in its indicators ... Although there is a discrepancy in the Times & Trade between MetaTrader and other platforms such as Profit Chart, this discrepancy is due to the type of information that other platforms use, since MetaTrader 5 ignores the information regarding the house of origin. This information is provided by B3, but the structure of MetaTrader 5 ignores it because it's of no use to traders, so some platforms merge some of the data, which creates the discrepancies in the information in Times & Trade, but in general terms the basic information remains the same, so it can be used to trade ... 😁👍

 
Ok thank you very much
 
Is this using the local time of the computer? Does it still have to be converted to the server time shown on the trading charts in order to correspond to the trading charts?
This website uses cookies. Learn more about our Cookies Policy.