Discussing the article: "Account Audit System in MQL5 (Part 1): Designing the User Interface"

 

Check out the new article: Account Audit System in MQL5 (Part 1): Designing the User Interface.

This article builds the user interface layer of an Account Audit System in MQL5 using CChartObject classes. We construct an on-chart dashboard that displays key metrics such as start/end balance, net profit, total trades, wins/losses, win rate, withdrawals, and a star-based performance rating. A menu button lets you show or hide the panel and restores one-click trading, delivering a clean, usable foundation for the broader audit pipeline.

Before diving into implementation, it’s important to give a visual sense of what we are about to build.

At its core, the system is designed to operate on a recurring evaluation cycle, automatically generating structured audit reports on a weekly or monthly basis, as defined by the user. Rather than requiring manual inspection, it continuously analyzes the most recent evaluation window, producing a consistent and objective view of account performance over time.

The audit results are then presented directly on the chart through a clean, structured interface. The result is a compact audit dashboard that sits alongside price action, allowing the trader to monitor performance in real time without leaving the chart. The objective here is not just to display numbers but to transform raw trading events into actionable, easy-to-read intelligence that a trader can interpret at a glance.

Below is what the final audit interface will look like when deployed on the chart:

                                           Account Audit Dashboard

Author: Chukwubuikem Okeke