Errors, bugs, questions - page 2841

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
Did you read my post carefully and? I purposely did not complicate the code with different normalisations and checks. I always do that in my EAs. You see that in the code there are attempts to open an order without SL and TP? I specifically registered such attempts, but they didn't work. The purpose of this EA is not to open orders as it should be but to make attempts to at least make some errors and it seems to be 0 attempts here.
Please don't litter the thread. There is an article on how to publish your EA on the market. All it says is the minimum requirements. The rest is just your ignorance of the subject. Above rightly said - it's early days.
Did you read my post carefully and? I purposely did not complicate the code with different normalisations and checks. I always do that in my EAs. You see that in the code there are attempts to open an order without SL and TP? I specifically registered such attempts, but they didn't work. The purpose of this EA is not to open orders as it should be but to make attempts to at least make some errors and it seems to be 0 attempts in this case.
The purpose of market validator is not to let such codesthrough without check... Otherwise, the market would be flooded with low-quality codes...
Code doesn't pass validation? Read this message. It doesn't pass again ? Read it again...
It's not about the lot, I would put any lot, and normalise the lot, and there would be errors, but here it doesn't swear at anything, except that there are no trades.
Noticed one unpleasant thing, didn't log in or install the terminal all evening yesterday - wanted to check why my browser was changing?
in the first picture before logging in and installing the terminal.
in the second picture installed the terminal and visited the site - and my browser has changed, how to fix it? and what can it be?
---------------------------------------------
(Browser is a window to the World - and how, I do not want that the whole World, come without asking for my space. )
Noticed one unpleasant thing, didn't log in or install the terminal all evening yesterday - wanted to check why my browser was changing?
in the first picture before logging in and installing the terminal.
in the second picture installed the terminal and visited the site - and my browser has changed, how to fix it? and what can it be?
---------------------------------------------
(Browser is a window to the World - and how, I do not want that the whole World, come without asking for my space. )
Repeated - installation to the first System Restore point , and went to the Browser settings and updated it.
- It turned out that the Browser was making these changes itself. So mt5 has nothing to do with it and neither does the Site.
- I apologise to the website for my doubts.
Got this when changing trading accounts
Can you please tell me if an EA can access other symbols while working on one symbol? For example, my Expert Advisor has been started on AUD/usd and I want to be able to add in its code analysis, for example, Gold, which will make my robot make decisions about further actions on aud/usd trades. This is an example. I want to make calculations based on the major currencies within one EA on one chart. I.e., I want to try implementing inter-character analysis. The news releases in one country, the price jumps and on the basis of these changes, a decision is made to open orders for 1-7 pairs. Theoretically, this is possible without the use of external programs and services within MQL4? How about MQL5?
There are no limitations for MQL5 Expert Advisors: working on one symbol, MQL5 Expert Advisors can freely analyze OHLC from other people's timeframes and symbols, and can freely open positions and place pending orders on other symbols.
I'll ask again about the "hidden method calling" error. There is a code:
Explain why a method with a parameter of type string is hidden even though it is public and not overridden? Why do I have to override it in a derived class? And why does the warning disappear if I remove an overloaded method with a different parameter type?
1. Explain why a method with a parameter of type string is hidden, even though it is public and not overridden?
2. Why do I have to override it in a derived class?
3. And why does the warning disappear if I remove an overloaded method with a different parameter type?
1. C++ standard for selecting an overloaded function (overloaded class method).
The first matching function is searched by name, not by signature, starting from the current class and going into each base class.
2. C++ standard. It is necessary to either explicitly override or use using declaration.
In MQL, methods and fields of the base class are "directly available" from the derived classes
.
In fact, the inheritance behavior in MQL is similar to using declaration for each basic field and method in C++.
In MQL on the one hand they add freedom, but on the other hand they require the same things as in C++, but provide absolutely no methods of getting around ridiculous warnings from the user's point of view.