Discussion of article "MQL5 Cookbook: Indicator Subwindow Controls - Buttons" - page 2

 
DC2008:

I wonder, did you read this article when you were preparing the material?

Yes, by the way, the article did not use any class, and without OOP it is almost impossible to create more or less complex interfaces in MQL5, which once again says that the article is intended primarily for beginners, to familiarise them with the basics, so to speak.

In general, of course, there are always several solutions. Someone uses one, someone uses another. It is impossible to say which one is better. But it is always difficult to adopt someone else's solution, there are too many questions, the time to solve which may exceed the time to create your own solution. That's why we build our own bike and consider it the best.

 
DC2008:

I wonder, when you were preparing the material, did you read this article?

Yes, I did. I read all the articles. ) In my opinion, it is very difficult for beginners. Well, at least it was difficult for me to understand then. Sometimes you need to get an answer to a particular question and you don't want to spend a lot of time, which is already very little.

So I try to answer a question as simply as possible. A pro, if he likes the idea, will easily rewrite it for himself as he considers necessary/right. And a beginner will find the simplest possible answer to his question.

 
C-4:
And I'm wondering, is there a single professional developer who would use a standard library of graphical elements in their products?
Great question :)
 
tol64:

Yes, I did. I read all the articles. ) In my opinion it is very complicated for beginners. Well, at least it was difficult for me to understand then. Sometimes you need to get an answer to a particular question and you don't want to spend a lot of time, which is already very little.

So I try to answer a question as simply as possible. A pro, if he likes the idea, will easily rewrite it for himself as he considers necessary/right. And a beginner will find the simplest possible answer to his question.

Good. So it is clear to a beginner what you use the timer for?

 
C-4:
I'm curious, is there a single professional developer who would use a standard library of graphical elements in his products?

I by no means claim to be a professional developer, but when writing this, I used the library:

Taki had to suffer, and something MQ was completed on the fly, in parallel with my development (on requests from the service-desk), but, as far as I am concerned, it is the right way.

But let's not start a holi-discussion here, there are already several topics for it ;)

Торговую панель Trading Chaos Expert
Торговую панель Trading Chaos Expert
  • reviews: 2
  • 760.00 USD
  • 2013.06.20
  • Gennadiy Stanilevych
  • www.mql5.com
Эксперт создан в виде сигнальной панели со встроенными функциями торгового эксперта, автоматизирующего входы в позиции по проверенным трейдерам торговым сигналам, осуществляющей установку стоп-лоссов, трейлинга прибыли в полном соответствии со...
 
komposter:

I by no means claim to be a professional developer, but I used liba when writing this:

Strange, why is it sold by a mate under the nickname iTC?
 
C-4:
In reality, standard buttons are very slippery control element, because in the first place does not support frame colour (although it is very strange why), and in the second place, depending on the type of frame BORDER_FLAT, BORDER_RAISED visually positioned clearly outside its location, I'm not saying that in addition to this change their hue depending on the state of pressing and very slow to change its display without ChartRedraw. In reality, the button except for its chopped interface a la Windows 3.11 does not give any advantages compared to other elements. Yes, there is a special field OBJ_SELECTED, indicating whether the button is pressed or not, but in reality there are no problems at all to create your own object OBJ_EDIT, containing the flag of pressing.

That's exactly what I use the lib for.

If Anatoly had made a highlighting when hovering the cursor over a standard batton, MQ would have added it to the lib.

As it is, there are a lot of scattered custom solutions, and each time you write a new one (well, using your own developments, of course).

 
C-4:
That's strange, why is it sold by a mate called iTC?
Because he's ordering it from me. Read his profile.
 
komposter:

I do not claim to be a professional developer by any means, but....

If you don't, then I don't know who does? Danald Knuth? Bill Gates?

komposter:
Because he orders it from me. Read his profile.
It makes sense now. But the only thing I don't understand is that you don't own the leading Marketplace products you created. Doesn't that hurt?
 
komposter:

But let's not start a holi-war here, there are already several topics for it ;)

By the way, I myself am in favour of code reuse with all my hands and feet. How often the standard library is used is an indicator, and I think this indicator is rather low and there are several objective reasons for it. But this is rather a topic for a separate thread. To me, it seems risky to use standard MQL5 specialised libraries, because at some stage of the project it will suddenly turn out that the solution requires something special, which will require the creation of its own library within the existing one. But this does not apply to data organisation classes - I use them all the time. After all, these are standard storage algorithms, and there is no need to reinvent the wheel.
Документация по MQL5: Основы языка / Объектно-ориентированное программирование / Наследование
Документация по MQL5: Основы языка / Объектно-ориентированное программирование / Наследование
  • www.mql5.com
Основы языка / Объектно-ориентированное программирование / Наследование - Документация по MQL5