Discussing the article: "How to Create an Interactive MQL5 Dashboard/Panel Using the Controls Class (Part 1): Setting Up the Panel"

 

Check out the new article: How to Create an Interactive MQL5 Dashboard/Panel Using the Controls Class (Part 1): Setting Up the Panel.

In this article, we create an interactive trading dashboard using the Controls class in MQL5, designed to streamline trading operations. The panel features a title, navigation buttons for Trade, Close, and Information, and specialized action buttons for executing trades and managing positions. By the end of the article, you will have a foundational panel ready for further enhancements in future installments.

Here, we will illustrate the key components of our interactive GUI panel/dashboard designed for traders. The panel will consist of several essential elements, each serving a specific purpose to enhance trading efficiency. We will focus on three main navigation buttons: Trade, Close, and Information, each equipped with respective action buttons.

The Trade section will feature buttons for trading volume, Price, Stop Loss (SL), and Take Profit (TP), as well as execution buttons for Buy, Sell, and Buy stop among many others. The Close section will include functionalities such as "Close All Profit" and "Close All Pending Orders" among others, ensuring quick access to essential trade management tools. Finally, the Information section will display important trading data, such as account balance, margin levels, and real-time market updates.

To visually represent these elements, we will provide a layout diagram that showcases how these components will be arranged within the panel. This illustration will serve as a roadmap for constructing our GUI in the subsequent sections of the article, guiding us in integrating these elements into a cohesive and user-friendly interface. Here is the complete illustration:

PANEL ILLUSTRATION

Author: Allan Munene Mutiiria

 

I have recently started learning MQL5 and faced all kinds of difficulties. This article is easy to understand for beginners. Everything is brief and clear. I would like to thank the author for his professionalism. During the study of the article, in addition to learning how to create the Panel, I got some more useful skills for mastering programming. Many thanks to the author! Looking forward to Part 2.

With respect to the author,

B.V. Dolgikh

 
Line00 #:

I have recently started learning MQL5 and faced all kinds of difficulties. This article is easy to understand for beginners. Everything is brief and clear. I would like to thank the author for his professionalism. During the study of the article, in addition to learning how to create the Panel, I got some more useful skills for mastering programming. Many thanks to the author! Looking forward to Part 2.

With respect to the author,

B.V. Dolgikh

Sure. Very much welcomed. Thanks.

 
Thank you very much.
Is the panel responsive on different monitors? If yes, how did you do it. 
Thank you 
 
Etienne Bah Mumbah #:
Is the panel responsive on different monitors? If yes, how did you do it.

"We now need to make the buttons live and responsive to clicks and automatic updates whenever necessary, which is to be taken care of in the subsequent installments."

The word, installments, alludes to Part 2 which doesn't exist and hasn't existed since Part 1's creation in October of 2024.

If you don't want to wait and you can't code click events, here's another coder's free trading panel:

Code Base

Simple Order Panel

Manuel Alejandro Cercos Perez, 2022.08.08 18:18

Source code of simple order panel

 
Ryan L Johnson #:

"Now we need to make the buttons live, responsive to clicks and automatically update when needed, which we'll take care of in later parts."

The word "subsequent" hints at a second part, which does not exist and has not existed since the first part was created in October 2024.

If you don't want to wait and don't know how to code click events, here's another coder's free trading board:


Part 2

https://www.mql5.com/en/articles/16146

Создаем интерактивную MQL5-панель с использованием класса Controls (Часть 2): Добавление отзывчивости кнопок
Создаем интерактивную MQL5-панель с использованием класса Controls (Часть 2): Добавление отзывчивости кнопок
  • 2025.05.27
  • www.mql5.com
В этой статье мы преобразуем нашу статическую панель мониторинга MQL5 в интерактивный инструмент, добавив отзывчивость кнопок. Мы рассмотрим, как автоматизировать функционал компонентов графического интерфейса, гарантируя, что они будут правильно реагировать на нажатия пользователя. К концу статьи мы создадим динамический интерфейс, который повышает вовлеченность пользователей и удобство торговли.
 
Ah ha. Thanks for posting that. It's rather strange how all of the links below this Article don't include Part 2 of this Article.