A little surprised :) Thought I'd share and ask a NOT rhetorical question. - page 25
![MQL5 - Language of trade strategies built-in the MetaTrader 5 client terminal](https://c.mql5.com/i/registerlandings/logo-2.png)
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
Made as a structure.
apologies for the offtops, but why is it a structure and not a class?
ZS: The less I program in mql5, the more I realize that mql5 language follows its own path of specialized languages, I still need to find educational institutions that will train mql5 programmers - I used to study C++ , But lately i have to spend lots of time to study mql5 HELP, because it looks less and less like classical C++. mql5 should coincide with classical C++ or i don't need it, give me an open API and any programmer will not have to reread mql5 documentation every month
apologies for the offtops, but why is it a structure and not a class?
apologies for the offtops, but why is it a structure and not a class?
ZS: The less I program in mql5, the more I realize that mql5 language follows its own path of specialized languages, I still need to find educational institutions that will train mql5 programmers - I used to study C++ , But lately i have to spend lots of time to study mql5 HELPs, because it looks less and less like classical C++. mql5 should be the same as classical C++ or i don't need it, give me an open API and any programmer will not have to reread mql5 documentation every month
Structure? This is such a "smart" programmer. The structure is no different from the class except that all members of the structure are public.
API? What is the API for? For purely trading - buy and sell, MT5 is very suitable. You will need a couple of combinations, a couple of checks, some simple calculations, MT5 will be quite enough. All the rest, unfortunately, will have to be done in С++.
In fact, you must understand the "layout" :) In a nutshell - there is a brokerage company interested in clients. The client is not a professional trader, but builder Vasya. Who just wants to push the buy/sell button on his iPad. The client is a sucker :). The client is well aware that he cannot make any manual trades. They do not sell en masse. They have understood that they have to use computers in the 21st century. They give him trading robots. You're asleep, and he's out there making money. Somebody has to write these robots? Yeah, who? The programmers - everyone knows that, even our client. :) . MQ is interested in DC, DC is interested in clients, the client needs ROBOTS - OK! They said MQ and gave us MTX with the ability to program. Programmers need a tester, just to show how much money their robot will make and definitely need an optimizer, so that the client clearly dumped with his claims "why the losses? That's it! - We see a complete chain of satisfied. Everyone is satisfied. Moreover, it is important - here all the links are MUST - all the layers are important, for this scheme. :) Loch, Programmers, MT (tester and optimizer), and DC of course. Here it is the scheme of business to satisfy lazy fools who are thirsty for freebies. :) Now we can consider what properties should have tester and optimizer - the tester should be able to easily cut cabbage, the optimizer is simple and understandable even to the client. That's all :) You don't need anything else at all. What API. Who are you? A sucker? Well, you're a "programmer". Programmer? You want everything to work in the tester - what's the API for you? .... :) Write the text above - it will be quickly removed, it will not last long. But most importantly you should understand - what is the right answer to the question - "What is the tester for? :))
Structure? This is such a "ponce" of programming.
In MQL5 it's a separate entity from the classes.
In fact, you must understand the "wiring" scheme :) In brief, it's as follows ...
In MQL5 it is a separate entity from the classes.
You're thinking too narrowly.Structure? It's such a programmer's "thing". Structure is no different from class except that all members of structure are public.
API? Why do you need API? For purely trading - buy and sell, MT5 is very suitable. You will need a couple of combinations, a couple of checks, some simple calculations, MT5 will be quite enough. All the rest, unfortunately, will have to be done in С++.
In fact, you must understand the "layout" :) In a nutshell - there is a brokerage company interested in clients. The client is not a professional trader, but builder Vasya. The client is a sucker :). The client is well aware that he cannot trade with his hands. And they do not go in droves. They have understood that they have to use computers in the 21st century. They give him trading robots. You're asleep, and he's out there making money. Somebody has to write these robots? Yeah, who? The programmers - everyone knows that, even our client. :) . MQ is interested in DC, DC is interested in clients, the client needs ROBOTS - OK! They said MQ and gave us MTX with the ability to program. Programmers need a tester, just to show how much money their robot will make and definitely need an optimizer, so that the client clearly dumped with his claims "and why the loss?" after the words of the programmer - "make optimization". That's it! - We see a complete chain of satisfied. Everyone is satisfied. Moreover, it is important - here all the links are MUST - all the layers are important, for this scheme. :) Loch, Programmers, MT (tester and optimizer), and DC of course. Here it is the scheme of business to satisfy lazy fools who are thirsty for freebies. :) Now we can consider what properties should have tester and optimizer - the tester should be able to easily cut cabbage, the optimizer is simple and understandable even to the client. That's all :) You don't need anything else at all. What API. Who are you? A sucker? Well, you're a "programmer". Programmer? You want everything to work in the tester - what's the API for you? .... :) Write the text above - it will be quickly removed, it will not last long. But the most important thing you must understand - as the right answer to the question - "What is the tester for? :))
Door slam number one.
Type of slam - "I don't understand shit myself, but I'll open your eyes."
Expand. :))
The structure? This is such a "smart" programmer. Structure is no different from the class except that all members of the structure are public.
...
But most importantly you should understand - what is the RIGHT answer to the question - "What is the tester for? :))
Well, if it's a punt, it's a punt - I don't like non-standard/non-classical descriptions, that's why I like Delphi/Pascal - it teaches even in C++ to describe variables, classes, structures first, and then the main code, but never mind
I used to play with tester, and I couldn't stop, until I realized I wouldn't be able to trade even on microaccounts with such strategies and practice shows that a workable and profitable Expert Advisor can be written "by eye". As practice shows, a workable and profitable Expert Advisor can be written "by eye" without a Strategy Tester provided the strategy has been tested by my hands - and I'm doing it now