You are missing trading opportunities:
- Free trading apps
- Over 8,000 signals for copying
- Economic news for exploring financial markets
Registration
Log in
You agree to website policy and terms of use
If you do not have an account, please register
Here, I've learned the syntax of the language. I'm learning the constructor as an example. I see a class call. The logic is cut off for me from here. What should I do? Search for articles? Is it better to implement with standard means or write my own classes?
MQL5 - This is the resource with the most detailed description of documentation. There is a huge amount of information in the articles, on the forum and in KodoBase. Nowhere else in the world you will find such a detailed description.
All you need is the will to understand it all.
MQL5 - This is the resource with the most detailed description of documentation. There is a huge amount of information in the articles, forum and KodoBase. You won't find it anywhere else where it is explained in such detail.
You just need the will to grasp it all.
Here's a specific question. We have CExpertSignal with AddFilter function. For example, we have a spread there. How do I make it if I cannot see the example. What exactly should I do? Well, I will try to guess it now.
CExpert ExtExpert; ExtExpert.InitSignal(signal); signal.AddFilter(filter0); filer0.Spread(20);
Compilation without errors. Have I written it correctly? Now trades will not be concluded if spread exceeds 20? And what should I do in such a case? What can read?
Here's a specific question. There is a CExpertSignal with AddFilter in it, but the help doesn't say anything about AddFilter functions. There is a spread, for example. How do I write it, if I can't see the example. What exactly should I do? Well, I will try to guess it now.
Compilation without errors. Have I written it correctly? Now trades will not be concluded if spread exceeds 20? And what should I do in such a case? What should I read?
Read:MQL4/MQL5 Wizard
Assignment:
Here's a specific question. There is a CExpertSignal with AddFilter in it, but the help doesn't say anything about AddFilter functions. For example, there is a spread. How do I write it, if I can't see the example. What exactly should I do? Well, I will try to guess it now.
Compilation without errors. Have I written it correctly? Now trades will not be concluded if spread exceeds 20? And what should I do in such a case? What should I read?
It seems to me that here is an attempt to immediately start writing adult topics without basic knowledge. That's not how it works. First they learn the alphabet, then they learn to write in block letters and little by little they get to essays, and then you need talent. So it's the same without basic knowledge trying to understand automatically generated code... Not the best way to bang your head against the wall.
Hello. Can you please tell me what is the market entry signal of this EA and where it is located in the code?
You have to use a debugger to deal with such issues.
When a tick comes, the OnTick() function is called. It is where all the processing takes place, the signals are identified if necessary, and trading actions are performed if necessary.
As you can see, in this function the ExtExpert. Everything happens within this function, there is nothing else in the code.
Accordingly, you put a breakpoint at it and run the Expert Advisor in the debugger. As soon as the first tick comes, the breakpoint triggers and you stop the code in this position. And then you move through the code step by step, figuring out why and what actions are performed.