Professional Trading Dashboard
- Yardımcı programlar
- Khac Thanh Bui
- Sürüm: 1.1
- Etkinleştirmeler: 5
Professional Trading Dashboard
A professional account monitoring panel for MetaTrader 5 that consolidates real-time account data, daily trade history, and monthly statistics into a single on-chart display.
Professional Trading Dashboard is a utility indicator for MetaTrader 5 designed to give traders a clear, structured view of their account at all times. Instead of navigating between multiple terminal windows, all essential information is presented in one organized canvas panel directly on the chart. The indicator covers live account metrics, open position summaries, daily profit and loss history, monthly performance statistics, and a rolling balance chart spanning the last 30 days.
Overview
The panel is built using the MetaTrader 5 Canvas API, rendering a 1030x530 pixel overlay that stays fixed on the chart window regardless of symbol or timeframe. The display is divided into four main areas. The account section shows live balance, equity, margin, free margin, leverage, margin level, current floating profit or loss, and the day's realized change. Each metric is accompanied by a color-coded status label that updates automatically as market conditions shift.
The position summary bar beneath the account section shows the number of open buy and sell trades, their combined volume, and the floating profit or loss for each direction separately and in total. The daily analysis table lists up to 80 trading days with realized profit, lots traded, number of trades, and the maximum intraday drawdown recorded for each session. Three summary rows aggregate the figures for the current week, current month, and all available history. The monthly statistics table on the right tracks the same metrics across the last 12 calendar months. A 30-day balance chart drawn with native chart objects completes the panel, showing the equity curve with labeled Y-axis values that scale automatically to the account size.
All historical data is saved to a binary file in the terminal's common folder and reloaded on restart. A global variable lock prevents conflicts if the indicator is accidentally loaded twice on the same account.
Key Features
- Live account metrics with status labels: Balance, equity, margin, free margin, leverage, and margin level are displayed with contextual labels such as Safe, Risk, Healthy, Caution, and Danger, colored green, amber, or red depending on current thresholds.
- Daily history with drawdown tracking: Each day in the history table records the maximum intraday drawdown alongside realized profit, lot volume, and trade count. The drawdown figure is shown both in currency and as a percentage of the starting balance for that session.
- Paginated history view: The daily table supports up to 10 pages of records, navigated by clicking the arrow buttons inside the panel. This allows reviewing up to 80 days of individual session data without leaving the chart.
- 12-month rolling statistics: The monthly table aggregates daily records by calendar month, covering the most recent 12 months. Each row shows the month's total profit, lot volume, trade count, and peak drawdown.
- 30-day balance chart: A rolling line chart tracks account balance over the last 30 days using native MetaTrader 5 chart objects. The Y-axis scales dynamically and labels adjust to the account size, displaying values in standard, K, or M notation as appropriate.
- Persistent data storage: Daily and monthly records are written to a binary file tied to the account number and server name. On the next session, the panel reloads all saved history automatically without requiring any manual setup.
- 10 display languages: All panel labels can be switched between English, Russian, Chinese, Spanish, Portuguese, French, Italian, Korean, Vietnamese, and Japanese via a single input parameter.
- Configurable color scheme: Header color, background color, grid color, text color, highlight color, profit color, and loss color are each individually configurable through input parameters.
How It Works
On initialization, the indicator loads any saved history file for the current account, then runs a single HistorySelect pass over the current trading day to calculate today's realized profit, total volume, and trade count. A one-second timer keeps all displayed values current throughout the session. When the date rolls over, the previous day's record is finalized with its actual drawdown figure and written to disk, the new day is initialized with the current balance as its starting point, and the monthly aggregates are recalculated.
The balance chart collects one data point per calendar day. When the rolling window reaches 30 entries, the oldest point is dropped as a new one is added. The chart frame and axis labels are drawn once and only the data line is redrawn each timer cycle, keeping CPU usage low. All canvas redraws are triggered only when account values actually change, avoiding unnecessary rendering on idle markets.
Recommended Use
The indicator is compatible with any symbol and any timeframe. It is designed to run on one dedicated chart window alongside other indicators or expert advisors without interfering with them. A VPS or always-on PC is recommended to ensure continuous history collection across trading sessions. The panel works on both demo and live accounts.
Input Parameters
General Settings:
- Dashboard Language — Display language for all panel labels — Default: English
- Show Grid Lines — Show or hide the grid lines inside the tables — Default: true
Color Scheme:
- Header Color — Color used for the top header bar and section titles — Default: light blue
- Panel Background — Background color of the main panel area — Default: dark navy
- Grid / Borders — Color used for cell borders and grid lines — Default: blue-grey
Text Colors:
- Normal Text — Color for standard data values — Default: soft white
- Labels / Highlights — Color for column headers and summary row labels — Default: amber
- Positive Values — Color applied to profit figures and positive status labels — Default: green
- Negative Values — Color applied to loss figures and warning status labels — Default: red
Professional Trading Dashboard is a display and record-keeping utility. It does not place, modify, or close any trades. All account data shown is sourced directly from the MetaTrader 5 terminal and reflects actual account state in real time.
