Any questions from newcomers on MQL4 and MQL5, help and discussion on algorithms and codes - page 1523
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
As I, a dilettante, who can't understand the sacred meaning of all classes, and why OOP is needed in our (trading) business in general, understand - classes are all written (both by MQ and guru) code-libraries, designed to "facilitate" life for "non-guru code-writers".
The trouble is, and I've already said this, that using all this "relief" doesn't make writing code any easier. Because you always have to double-check all the orders you send yourself! Because practically everyone insists on me checking some "transactions" too. All the more so because these "...shares" come at random.
I give the order - to hammer a nail in this place at such an angle. That's it. Next I get a reply - the nail is hammered in. And then I get a warning that:
So why do I need such performers (classes)?
I may be exaggerating a little, but the point doesn't change.
And why? Because any data processed in classes can be changed so that the class won't even suspect that it has been changed.
I see.
I agree, by the way, that OOP doesn't make programming easier.
OOP makes it easier to maintain large projects, but tends to make it harder to create small ones.
OOP is harder for beginners.
Using other people's classes is, to some extent, using black boxes.
Hello. Could you please tell me where I made a mistake and why the indicator does not show arrows?
I put in the missing line but still no arrows!
I put in the missing line but still no arrows!
show
show
I have a drawing...
I'm drawing...
Fucking hell. wrong ishimoku run )))) thank you very much
Yeah... Minimal writing and maximum headache...
What is it exactly? Maybe I'm just doing something wrong.
What is it exactly? Am I doing something wrong?
Forum on trading, automated trading systems and strategy testing
OOP for schoolboys.
Alexey Viktorov, 2019.10.04 16:01
I think mql has very limited set of problems to be solved by OOP. The language itself, it seems to me, is nothing but OOP in C++ or whatever. And this OOP is offered in the form of a standard library. And to this OOP it is suggested to add, otherwise it cannot be said, another OOP. And then another step... Rightly said Warlock, though angry, but benevolent, for my tasks OOP is like a dog turntable. And what good is defining a task and then implementing it using OOP, if this task can be solved in procedural style without any problems.
For example, take .mqh from fxsaber`a to write codes for MT5 as well as for MT4. Maybe someone may need it, but look who. To someone who does not want or absolutely cannot master mql5. Or take iCanvas from Nikolay ... I forget his last name. It seems to be a useful library, but it is not easy to understand it, and there is no documentation, even a smallest description. It's not a complaint, sorry Nikolay, it's a fact. So, when I decided to try writing a graphical label, it was easier to write it without reference to either standard library or Nikolai's library.