Discussion of article "Graphical Interfaces X: Sorting, rebuilding the table and controls in the cells (build 11)" - page 2

 
Anatoli Kazharski:


In my opinion, Artem has given quite detailed examples.

If more clearly and within the framework of some already existing graphical interfaces, you can look at these variants:

1. In the Windows operating system Open the "Windows Components" window. There you can see checkboxes with more than two states:

//---

2. In the MetaTrader 5 terminal, open the "Tools" window. In the "History" tab, you have the opportunity to enable/disable the visibility of some columns of the table in the context menu:


Exhaustive Answers.

The useless conversation yesterday was unnecessary.

Thanks.
 
Реter Konow:
Exhaustive answers.

The useless conversation yesterday was unnecessary.

Thank you.


Here is another example with checkboxes with three states within a trading system with a graphical interface: 7.1. Section PARAMETERS SYSTEM

//---

SHOW ORDERS - The second column shows which strategies have subpositions open, in what volume and in what direction. If there is no subposition, EMPTY is displayed. In case of an open subposition, its volume is displayed. The direction can be determined by the colour. For long positions (Long) the volume is coloured green (e.g. 0.05) and for short positions (Short) it is coloured red (e.g. 0.02). Also in this column there are controls (checkboxes), by ticking them on the chart you can see which pending orders relate to this particular subposition. By selecting a checkbox against a particular sub-item, horizontal solid lines are set under the corresponding pending orders, and the entry point of this sub-item is marked with a vertical dashed line of the same colour. All the checkboxes can be set at the same time. It is difficult to confuse the lines, as each group of orders has its own colour. See the picture on the right.

When switching to another symbol, the checkboxes are not unchecked. When switching back, if the checkboxes were set before, the lines are restored to the chart. If a particular sub-item is closed, the lines belonging to this sub-item, if they are on the chart, are removed by the Expert Advisor, and the checkbox is unchecked and a stopper is placed. The header of this column is clickable. That is, if no checkbox is checked, the title will be coloured MediumSeaGreen. If at least one checkbox is checked, the title is coloured blue.

Безграничные возможности с MetaTrader 5 и MQL5
Безграничные возможности с MetaTrader 5 и MQL5
  • 2012.05.14
  • Anatoli Kazharski
  • www.mql5.com
В этой статье я хотел бы показать пример, какой может быть программа для трейдера, а также, каких результатов можно достичь за 9 месяцев, начав изучать MQL5 с нуля. Ещё этот пример показывает, насколько программа для трейдера может быть многофункциональной и информативной, занимая при этом минимум пространства на ценовом графике. Также будет продемонстрировано, какими красочными, яркими и интуитивно-понятными для пользователей могут быть информационно-торговые панели. Это и многое-многое другое...
 
Реter Konow:
Exhaustive answers.

Theuseless conversation yesterday was unnecessary.

Thank you.

What was useless about it? Only that you, barin, want a tsar, and the same answer from a peasant is useless?

Is everything in your palace in place? Is the roof still standing?

Does it matter that Anatoly is busy? He's not at sea, he's working, and he may not answer at once....

 
Artyom Trishkin:

What is its uselessness? Is it only that you, barin, want a tsar, and the same answer from a peasant is useless?

Is everything in your palace in place? Is the roof still standing?

Does it matter that Anatoly is busy? He's not at sea, he's working, and he may not answer at once....

Dear Artem, I really don't understand why you think that when I ask something in comments I expect Anatoly to give me immediate answers?

I liked your answers too, but they were not so professional. No offence taken.

And you should not compare yourself to a peasant, you are a moderator and a good programmer, and this is another level....

Yesterday's conversation was of course useless, but entertaining. So it's all right.

Let's be kinder:).

 
Anatoli Kazharski:


Here is another example with checkboxes with three states within a trading system with a graphical interface: 7.1. Section PARAMETERS SYSTEM

//---

Thank you.
 

I'd like to know when the temporary solution:

//+------------------------------------------------------------------+
//| Checking and updating the number of the Expert Advisor window |
//+------------------------------------------------------------------+
void CWndEvents::CheckExpertSubwindowNumber(void)
  {
//--- Exit if (1) it is not an EA or (2) the EA GUI is in the main window
   if(PROGRAM_TYPE!=PROGRAM_EXPERT || !EXPERT_IN_SUBWINDOW)
      return;
//---

   ...
  }

Will be replaced?

Was waiting in this build as a window title colour, but alas.....

 
Alexander Fedosov:

I'd like to know when the temporary solution:

Will be replaced?

Was waiting in this build as a window title colour, but alas.

What is the problem with the temporary solution?

There is no need to wait, it won't be fast. More important and complex tasks are being solved now. Final tuning will be at the very end of development.

 
I would like to say: Thank you very much Anatoly!
Great and very hard work is being done.
And only the one who has done better has the right to criticise...
I and others, who are not able to do it yet, can only wait for new releases and not be clever.
Moreover, the author doesn't speak about the final release, and we don't know the task he has set for himself, and it is already obvious - not a big one.
But what has been implemented is just a bomb! Windows in MT in Windows...
I just think that with the help of this solution many products (commercial and for personal use) will get additional gloss, and the time spent by developers will be minimised.
I take my hat off to you Anatoly!
Thanks again.
 

Mikhail Dovbakh:

I just think that with this solution many products(commercial and for personal use) will get an extra gloss, and the time spent by developers for this will be minimised.

I take my hat off to you Anatoly!
Thank you again.

Thank you.

Yes, this is exactly the goal. I keep getting the timing wrong, though. It seems that there is not much left, but still no way. )

 
Anatoli Kazharski:

Tolik!

This is as always cool - my admiration and respect!

I follow your articles, God willing that they will impress and delight the community for a long time!