← All documentation

Bneu EA Intelligence Center

Monitor. Analyze. Protect. One read-only dashboard that measures every Expert Advisor on your account separately: closed P/L, drawdown, win rate, profit factor, a 0–100 health score, live margin and exposure risk, and a notification centre — without touching a single order.

Utility MetaTrader 5 v1.00 Read-only No network, no DLL

What it is, and what it is not

The Intelligence Center is an auditor for Expert Advisors. You attach it once to any chart on the account you want to watch. It then reads your closed deals from MetaTrader’s history, groups them by the magic number that placed them, and turns them into a per-EA scoreboard: how much each robot has made today, this week, this month and all-time; how deep it has drawn down; how often it wins; its profit factor and recovery factor; and a single 0–100 health score.

On top of the scoreboard it measures the account as a whole: floating P/L, margin level, peak-to-now drawdown, exposure per symbol and per currency, a calendar and a heat-map of when the money is actually made, and a notification centre that can pop up, push to your phone or e-mail you when something crosses a line you set.

What it is not:

  • Not an EA and not a strategy. It contains no entry logic, no signal, no bias and no opinion about direction.
  • Not a trade manager. It never places, modifies, closes or deletes anything. There is not a single OrderSend, OrderClose, PositionModify or OrderDelete call in the product. It cannot hurt your account even if you misconfigure every input.
  • Not a copy of the MT5 report. It groups by magic number, net of commission and swap, and it compares EAs, not symbols. Where the two disagree, see FAQ — the differences are explained and intentional.
  • Not a network service. No WebRequest, no DLL, no Telegram, no cloud. Nothing leaves your terminal; nothing needs to be whitelisted.
  • Not a backtester. It can run in the Strategy Tester, but its job there is only to show the panel on a test account.

Who it is for

  • You run two or more EAs on one account and cannot tell which one is paying for the others.
  • You run a prop-firm or funded account and need an early warning before the daily or overall drawdown limit is hit.
  • You want to know which hour, weekday, session, symbol or side your robots actually earn in.
  • You are evaluating a new EA and want a second, independent set of statistics that is not produced by the EA’s own author.

60-second quick start

  1. In MetaTrader 5: File → Open Data Folder, then MQL5/Experts. Copy BneuTech_EA_Intelligence_Center.ex5 there and IC_All.mqh, IC_Types.mqh into MQL5/Include/BneuTech/ (only needed if you compile from source).
  2. Restart MT5 (or right-click Navigator → Expert Advisors → Refresh).
  3. Turn on the Algo Trading toolbar button. Without it no EA runs at all, even a read-only one.
  4. Open any chart — the symbol does not matter for the numbers, but it is the symbol used for the “no ticks” alert.
  5. Drag BneuTech EA Intelligence Center from the Navigator onto the chart. Leave Allow Algo Trading ticked. Press OK.
  6. Wait. The header shows BUILDING 0% … 100% while it reads your deal history. On a large account this can take from a few seconds to several minutes; it processes at most 2,000 deals per second.
  7. When the header reads CONNECTED, the OVERVIEW tab is live. Click EAs to see your robots ranked by monthly profit.

That is it. You do not need to configure anything to get value: every default is safe, and the EA only ever reads. Tuning alerts and thresholds is optional and is covered in First-run setup.

Requirements

ItemRequirement
PlatformMetaTrader 5, build 2000 or newer (any build shipped since 2019). MT4 is not supported — the product uses MT5 history functions that do not exist in MQL4.
AccountAny: demo, live, cent, prop/funded. Hedging or netting. The account currency is used as-is; the EA does not convert P/L between currencies.
ChartAny symbol, any timeframe. It is used only for the “no ticks” stale alert and as a place to draw the panel.
Chart window sizeAt least about 1000 × 660 px for the default panel (980 × 620 at 100% scale). At 130% scale you need roughly 1280 × 810 px. A cut-off panel is always a window-size problem, never a bug.
Algo TradingMust be ON (toolbar button green, smiley in the chart corner). Applies to every EA, including read-only ones.
Network / WebRequestNot required. The product makes no HTTP request of any kind. Do not add any URL to the WebRequest list — there is nothing to allow.
DLLsNone. Do not enable DLL imports.
File write accessRequired. The EA writes its state into MQL5/Files/BneuTech/. If that folder is read-only (rare: some locked-down VPS images), statistics will not survive a restart.
HistoryYour broker’s closed deal history for the account. No price history is needed for the main statistics; only the chart symbol’s tick flow is used for the stale check.
Push notifications / e-mail (optional)Only if you switch them on. Push needs your MetaQuotes ID in Tools → Options → Notifications; e-mail needs SMTP configured in Tools → Options → Email.

Nothing else is required: no indicator set, no template, no preset file, no account login or API key.

Installation, step by step

1. Copy the files

In MetaTrader 5 choose File → Open Data Folder. A Windows Explorer window opens on your terminal’s private folder. Then:

  • Put BneuTech_EA_Intelligence_Center.ex5 into MQL5\Experts\.
  • If you received the source, put BneuTech_EA_Intelligence_Center.mq5 there too, and put IC_All.mqh and IC_Types.mqh into MQL5\Include\BneuTech\ (create the BneuTech folder if it does not exist). Keep the folder name exactly BneuTech — the source includes them as #include <BneuTech/IC_All.mqh>.

2. Compile (only if you installed the source)

Open BneuTech_EA_Intelligence_Center.mq5 in MetaEditor and press F7. The Toolbox must end with 0 errors, 0 warnings. Compiled .ex5 files are build-specific: an .ex5 compiled on one MT5 build may not load on a much older one. If a compiled file “does not appear” in the Navigator, recompile it on your own terminal.

3. Refresh the Navigator

In MT5 open the Navigator panel (Ctrl+N), right-click Expert Advisors and choose Refresh. The product appears under that node. If it does not, the file is in the wrong folder — recheck MQL5\Experts inside your data folder, not a different installation.

4. Prepare the terminal

  • Turn on Algo Trading in the toolbar.
  • Optional, for pop-up alerts: Tools → Options → Notifications → tick Enable for “News” so Alert() windows are shown. (MetaTrader calls alert boxes “news” in this dialog.)
  • Optional, for push: same dialog, enter your MetaQuotes ID and press Test.
  • Optional, for e-mail: Options → Email, fill in SMTP server, port, login, password and recipient, then press Test.

5. Attach to a chart

Drag the EA onto a chart. In the dialog tick Allow Algo Trading and press OK. The smiley in the top-right corner of the chart must be happy (not a sad face or a cross). The panel appears at the position set by InpPanelX / InpPanelY.

6. Attach it once per account

The state file is named after the account login (IC_<login>.dat). Two copies on two charts of the same account would both write that file and could lose each other’s data. Use one chart per account. Different accounts (different logins) are fully independent and can each have their own copy.

First-run setup — the five minutes that make it useful

What happens the very first time

  1. The EA creates its private folder MQL5/Files/BneuTech/.
  2. It reads the whole closed-deal history of the account in slices of at most 2,000 deals per second, adding up profit + swap + commission per magic number.
  3. The header shows BUILDING xx% while this runs. The percentage is deals processed ÷ deals found, so it can sit still for a second and then jump.
  4. When it finishes it writes IC_<login>.dat (the state file), logs build complete in the Experts tab, and the header changes to CONNECTED.
  5. Until the build finishes all statistics are suppressed: you see … and -- rather than half-built numbers. This is deliberate.

Step 1 — let the build finish

Do not remove the EA while the header says BUILDING. Closing the terminal mid-build is safe (the work is thrown away and redone next start), but removing the EA mid-build wastes the time. Large accounts with tens of thousands of deals can take several minutes.

Step 2 — press SCAN ACCOUNT once

On the EAs tab press SCAN ACCOUNT. History only knows EAs that have closed at least one trade. The scan also picks up EAs that are running right now with open positions or pending orders, so they appear immediately with zero history. Repeat it after a restart if a robot is missing.

Step 3 — check the magic numbers

Every EA row is a magic number. Manual trades (magic 0) are grouped into a row called Manual. If two robots share one magic they are added together and cannot be separated — give each EA its own magic in that EA’s inputs. This is the most common reason the table “looks wrong”.

Step 4 — name your EAs (optional, recommended)

Click a row to open the detail view. Click the NAME box, type something readable (Gold scalper), press SAVE or click away. The name is sanitised — semicolons become spaces, anything past 32 characters is cut — and it is stored in the state file, so it survives restarts and even a full history rebuild. VERSION behaves the same way.

Step 5 — decide your two risk numbers

Defaults are 250% / 150% margin level and 10% / 20% drawdown. On a funded account, use the limits the provider actually enforces: a 10% max-loss account should warn near 5% and go critical near 8%, not at 10% and 20%.

Step 6 — turn on the alerts you will actually read

Pop-ups are on by default; push and e-mail are off. Turn push on if the terminal runs on a VPS, because you will not be watching it. Leave InpMaxAlertsPerHour at 20 and the cooldown at 60 minutes — that is what stops a busy day becoming 400 identical notifications.

Step 7 — press SAVE NOW once

On the SETTINGS tab, SAVE NOW writes both files immediately. Afterwards the EA saves itself 60 seconds after any change and always on removal.

Three ready-made profiles

Copy the numbers below into the input dialog. Each profile is a complete, self-consistent set; mixing rows from two profiles is what usually produces noisy alerts.

Profile A — the default desk (start here)

InputValueWhy
InpLiveRefreshSec1Live values every second; cheap, it only reads account info.
InpAnalyticsRefreshSec5Curves change slowly; 5 s keeps them smooth without redraw churn.
InpSaveIntervalSec60A state file at most a minute old.
InpActiveInactiveDays7A robot silent for a week is INACTIVE — right for weekly strategies.
InpMarginWarnPct / CritPct250 / 150Standard broker warnings; under 150% is one bad hour from a stop-out.
InpDDWarnPct / CritPct10 / 20Generic swing-account limits.
InpAlertsEnabled, InpAlertPopuptrue, trueYou are at the screen and want the box.
InpAlertPush, InpAlertEmailfalse, falseOff until push/e-mail is tested in the terminal settings.
InpConsecLossAlert5Five losses in a row is a warning; fewer is noise.
InpStaleTickSec120Two minutes without a tick while the session is open is unusual.
InpUIScalePct100Native size, 980 × 620 px.

Profile B — funded / prop account

InputValueWhy
InpMarginWarnPct / CritPct500 / 300On a leverage-limited account margin level breaks first.
InpDDWarnPct / CritPct5 / 8Warn halfway to a 10% rule; critical with 2% of room left to act.
InpAlertPushtrueYou must know from your phone.
InpAlertPopupfalseThe terminal is on a VPS; nobody sees pop-ups.
InpAlertEmailtrueA written trail of every warning, useful when talking to the provider.
InpConsecLossAlert3Three in a row justifies a manual pause on a funded account.
InpStaleTickSec300Fewer false alarms when the VPS lags for a moment.
InpActiveInactiveDays3You want to know quickly that a robot has stopped working.

Profile C — headless VPS / many accounts

InputValueWhy
InpStartMinimizedtrueThe panel starts as a single header line; the body cost disappears.
InpLiveRefreshSec5Second-level freshness is pointless on a machine nobody watches.
InpAnalyticsRefreshSec30Analytics is opened rarely, through remote desktop.
InpSaveIntervalSec120Half the disk writes.
InpAlertPopup, InpAlertPush, InpAlertEmailfalse, true, trueDispatch to you, not to a screen nobody is looking at.
InpVerboseLogfalseKeeps the log small; turn it on only while diagnosing.

Note on InpStartMinimized: it only decides the first ever state of the panel. After that the panel remembers whether you had it minimised, because that flag lives in the terminal’s global variables, not in the input.

The panel, tab by tab

The panel is a fixed 980 × 620 pixel grid at 100% scale, drawn with chart objects, anchored at InpPanelX / InpPanelY from the top-left corner of the chart. It is not draggable — move it with the two inputs (and recompile/reattach, or change the inputs and press OK, which restarts the EA).

The header

ElementWhat it shows
Product nameLeft side of the header bar.
State pillBUILDING xx% while history is read; SCANNING while an account scan runs; VERIFYING during the 6-hourly integrity check; CONNECTED when live; DISCONNECTED when the terminal loses the account (no tick or terminal offline).
Server clockThe broker’s current time — the same clock all day/week/month boundaries use.
- / + buttonMinimise / restore. Minimised keeps only the header visible and skips the body refresh entirely. The state is remembered across restarts.

The six tabs

OVERVIEW · EAs · RISK · ANALYTICS · ALERTS · SETTINGS. The active tab is drawn in the accent colour. Clicking a tab repaints immediately instead of waiting for the next refresh interval. The last tab you used is restored after a restart, because the page number is kept in a terminal global variable.

Refresh cadence: the header updates every second; the body of the current tab updates once per InpLiveRefreshSec (default 1 s), except ANALYTICS, which uses InpAnalyticsRefreshSec (default 5 s). Switching tabs forces an immediate rebuild of the new tab.

Tab 1 — OVERVIEW

Ten live tiles in two rows of five, then a portfolio bar chart. Everything here is account-wide and includes manual trades.

TileExact meaning
BalanceAccount balance, straight from the terminal.
EquityBalance plus floating P/L, from the terminal.
Floating P/LEquity − balance, coloured green/red. This is the only number on the panel that moves on every tick.
Drawdown(Peak equity − current equity) ÷ peak equity, as a percentage, floored at 0. The peak is the highest equity this account has seen since the product first ran on it, stored in the state file. Coloured amber at InpDDWarnPct and red at InpDDCritPct.
Margin levelEquity ÷ margin × 100, or n/a when no position uses margin. Shown as n/a, never as a fake 0.
TodayClosed P/L (net of swap and commission) of every deal closed since 00:00 server time. Floating positions are not included.
This weekSame, from Monday 00:00 server time.
This monthSame, from the 1st of the month 00:00 server time.
Open tradesNumber of currently open positions on the account (both directions, hedging and netting).
Risk levelLOW / MEDIUM / HIGH / CRITICAL — the worse of the margin test and the drawdown test, using your four thresholds. See the maths.

PORTFOLIO ANALYSIS — share of estimated margin

Below the tiles, six rows show the symbols that would consume the most margin if you had one lot of each: the symbol, a bar, its share of total estimated margin as a percentage, and the estimated margin amount. The line underneath reads e.g. Top symbol = 63% of margin and turns amber above 50%: that is a concentration warning, because one symbol is then responsible for most of the account’s risk.

  • Margin per lot is calculated once with OrderCalcMargin at the current ask and cached for 60 seconds; the estimate is gross lots × margin per lot.
  • Only symbols with an open position appear. A row called OTHER exists when more than 32 symbols are involved and carries no margin (it is excluded from the shares).
  • The estimate ignores your broker’s per-symbol leverage tiers and hedged-margin discounts, so treat it as a ranking tool, not an accounting figure.

When the terminal is disconnected, every tile that needs live data reads n/a in grey — the product never prints a zero that looks like real information.

Tab 2 — EAs: the scoreboard

One row per magic number, sorted by monthly profit by default, ten rows per page. A row that cannot be measured still appears, with -- rather than a fake zero.

ColumnMeaning
EAYour name for that magic (or EA 12345 until you rename it, or Manual for magic 0). The row is tinted with the colour you chose with the COLOR button.
StatusACTIVE = has open positions right now. IDLE = no open positions but traded within InpActiveInactiveDays. INACTIVE = no closed trade for longer than that. NEW = discovered but no closed trade yet.
TodayClosed P/L since 00:00 server time, net of swap and commission.
MonthClosed P/L since the 1st of the current server month.
FloatingUnrealised P/L of this EA’s currently open positions. Only a running EA can have one.
DD%The EA’s own maximum drawdown: the deepest fall from its peak cumulative closed P/L, as a percentage of that peak. A worst ever figure, not a current one.
Win%Winning trades ÷ total trades × 100. A trade whose net result is exactly 0 stays in the trade count but is neither a win nor a loss.
PFProfit factor = gross profit ÷ gross loss (absolute). Shown as 999.00 while there is no losing trade.
HealthThe 0–100 health score from the maths, or -- when the EA has fewer than 20 closed trades.

Sorting

  • Click a column header to sort by it; click the same header again to reverse. A ^ or v marker shows the active column and direction.
  • A newly chosen column starts descending (biggest first) — except the name column, which starts A→Z.
  • On the default Month sort the rows are additionally grouped by status: Active on top, then Idle, then Inactive, then New. That is why the top row is not always the biggest number.
  • The chosen column and direction survive a restart; the page number does not — you always come back to page 1.

The footer controls

ControlWhat it does
PREV / NEXTOne page of ten EAs. 1/3 beside them is the page counter.
SCAN ACCOUNTRe-reads open positions and pending orders and adds any magic that is running but has no closed trade yet. It does not re-read history — that is REBUILD HISTORY on the SETTINGS tab.
FILTER: ALL / OPEN / INACTIVECycles the list: everything, only EAs with open positions, only EAs currently INACTIVE. The page count follows the filter.
SHOW HIDDEN / HIDE HIDDENReveals or hides the EAs you marked hidden in the detail view. Hidden EAs still count in every account total and still raise alerts — hiding only declutters this table.
Info line7 of 12 EAs shown - click a row for details, a header to sort. When the list is empty it says why: No EA records yet - press SCAN ACCOUNT or No EAs match the current filter.

The EA detail view

Click any row on the EAs tab. The table is replaced by a full-page report for that one magic number; BACK returns to the list, which keeps its sort, filter and page.

Top row — identity

ControlWhat it does
BACKReturns to the EAs table.
NAME boxEditable label, up to 32 characters. Applied when you press SAVE or click away from the box. Semicolons and line breaks become spaces so the state file cannot be corrupted.
SAVEStores name and version immediately and rewrites the settings CSV.
VERSION boxFree-text tag such as 1.7. Purely for you — nothing reads it.
COLORSteps through a 12-colour palette and repaints this EA’s row in the table. Saved with the state file. The default colour is derived from the magic number itself.
HIDE / UNHIDEToggles the hidden flag described above.
Three grey linesMagic 123456   Symbols EURUSD,GBPUSD (up to eight symbols, then …); Broker <company>; Trades from 2026.01.04 to 2026.03.17.

PERFORMANCE — five periods

Today, Yesterday, Week, Month, All-Time. All five are closed P/L only, net of swap and commission, on server-time boundaries (yesterday = previous calendar day, week = since Monday, month = since the 1st). All-Time is the cumulative figure that DD% and the recovery factor are built from.

STATISTICS — sixteen numbers

Left columnRight column
Total tradesExpectancy (average net result per trade)
WinningAvg duration (first deal → closing deal)
LosingLargest win
Win rateLargest loss
Profit factorLargest drawdown, as amount and as % of peak
Avg winMax consecutive wins
Avg lossMax consecutive losses
Recovery factorHealth (score plus word)

Avg duration shows n/a until at least one duration could be resolved. It is measured per closing deal by looking up the position’s first deal time; a position whose history cannot be selected is skipped rather than guessed.

LIVE — five numbers and a verdict

  • Floating — unrealised P/L of this magic’s open positions.
  • Open positions — how many.
  • Net lots — buys minus sells, so a fully hedged EA reads near zero.
  • Exposure (gross) — buys plus sells, i.e. total volume regardless of direction.
  • Risk (% equity) — floating P/L ÷ equity × 100. A negative value is the share of your equity currently at risk; it turns amber when it is worse than −InpDDWarnPct.
  • Bottom line: Health 72 - Good, drawn in the score’s colour.

Tab 3 — RISK: where the account is fragile

Three ranked columns of ten rows, then a margin block with a large verdict badge. Nothing here is a prediction — every row is a measurement of something that already exists.

Column 1 — LARGEST DRAWDOWN (closed trades)

Each EA with a non-zero historical drawdown, sorted by amount (not percentage), worst first: name, the money lost from the peak, and that loss as a percentage of the EA’s peak cumulative profit. An EA that has never been in drawdown does not appear.

Read it as: “this is the worst hole this robot has dug itself out of, or failed to”. A large percentage on a small amount means the EA is fragile but small; a large amount on a small percentage means it is big enough to hurt.

Column 2 — LARGEST FLOATING LOSS

Only EAs that have open positions right now, sorted by current floating P/L with the worst first. Names are trimmed to 22 characters; values are coloured green/red. A positive number at the top means no EA is losing at the moment — the list is not “top losses”, it is simply ordered.

Column 3 — BIGGEST EXPOSURE (three modes)

The SYMBOL / CURRENCY / LOTS button cycles the whole column. The small grey header to its right tells you what the middle column currently means.

ModeRows show
SYMBOLSymbol, its gross lots (buys + sells), and its share of the account’s total estimated margin. Sorted by gross lots. Up to ten symbols; a 32-symbol cap exists, with an OTHER row beyond it.
CURRENCYCurrency code, its net units — green when long, red when short. Sorted by absolute size. Base-currency exposure = net lots × contract size; the profit currency of each pair carries the opposite sign at the current price. A pair quoted in its own base currency (base = profit currency) is skipped, because the two legs would cancel and mislead.
LOTSEA name, its gross lots and its share of all gross lots on the account. The quickest way to see which robot owns the risk.

The CURRENCY view answers a question the symbol table cannot: five long EURUSD, EURGBP and EURJPY positions look diversified by symbol and are one big long-euro bet. Sixteen currencies are listed, then an OTHER row.

MARGIN RISK — the block at the bottom

LineContent
1Margin level: 412.7%, or Margin level: n/a (no margin in use) when nothing is open.
2Warning below 250% — your InpMarginWarnPct.
3Critical below 150% — your InpMarginCritPct.
4Account drawdown 4.3% (warn 10%, crit 20%) — the peak-equity drawdown from the OVERVIEW tab, with your two thresholds.
Big badgeLOW / MEDIUM / HIGH / CRITICAL, in green / amber / orange / red. It is the worse of the margin test and the drawdown test, so one bad number is enough to raise it.

The badge is a state, not a forecast: it says “your margin level is currently under the warning line”, not “you will be stopped out”.

Tab 4 — ANALYTICS: when and where the money is made

Five sub-tabs across the top: CURVE, CALENDAR, MONTHLY, HEATMAP, DIST. The active sub-tab is drawn in the accent colour, and this whole page refreshes on InpAnalyticsRefreshSec (default 5 s) instead of the one-second live cadence, because nothing here changes tick by tick.

Every figure on this page is closed P/L only, net of swap and commission, and deposits and withdrawals are excluded. That is why the totals can differ from your broker statement’s balance change: if you deposited 1,000 and earned 40, the analytics show 40, not 1,040.

CURVE — the cumulative closed-P/L curve

ElementWhat it shows
Title lineClosed P/L curve (deposits excluded).
BarsUp to 60 bars standing on a zero line. Each bar is the cumulative P/L at that point, green above zero and red below, so the shape is your equity curve without the noise of open trades.
Right-hand labelsmax at the top of the plot and min at the bottom, in account currency — the highest and lowest cumulative values in the window.
Info line36 points - cumulative closed P/L, deposits excluded. “Points” is the number of buckets plotted.
DEach bar = one day, the most recent 60 days.
WEach bar = one week (Monday-based), up to 52 bars.
MEach bar = one month, up to 36 bars.
ALLThe whole history squeezed into at most 60 bars by adding neighbouring days together, so an eight-year account still fits.

Read the curve by its slope and its holes, not by its last value. A steady 30° climb on the W view is a strategy that works; a flat stretch followed by a vertical jump is a strategy that was lucky once.

CALENDAR — the month as a heat grid

  • Header: the month and year, with < and > to step backwards and forwards. It opens on the current month.
  • Seven columns, Monday to Sunday, six week rows of 126 × 54 px cells.
  • Each cell shows the day number plus that day’s signed closed P/L, e.g. 14  +312. Days with no closed trade show only the number, in grey.
  • Cell colour encodes the sign and the size: green shades for profit, red shades for loss, in three intensity steps chosen against the biggest absolute day of that month (above two thirds = strongest shade, above one third = medium, otherwise faint). Cells outside the month are not drawn at all.
  • Bottom line: Month total: +1,284.50 in profit/loss colour.

Use it to find the pattern a monthly report hides: three catastrophic Fridays, or a green month made entirely of one Tuesday.

MONTHLY — twelve rows, one year

  • Header: the year with < and > arrows; opens on the current year.
  • Twelve rows, January to December, each with that month’s signed closed P/L in profit/loss colour. Months with no trades read 0.00 — there is no blank state here, because zero really is the answer.
  • Bottom line: Year total: +4,903.20 (currency only - no % because deposits are excluded). The product deliberately refuses to print a percentage return on a balance that may have been topped up mid-year.

HEATMAP — hour, weekday, session, symbol

The SCOPE button cycles ALL and then each EA in turn; everything on this sub-tab follows the scope. All times are server time, shifted by InpSessionShiftHours where that input applies.

BlockWhat is drawn
HOUR OF DAY24 cells in two rows of twelve, each showing 14 +112. The value is the closed P/L of all trades whose closing deal happened in that server hour.
WEEKDAYSeven cells, Mon to Sun, with the same P/L sum by weekday of the closing deal.
SESSIONThree cells — Asia (shifted hours 00–07), London (08–15), New York (16–23). Each is the sum of the three hour blocks in that range, after applying InpSessionShiftHours.
TOP SYMBOLSEight account-wide symbol rows, sorted by absolute P/L, showing EURUSD +1,204.00 (38) — symbol, net P/L and number of trades in brackets. This block is always account-wide, even when a scope is chosen.
Best / WorstTwo lines naming the single best and worst cell across hour, weekday and session — e.g. Best: hour 15: +840.00 and Worst: Fri: -1,120.00. n/a when there is no data.

Colour intensity uses the same three-step rule as the calendar, scaled to the largest absolute value on the page. A trade is attributed entirely to the hour it closed, not to the hour it opened.

DIST — the shape of the distribution

  • Same SCOPE button as the heatmap, and the two share their setting.
  • Six rows: Average winning trade, Average losing trade, Largest gain, Largest loss, Profit factor, Win rate.
  • Note line underneath tells you what you are looking at: Scope ALL = aggregate across EAs; largest values are the maximum over EAs. or Scope Gold scalper (214 closed trades).

Two cautions about the ALL scope: the averages are true aggregates (total gross profit ÷ total winners), but the two “largest” values are the maximum over EAs, i.e. the single biggest trade any one robot took, not a pooled extreme. And with ALL selected the profit factor is computed from the summed gross profit and summed gross loss, which can look better than every individual EA because one robot’s wins offset another’s losses.

Tab 5 — ALERTS: the notification centre

Twelve notification cards per page, newest first. Each card is coloured by severity (blue = info, amber = warning, red = critical), shows the timestamp, a bold title, a detail line, and a * in the left margin while it is unacknowledged.

ControlWhat it does
ACK ALLClears every * at once. The repository keeps up to 200 notifications; when it is full the oldest is dropped to make room.
PREV / NEXTPage through the archive, twelve at a time, with 1/4 as the counter.
ALERTS ON / OFFA runtime switch for the whole alert engine. It starts in whatever state InpAlertsEnabled had when the EA loaded, and it resets to that input on every restart — the button is a session control, not a saved setting. Switching it off stops new notifications; it does not delete the archive.

Every event the product can raise

EventTitle / textSeverityWhen it repeats
New equity high (per EA)New all-time high: Gold scalper / closed P/L +4,120.00 over 210 tradesInfoAt most once per EA per day, and only for EAs with 20+ closed trades.
Drawdown record (per EA)Drawdown record: Gold scalper / 812.40 (9.4%)WarningAt most once per EA per day, when the EA’s worst drawdown deepens past the last value it reported.
EA went quietEA inactive: Scalper B / EA stopped trading for 8 days.WarningOnce per inactivity episode. It re-arms when that EA closes a new trade.
Losing streakLosing streak: Gold scalper / 5 consecutive lossesWarningExactly once per streak: no repeat while the streak continues, ready again after the next win.
Margin warningMargin level WARNING / 241.3% below 250.0%WarningOnce per episode. Re-arms only after margin level climbs back above 110% of the warning line (275% with defaults).
Margin criticalMargin level CRITICAL / 142.8% below 150.0%CriticalOnce per episode. Re-arms above 110% of the critical line (165%).
Account drawdown warningAccount drawdown WARNING / 11.2% >= 10.0%WarningOnce per episode. Re-arms only when drawdown falls back to 2 percentage points below the line (8%).
Account drawdown criticalAccount drawdown CRITICAL / 21.6% >= 20.0%CriticalOnce per episode. Re-arms at 2 points below the critical line (18%).
No ticksNo ticks / no EURUSD ticks for 120 sWarningOnce per episode while the chart symbol is silent for longer than InpStaleTickSec.
ReconnectedReconnected / history resynchronisedInfoEvery time the feed comes back after a disconnect.
Integrity mismatchHistory integrity mismatch / statistics are being rebuilt from historyCriticalOnly on the 6-hourly integrity check, when the stored totals no longer agree with history.

The three gates every alert must pass

  1. Enabled. InpAlertsEnabled must be true and the ALERTS ON button must be on.
  2. Cooldown. Each event key (e.g. MARGIN_WARN, CONSEC:12345) can fire at most once per InpAlertCooldownMin minutes. Default 60.
  3. Hourly cap. At most InpMaxAlertsPerHour alerts per rolling hour window (default 20). The window starts at the first alert and resets an hour later; while the cap is reached, further events are dropped silently — they do not queue up and burst later.

Two things worth knowing: alert evaluation starts only after the first history build has finished (so a fresh install never floods you with old records), and it pauses entirely during a history rebuild. Pop-ups use MetaTrader’s Alert() box; push and e-mail use SendNotification() and SendMail(), and both are suppressed in the Strategy Tester, which cannot deliver them.

Tab 6 — SETTINGS: the current configuration, in one place

This page is a mirror, not an editor. The 21 lines below show the values the EA is actually running with, so you can confirm what you set without reopening the EA properties. To change anything, open the input dialog (right-click the chart → Expert Advisors → Properties, or F7 on the EA), edit the input and press OK; the EA restarts and the page updates.

Left column — the 11 refresh and identity lines

LineExample
Live refreshLive refresh: 1 s
Analytics refreshAnalytics refresh: 5 s
Save intervalSave interval: 60 s
Inactive afterInactive after: 7 days
Verbose logVerbose log: OFF
Panel offsetPanel offset: 10,30
UI scaleUI scale: 100%
Start minimisedStart minimised: NO
Margin warningMargin warning: 250%
Margin criticalMargin critical: 150%
DD warningDD warning: 10%

Right column — the remaining 10

LineExample
DD criticalDD critical: 20%
Alerts enabledAlerts enabled: YES — the input, not the runtime toggle
Alert popup / push / emailAlert popup: ON, Alert push: OFF, Alert email: OFF
Consecutive-loss alertConsecutive-loss alert: 5, or off when the input is 0
Stale-tick alertStale-tick alert: 120 s, or off when the input is 0
Alert cooldownAlert cooldown: 60 min
Max alerts/hourMax alerts/hour: 20
Session shiftSession shift: 0 h

The three buttons

ButtonWhat it doesCost
SCAN ACCOUNTSame action as on the EAs tab: picks up magic numbers that are running but have no closed trade yet.Instant.
REBUILD HISTORYThrows away every statistic and re-reads the whole closed history from scratch, at up to 2,000 deals per second. Use it after importing history, switching broker servers, or when the integrity check reports a mismatch. Names, colours, versions and hidden flags are not lost — they live in the state file, not in the rebuilt data.Proportional to your history; header shows BUILDING again.
SAVE NOWWrites the state file and the settings CSV immediately instead of waiting for the 60-second debounce.Two file writes.

The six information lines

At the bottom of the tab, and the first place to look when something seems wrong:

  1. Bneu EA Intelligence Center v1.00 - read-only, no trading calls — build identity.
  2. State file: MQL5/Files/<path>/IC_<login>.dat — where your names, colours and peak values live.
  3. Settings file: MQL5/Files/<path>/IC_settings_<login>.csv — your EA registry, one line per magic: magic;name;version;colour;hidden. It is read back at start-up, so it is also your backup of every name and colour, and you can edit it in a text editor while the terminal is closed.
  4. Last save: 2026.03.18 14:22:07, or not yet.
  5. Avg timer: 1.84 ms Max: 12.31 ms Objects: 412 Tickets: 1268 — the health of the monitor itself. If Max is persistently above ~50 ms, your terminal is overloaded or the history is enormous; raise the refresh intervals.
  6. Memory: fixed caps - 200 EAs, 2000 tickets, 800/400 days, 64 symbols, 200 notifications. — the hard limits described in Limitations.

Things that do not exist

Every item below is a feature people expect and this product deliberately does not have. Knowing this saves you a support ticket.

You might expect…The truth
That it can close, hedge, trail or “protect” your positionsIt cannot. There is no order-sending function anywhere in the product. It only reads deals, positions and account properties.
That it can pause or disable another EANo. MetaTrader gives no such control to another program. You must stop the EA yourself.
A draggable panelThe panel is a fixed grid of chart objects anchored at InpPanelX / InpPanelY. Dragging or resizing it is not implemented; to move it, change the inputs and press OK.
Clicking a column header on the ALERTS page to sortNotifications are always newest-first. Only the EAs table is sortable.
Editing thresholds on the SETTINGS tabThat page is read-only. All 22 inputs live in the EA’s properties dialog.
Exporting a report to CSV or PDFThe only file output is the internal state file and the five-column EA registry CSV. Statistics are not exported; screenshot the tab instead (or copy numbers by hand).
Seeing several accounts at onceOne chart monitors the account it is attached to. Open another terminal or another chart on a different login for a second account; the two do not talk to each other.
Reassigning a trade to a different EAGrouping is by magic number, exactly as the trade was placed. The product will not re-attribute deals.
An equity curve that includes floating P/LAll curves, calendars, monthly tables and statistics are closed P/L. Floating numbers appear only on the LIVE tiles and the detail view.
Alerts for spread, news, correlation or open-trade countThere are exactly eleven event types, listed on the ALERTS tab. None of them watches spread or the economic calendar.
A daily e-mail digestE-mail fires per event, at most once per cooldown, and never as a summary.
WebRequest, a licence server, a cloud AI, or TelegramNone. No URL is contacted, no DLL is loaded, no key is needed. You do not have to allow anything in the terminal.
Backtesting your EAs for youIt reports what actually happened on the account. Running it in the Strategy Tester only shows the panel against test history.
A light theme or custom colours for the panelThe palette is fixed. The only colour choice is the 12-colour tint of an EA’s table row.

Every input and its default

Twenty-two inputs in five groups, exactly as they appear in the properties dialog. Invalid values are never rejected: the EA clamps them to the nearest allowed value and writes a warning to the Experts log, so a typo can never stop the monitor from starting.

Group 1 — General (5 inputs)

InputDefaultAllowedWhat it does
InpLiveRefreshSec1min 1How often the body of the current tab is redrawn, in seconds. The header is always once a second. Set 1 for a watched screen, 5+ for a VPS.
InpAnalyticsRefreshSec52–60Redraw interval for the ANALYTICS tab only. Larger values make the curve and heatmap cheaper to keep on screen.
InpSaveIntervalSec60min 10Debounce for writing the state file: the EA saves this many seconds after the last change (and always on removal). It does not save on a timer when nothing changed.
InpActiveInactiveDays7min 1An EA with no closed trade for this many days is flagged INACTIVE, filtered by FILTER: INACTIVE, and raises the “EA inactive” alert.
InpVerboseLogfalsetrue / falseAdds detailed lines to the Experts log (object counts, timings, per-module notes). Turn it on only while diagnosing; it grows the log quickly.

Group 2 — Panel (4 inputs)

InputDefaultAllowedWhat it does
InpPanelX10any integerDistance in pixels from the left edge of the chart to the panel.
InpPanelY20any integerDistance in pixels from the top edge. Increase it if the panel covers your price axis or a toolbar.
InpUIScalePct10070–160Scales every font and rectangle. 130% is comfortable on a 4K screen; 80% fits a small window. The panel footprint scales with it, so a bigger scale needs a bigger chart window.
InpStartMinimizedfalsetrue / falsePanel starts collapsed to its header. Applies only the first time the EA ever runs on that terminal — after that the remembered minimise state wins.

Group 3 — Risk Thresholds (4 inputs)

InputDefaultAllowedWhat it does
InpMarginWarnPct250.0any doubleMargin level below this raises the amber state and the MARGIN_WARN alert.
InpMarginCritPct150.0any doubleMargin level below this raises the red state and the MARGIN_CRIT alert. If you set it equal to or above the warning value, the EA swaps the two and logs a warning, so you cannot accidentally invert them.
InpDDWarnPct10.0any doubleAccount drawdown at or above this raises the amber state and ACCDD_WARN. Also used as the amber line for an EA’s floating risk percentage in the detail view.
InpDDCritPct20.0any doubleDrawdown at or above this raises the red state and ACCDD_CRIT. Equal or lower than the warning value? The two are swapped and logged.

Group 4 — Alerts (8 inputs)

InputDefaultAllowedWhat it does
InpAlertsEnabledtruetrue / falseMaster switch for the alert engine. The ALERTS ON/OFF button overrides it at runtime without needing a restart.
InpAlertPopuptruetrue / falseDeliver each alert as a MetaTrader Alert() box. Requires “News” enabled in Tools → Options → Notifications.
InpAlertPushfalsetrue / falseDeliver to the MetaQuotes app on your phone via SendNotification(). Requires your MetaQuotes ID in the same dialog. Never fires in the Strategy Tester.
InpAlertEmailfalsetrue / falseDeliver by e-mail via SendMail(). Requires SMTP configured in Tools → Options → Email. Never fires in the Strategy Tester.
InpConsecLossAlert5min 0Raise a losing-streak alert when an EA reaches this many consecutive losses. 0 disables it. Fires once per streak.
InpStaleTickSec120min 0Raise “No ticks” when the chart symbol has produced no tick for this long. 0 disables it.
InpAlertCooldownMin60min 0Minimum minutes between two firings of the same event key. 0 means the hourly cap is your only limit.
InpMaxAlertsPerHour20min 1Hard ceiling on delivered alerts per one-hour window, counted from the first alert in that window.

Group 5 — Advanced (1 input)

InputDefaultAllowedWhat it does
InpSessionShiftHours0−12 to +12Shifts the hour buckets before they are grouped into Asia (00–07), London (08–15) and New York (16–23). If your broker runs GMT+3 and you think in GMT, set −3 so the session boxes line up with the real sessions. Negative values wrap correctly across midnight.

Worked example of the shift. A trade closes at server hour 17. With 0 it lands in New York. With −3 the shifted hour is 14, so the same trade lands in London — which is correct if the server is three hours ahead of the market clock you reason in. The heatmap hours themselves are not relabelled; only the session grouping moves.

The exact maths, part 1 — what is counted and how

What counts as one trade

One closing deal. MetaTrader records a position closing as a deal with entry type OUT, OUT_BY (close-by) or INOUT (reversal), and that is exactly what the product counts. Deposits, withdrawals, credit operations and balance corrections are not buy/sell deals and are skipped entirely — which is why deposits can never be mistaken for profit.

Net result of that deal is the only P/L used anywhere:

net = DEAL_PROFIT + DEAL_SWAP + DEAL_COMMISSION

Three consequences you should know before you compare numbers with your broker:

  • A partial close is a separate trade. Close 0.10 of a 0.30 position four times and you have four trades, not one. Statistics like win rate and average win then reflect the closes, not the idea.
  • Commission on the opening deal is not included in the closing deal’s net. It appears in the account’s own balance, but the per-trade figure is built from the closing deal only.
  • A trade with net exactly 0 counts in the trade total, breaks both streaks, and is neither a win nor a loss.

The eleven per-EA aggregates

FigureExact formula
Total tradesEvery counted closing deal for that magic.
Wins / LosesCount of trades with net > 0 / net < 0.
Cumulative P/LSum of net over all trades, in order of deal time.
Win rate100 × wins / trades
Gross profit / Gross lossSum of the positive nets / sum of the absolute negative nets.
Profit factorgrossProfit / grossLoss; 999 if there is no loss and some profit, 0 if there is neither.
Average win / Average lossgrossProfit / wins / −grossLoss / losses (so the loss figure is negative).
ExpectancycumPL / trades — what one trade is worth on average.
Recovery factorcumPL / maxDDAmount; 99 if there was never a drawdown and P/L is positive.
Max drawdownDeepest peakCumPL − cumPL seen, both as an amount and as a percentage of the peak at that moment.
Max consecutive wins / lossesThe longest run of same-sign trades; a flat trade resets both counters.

Worked example

Five trades in order: +100, −50, +200, −80, +30.

TradeNetRunning cumPLPeakDrawdown
1+1001001000
2−505010050
3+2002502500
4−8017025080 ← deepest
5+3020025050

Result: 5 trades, 3 wins, 2 losses, win rate 60.0%, gross profit 330, gross loss 130, profit factor 2.54, average win 110.00, average loss −65.00, expectancy 40.00, max drawdown 80.00 = 32.0% of the 250 peak, recovery factor 2.50.

Account-level figures

  • Peak equity — the highest equity ever seen on this account while the product was running, persisted in the state file. A deposit does raise it, because equity really did go up; that is the one place a deposit leaks into a number.
  • Account drawdown % — 100 × (peakEquity − equity) / peakEquity, floored at 0. It uses equity, so open positions count.
  • Margin level — 100 × equity / margin. Undefined (shown n/a) when margin is 0.
  • Floating P/L — equity − balance.
  • Risk level — take the margin test: CRITICAL if level < critic, else HIGH if level < warn, else LOW. Take the drawdown test: CRITICAL if dd ≥ ddCrit, else HIGH if dd ≥ ddWarn, else LOW. The badge shows the worse of the two, so a comfortable margin never hides a deep drawdown.

Exposure maths

  • Net lots = Σ buy volume − Σ sell volume. Gross lots = Σ buy + Σ sell.
  • Estimated margin per symbol = gross lots × the margin OrderCalcMargin reports for one lot at the current ask (cached 60 s). The share is that symbol’s estimate ÷ the total estimate × 100.
  • Currency units = net lots × contract size for the base currency, and minus that × price for the profit currency (long EURUSD = long EUR, short USD). Base = profit-currency pairs are skipped.

Example: 0.50 lots EURUSD and 0.20 lots GBPUSD. EURUSD margin per lot is 1,000 and GBPUSD 1,200, so the estimates are 500 and 240, total 740. EURUSD’s share is 67.6%, GBPUSD’s 32.4%, and the “Top symbol” note turns amber because one symbol owns more than half the margin.

The exact maths, part 2 — the 0–100 health score

The score answers one question: “if I had to keep exactly one robot, how comfortable would these numbers make me?” It is a weighted average of six 0–100 sub-scores. There is no hidden penalty, no black box and no machine learning — every step is listed below and you can reproduce any score by hand.

First a gate: fewer than 20 closed trades returns “no score” (-- / Insufficient data). A 6-trade miracle must not outrank a 600-trade workhorse.

The six sub-scores

#ComponentInputSub-score (0–100)Weight
1Profitabilityprofit factor (PF)Piecewise: 0 at PF ≤ 0.80, rising linearly to 40 at PF 1.00, 80 at PF 1.50, 100 at PF ≥ 2.00.25%
2Consistency% of profitable days100 × (pct − 30) / 40, clamped to 0–100. 30% profitable days = 0, 70% = 100. Measured over the last 90 trading days with activity.20%
3DrawdownmaxDD ÷ grossProfit100 × (1.0 − ratio) / 0.9, clamped. A drawdown of 10% of everything ever won scores 100; a drawdown equal to all winnings scores 0.20%
4Recoveryrecovery factor100 × rf / 3, clamped. RF 3 or better = 100.15%
5Win ratewin rate %100 × (wr − 30) / 40, clamped. 30% = 0, 70% or more = 100.10%
6Stabilitycoefficient of variation of daily P/LCV = standard deviation ÷ mean absolute daily P/L. 0.8 or less = 100, 3.0 or more = 0, linear between. Fewer than 10 days of activity scores a neutral 50.10%
score = round( 0.25×profit + 0.20×consistency + 0.20×drawdown
             + 0.15×recovery + 0.10×winrate + 0.10×stability )

The five labels

ScoreLabelHow to read it
85–100ExcellentStrong edge, shallow drawdown, steady day-to-day. Leave it alone.
70–84GoodProfitable with some lumpiness. Normal for a working EA.
50–69FairEdge exists but the risk profile is uncomfortable; watch position sizing.
30–49WeakLosing or wildly inconsistent. Consider reducing size or stopping.
0–29CriticalThe numbers do not support running it at current size.

Worked example

An EA with 214 trades, PF 2.54, 40 profitable days out of 60 active days, maxDD 80 against gross profit 330, recovery factor 2.50, win rate 60%, and a daily CV of 0.24.

ComponentCalculationSub-scoreWeighted
ProfitabilityPF 2.54 ≥ 2.00100.025.00
Consistency(40/60) = 66.7% → (66.7 − 30)/4091.718.34
Drawdown80/330 = 0.2424 → (1.0 − 0.2424)/0.984.216.84
Recovery2.50/383.312.50
Win rate(60 − 30)/4075.07.50
StabilityCV 0.24 ≤ 0.80100.010.00
Total90.18 → 90 = Excellent

What the score cannot see

  • It has no idea what the market is doing next, and it is not a forecast.
  • It ignores position size relative to your account — a perfect 100 on 0.01 lots and a perfect 100 on 5 lots look identical.
  • It ignores correlation between your EAs. Three Excellent robots all long gold are still one bet, so check the RISK tab’s currency view before you feel safe.
  • The consistency and stability parts only look at roughly the last 90 active days, so an old blow-up fades out of the score — but it never fades out of the drawdown figure, which is all-time.

Timing and guard behaviour

One timer, one second, one worker

On init the EA calls EventSetTimer(1). Everything it does happens inside OnTimer(), in this fixed order, once per second:

  1. Connectivity. Updates the connected flag; on a fresh connection after a loss it queues the RECONNECT alert and marks history for resync.
  2. History work — whichever of build, incremental sync, integrity check or scan is due.
  3. Live data — positions, account properties, exposure and the margin cache. No history query happens here.
  4. Alerts — only if the runtime switch is on.
  5. Persistence — the debounced save. It runs even while disconnected, because it is a local file.
  6. Period rollover — recompute the day/week/month boundaries before drawing, so “Today” is already correct at 00:00:01.
  7. Panel — header every tick, body per InpLiveRefreshSec or InpAnalyticsRefreshSec.
  8. Timing record — feeds the Avg/Max timer figures on the SETTINGS tab.

OnTick() does exactly one thing: it stores the current time for the stale-tick check. Ticks never trigger heavy work, so a quiet symbol cannot stall the panel and a busy one cannot flood it.

History engine, four modes

ModeHeaderWork per secondWhen
BUILDBUILDING x%2,000 deals, then returns; the next tick continues from that cursorFirst run, or when the state file is missing or rejected
REBUILDBUILDING x%Same, from zero, keeping names and coloursREBUILD HISTORY, or after an integrity mismatch
SCANSCANNING2,000 deals, magic and symbol onlySCAN ACCOUNT, and once on a fresh install
INTEGRITYVERIFYING2,000 deals, counting and summingEvery 6 hours (21,600 s), or on request

While any mode is active, incremental syncing and per-EA alerts wait. That is intentional: partial data must never produce a notification. Only feed-level events (margin, drawdown, stale ticks) keep evaluating.

Incremental sync

  • Runs as soon as the engine knows history changed, and at least every 30 seconds as a fallback.
  • It re-reads from one hour before the last processed deal time to now — a deliberate overlap that catches late-arriving deals and server-side corrections without scanning the whole account.
  • Duplicates are impossible: every processed ticket is remembered in a sorted list of up to 2,000 tickets and skipped on sight.
  • If that one-hour window contains more than 2,000 deals (a very busy day, or history was re-downloaded), the EA escalates to a full chunked rebuild instead of a partial sync.

The guards

GuardTriggerBehaviour
Integrity checkEvery 6 hoursRe-reads all deals and compares the count and net sum against what is stored. A difference raises the CRIT alert “History integrity mismatch” and starts a rebuild. It also verifies that the remembered ticket list is strictly ascending, which catches duplicates.
Clock jumpServer time jumps back more than 1 hour, or forward more than 2 daysLogs one warning, recomputes all period boundaries and resyncs history. Without this, a weekend gap or a broker time change would corrupt “Today”.
DisconnectTerminal reports not connectedNo history work, no live reads, no alerts. The panel keeps the last known numbers and the save loop keeps running.
ReconnectConnection returnsRECONNECT alert, history marked dirty, incremental sync forced at once instead of waiting up to 30 seconds.
Ticket memory2,000 processed deals reachedThe oldest ticket is forgotten. On an account this large, run REBUILD HISTORY once so the stored statistics are provably complete, then leave it alone.
EA records200 magic numbersNew magics beyond the cap are not tracked; the fact is logged. Unreachable for a normal retail or prop account.
Daily series400 active days per EA, 800 for the accountOlder days roll off the daily series used by the curve, calendar and monthly views. Lifetime totals, peaks and drawdowns are unaffected.
Notifications200 stored alertsThe oldest is dropped when a 201st arrives.
Dedupe keys96 distinct event keysAbout twenty EAs’ worth of per-EA keys plus the seven account-wide ones. Beyond that, extra keys have no stored cooldown and are limited only by the hourly cap.
Log size512,000 bytesThe log is truncated rather than growing without limit.
UI failureChart objects could not be createdThe dashboard disables itself and logs why; the statistics engine and alerts keep running. You can lose the panel, never the data.

Persistence rules

  • The state file is written atomically — temporary file first, then rename — so a crash mid-write cannot corrupt it.
  • Writes are debounced by InpSaveIntervalSec (default 60 s) after the last change, and always happen on removal via OnDeinit.
  • The file name includes the login, so two accounts never share a state file.
  • A file that fails its own header, version or length checks is discarded and the data is rebuilt from history. You would lose names and colours; you never lose the account’s real numbers.

A repeatable weekly routine

The panel rewards five minutes of habit more than any amount of staring. Here is a routine that uses every tab at least once.

Every morning, two minutes

  1. OVERVIEW — margin level above your warning line, drawdown percentage where you expect it, floating P/L explained by positions you know about.
  2. RISK — the badge. If it is not LOW, read the four lines under MARGIN RISK before you do anything else.
  3. ALERTS — anything unacknowledged since yesterday. Investigate first, then ACK ALL; an archive you never clear stops being a signal.

Every Wednesday, five minutes

  • EAs, default sort — the status grouping puts Active on top. Any robot showing INACTIVE that you expected to be working?
  • FILTER: INACTIVE — the list should be short and boring. A surprise here is often a symbol rename or a broker suffix change, not a broken strategy.
  • Health column — scan for anything that dropped a label band (Good → Fair). One bad week does not mean a broken EA, but two in a row is worth a look.

Every weekend, twenty minutes

  1. ANALYTICS → CURVE, W view — is the slope still up, or has it been flat for three weeks?
  2. ANALYTICS → CALENDAR, this month — find the worst day. Was it one EA, one symbol, or everything at once? Everything at once is a market event; one EA is a strategy problem.
  3. ANALYTICS → HEATMAP — best and worst cells. If all your losses cluster in one session, the EA is trading a session it was not designed for.
  4. RISK → exposure in CURRENCY mode — the check that prevents the classic “five EAs, one currency” accident.
  5. Detail view of the worst PF — is the deepest drawdown bigger than the total profit? If yes, the robot has given back more than it ever earned and the Health score already knows.
  6. SETTINGS — Last save should be recent, Avg timer under a few milliseconds, Tickets well below 2,000.

Monthly, five minutes

  • Copy IC_settings_<login>.csv somewhere safe; it is the only record of your names and colours.
  • Re-read your thresholds. Account grew? A 10% drawdown is now a bigger number of money than when you set it.
  • Retire what you no longer run: HIDE it in the detail view instead of deleting history. A hidden EA is still counted in totals, which is what you want for a true account picture.

Decision table — what the numbers should make you do

SignalSensible action
Health < 30 on 100+ tradesStop it, or cut size hard. The maths is not ambiguous at that level.
Health 30–49Reduce risk, keep watching for two weeks. Look at the drawdown figure before the win rate.
PF below 1.0 over the last monthIt is losing money now, whatever the all-time figure says.
Recovery factor below 1.0The worst hole was deeper than the profit made. Fragile.
Max consecutive losses ≥ your InpConsecLossAlertYou already got the alert. This is the moment to check whether the EA expects streaks that long.
One symbol > 50% of marginConcentration. Reduce lots or accept the single-market risk knowingly.
Two or more EAs on the same currency sideYou are running one bigger position, not two strategies.
INACTIVE for no reasonCheck the EA itself — symbol suffix, Algo Trading, licence, VPS clock. The monitor only reports silence, it cannot explain it.

Troubleshooting — symptom, cause, fix

Installation and start-up

SymptomCauseFix
The EA is not in the NavigatorFile copied to a different terminal’s folder, or the Navigator was not refreshedCheck MQL5\Experts inside this terminal’s data folder (File → Open Data Folder), then right-click Navigator → Expert Advisors → Refresh.
“Expert is not allowed to trade” / nothing happens at allAlgo Trading is offPress the Algo Trading toolbar button; the chart smiley must be happy. Boxes are not required for a read-only EA, but Algo Trading is.
Named EX5 is greyed out or will not loadThe compiled file was built on a much newer MT5 build than yoursRecompile the source with your own MetaEditor (F7), or use a build-appropriate .ex5.
“unknown type” / include errors when compilingHeader files not in MQL5\Include\BneuTech\Create exactly that folder name and put IC_All.mqh and IC_Types.mqh in it. The include path is case-sensitive in the source.
Header stuck at BUILDING 0%No history selected, or disconnectedConfirm the terminal is online; if the account genuinely has no closed deals, 0 deals is correct and the build finishes instantly at 100%.
Header shows DISCONNECTEDTerminal offline, or the account logged outReconnect in the terminal. The EA resumes automatically and fires RECONNECT.
Nothing on the chart, log says “dashboard disabled”Chart objects could not be created (rare: restricted object permissions)Right-click chart → Object List, check objects are allowed; restart the terminal. The engine still records data and alerts — only the panel is missing.

Panel and display

SymptomCauseFix
Panel is cut off at the right or bottomChart window smaller than the panel (980 × 620 at 100%)Maximise the chart window, or lower InpUIScalePct to 80–90 and reattach.
Text is tiny / unreadable on a 4K monitorScale left at 100%Raise InpUIScalePct (up to 160) and enlarge the chart window to match.
Panel overlaps the price axis or a toolbarFixed anchor positionChange InpPanelX / InpPanelY and press OK.
Panel disappears when switching timeframesSome templates delete chart objects on timeframe changeThe EA redraws on its own next tick; if not, open the EA properties and press OK to restart it.
Old objects left over after a version changePrevious build created objects with the same prefixReattach the EA — it deletes every object whose name starts with BNIC_ before building.
Panel is a single line and will not expandPanel is minimisedClick the + on the right of the header.
Panel is gone after restart, but the EA is in the cornerThe panel was minimised when you last used itClick the +. The minimise state is remembered deliberately.
Flickering numbersLive refresh at 1 s with a busy accountThis is a repaint, not an error. Set InpLiveRefreshSec to 2–5 if it bothers you.

Numbers and statistics

SymptomCauseFix
An EA I run is missing from the tableIt has never closed a trade and holds no position, or the build has not finishedWait for CONNECTED, then press SCAN ACCOUNT.
Two robots appear as one rowThey share a magic numberGive each EA a distinct magic in its own inputs. The monitor cannot split deals that look identical.
My EA’s trades land in “Manual”The EA sends magic 0, or writes its name in the comment instead of the magic fieldSet a real magic in that EA. Comments are not used for grouping.
Figures differ from the broker statementDifferent definitions: statement balance includes deposits; entry commissions sit on opening deals; partial closes are separate dealsExpected. Compare with the maths section, not with the balance column.
DD% is enormous on a young EAIt is a percentage of the peak cumulative profit, not of your balanceAn EA that made 50 and lost 40 has an 80% drawdown. Read the amount as well as the percentage.
Health shows --Fewer than 20 closed tradesNothing to fix — the score refuses to judge a small sample.
Win rate 100% and PF 999.00The EA has no losing trade yetCorrect by definition. It normalises as trades accumulate.
Today’s P/L does not move after a closeIncremental sync has not run yetWait up to 30 seconds. Still nothing? Check the terminal’s History tab actually shows the deal.
Floating is 0 for an EA that has positionsThe positions were opened manually (magic 0) or by another accountCheck the “Manual” row and the EA’s own magic in its trade dialog.
Calendar or monthly view is empty for a monthNo deals closed that month, or those days rolled off the 400/800-day series capUse the month arrows; very old months legitimately have gaps.
Curve is flatThe chosen period has no closed tradesSwitch to W, M or ALL.
Heatmap hours are all zeroWrong scope selectedPress the SCOPE button until it reads ALL.
Sessions look shifted by hoursYour broker’s server time is not the timezone you reason inSet InpSessionShiftHours (e.g. −3 for a GMT+3 server).
Everything reads n/aDisconnectedReconnect the terminal; values return on the next tick.

Alerts, performance and persistence

SymptomCauseFix
No alerts at allInpAlertsEnabled false, the ALERTS OFF button latched, or the first build has not finishedCheck both switches and wait for CONNECTED. Per-EA alerts are deliberately silent until the first build completes.
The same alert keeps repeatingInpAlertCooldownMin is 0, or many EAs share the same conditionSet the cooldown back to 60. Each EA has its own key, so ten EAs can each fire once.
Push messages never arriveMetaQuotes ID missing, or you are in the Strategy TesterTools → Options → Notifications, enter the ID, press Test. Push is suppressed in the tester by design.
E-mails never arriveSMTP not configured or blockedTools → Options → Email: server, port, login, password, recipient, then Test. Check spam.
Pop-up boxes never appear“News” is disabled in the Notifications dialogEnable it — MetaTrader shows Alert() boxes under that setting.
Alerts stopped mid-sessionThe hourly cap was reachedExpected: InpMaxAlertsPerHour drops excess events instead of queueing them. Raise it only if you really want more.
Avg timer climbing into tens of millisecondsEnormous history, many EAs and objects, or a slow VPSRaise InpLiveRefreshSec and InpAnalyticsRefreshSec, minimise the panel, close other charts.
State file never appearsMQL5/Files/BneuTech is read-only, or the login was unknown at initCheck folder permissions on the VPS. Last save: not yet plus a normal login means permissions.
Names and colours lost after restartThe state file was rejected, or you logged into a different accountRename again and press SAVE NOW, then restore from your monthly backup of the settings CSV.
Statistics reset after a broker history re-downloadHistory changed under the stored dataRun REBUILD HISTORY. Names and colours survive.
“History integrity mismatch” alertThe stored count or net sum no longer matches historyNothing to do — the EA rebuilds automatically. If it repeats daily, your broker is rewriting history.
Log file stops growingThe 512 KB cap was reachedExpected. Restart the terminal, and turn InpVerboseLog off if it is on.

Error codes and log messages, decoded

First, the important part: this product has no trade retcodes, because it never sends an order. There is no 10009, no 10016, no requote and no partial fill to interpret. What it can report is (a) its own status strings and (b) numeric codes handed back by MetaTrader when a file, an alert box, a push or an e-mail could not be delivered.

Every line below appears in the Experts tab and in the product’s own log file. The text is the reliable part; MetaTrader sometimes reports a different number for the same cause on a different build.

Status strings in the header

StringMeaningAction
BUILDING 42%Reading history; 42% of the deals in the range processedWait. Do not remove the EA.
SCANNINGWalking deals to discover magic numbersWait; usually seconds.
VERIFYINGThe 6-hourly integrity checkWait; it re-reads all deals.
CONNECTEDLive, up to dateNothing.
DISCONNECTEDTerminal offline; last known numbers stay on screenReconnect the terminal.

Internal messages, decoded

Log lineWhat it meansAction
input InpX=5 clamped up to 10Your value was outside the allowed range and was corrected, not rejectedNone; the corrected value runs.
inputs: margin critical must be below warning - values swappedYou inverted the two margin thresholds; the EA reordered themSet them deliberately if you meant something else.
inputs: drawdown critical must be above warning - values swappedSame, for the drawdown pairSame.
build complete - 1268 closing deals, 7 EAsFirst build finished; totals are now trustworthyNothing. This is the line to look for.
history: full rebuild started (names/colours/versions/hidden preserved)A rebuild began; identity survivesWait.
history: 3120 deals in the resync window - chunked rebuild insteadA partial sync found too much new data and escalatedNone — the guard working.
history: duration queue full (512) - durations skipped for the rest of this chunkMore than 512 closes in one chunk; average duration may be slightly off for that chunkHarmless; a rebuild clears it.
history: HistorySelect failed for the active chunkMetaTrader refused a history query, usually mid-downloadThe mode ends; the next tick retries.
integrity: OK (1268 deals, +4,903.20)Stored totals match historyNothing.
clock jump -7200 s - recomputing period boundaries and resyncing historyServer time moved a long way (weekend gap, DST, broker change)None; one warning per event.
reconnected - resyncing historyThe feed returned and a RECONNECT alert was raisedNothing.
store: login unknown, save skippedThe login was not available at that momentUsually transient at start-up; re-login if it repeats.
store: cannot open <path> (err 5004)The state file could not be writtenSee the file-code table below.
ui: dashboard disabled (err N) - engine keeps runningChart objects could not be createdPanel only; statistics and alerts continue.
alerts: Alert() error NThe pop-up box could not be shownEnable “News” in Tools → Options → Notifications.
alerts: SendNotification error NPush refused by the terminalCheck the MetaQuotes ID; the tester never delivers.
alerts: SendMail error NE-mail refused by the terminalCheck SMTP settings and press Test.
alerts: module error N (engine continues)Something inside the alert pass failed; the rest kept workingReport it with the full log if it repeats.

Numeric file and delivery codes

CodeNameUsual cause here
5002ERR_FILE_NOT_EXISTA state or settings file was expected and is missing (normal on first run)
5004ERR_FILE_CANNOT_OPENRead-only folder, file locked by another copy, or a permissions issue on a VPS
5005ERR_FILE_CANNOT_READThe file exists but cannot be read — often antivirus interference
5007ERR_FILE_CANNOT_WRITEDisk full or folder not writable
4001ERR_FUNCTION_NOT_CONFIRMEDE-mail not configured or not confirmed in the terminal
4014ERR_FUNCTION_NOT_ALLOWEDThe function is not permitted in this context — typically push or mail inside the Strategy Tester

Two codes you will never see from this product: 10009 (request completed) and 10016 (invalid stops). It does not trade, so it cannot complete a trade request or send invalid stops.

Frequently asked questions

Does it trade for me?

No. It never sends, modifies or closes an order. There is no signal, no bias and no lot calculation for entering a trade. Every input on the product changes how something is displayed, measured or alerted, and nothing else.

Will it slow my terminal down?

Normally no: about one to three milliseconds per second on a typical account. The one heavy moment is the first build, which reads your whole closed history 2,000 deals per second. After that it only reads the last hour of deals and the live account. If the SETTINGS tab says Max is consistently above 50 ms, raise the refresh intervals and minimise the panel.

Can I run it on several charts?

On different accounts — yes, one copy each; the state files are per login. On the same account — no. Two copies would write the same IC_<login>.dat and fight over it.

Do I need to allow any URL for WebRequest?

No. The product makes no network request of any kind. If a guide tells you to whitelist something for this EA, that guide is about a different product.

Why do the numbers differ from my broker statement?

Four reasons, all intentional: deposits and withdrawals are excluded; only the closing deal is counted per trade, so an entry commission sits outside the trade figure; a partial close counts as its own trade; and everything is grouped by magic number rather than by symbol. See the maths.

Why is my EA missing, or why are its trades under “Manual”?

Because its deals carry magic 0. The row called Manual is magic 0 — manual trades and any EA that never sets a magic. Give that EA a real magic and its future trades appear in their own row; the old ones stay where they were placed, because history is never rewritten.

Does it work on netting accounts and on hedging accounts?

Both. Statistics come from deals, which exist in both models. Net lots and gross lots are computed from open positions, so on a netting account a hedged pair shows as one position, on a hedging account as two.

What if the same EA runs on two charts with the same magic?

Its trades merge into one row. That is often what you want (one strategy, several symbols), and it is wrong if the two copies are different strategies — in that case give them separate magics.

Does it reset at the start of every month?

No. Totals are cumulative and permanent. The Today / Week / Month figures are windows onto that same history, and they roll over at the server’s midnight, Monday and first-of-month.

Why did “Today” reset at an odd hour?

Because it uses the broker’s midnight, not yours. A server on GMT+3 resets “Today” three hours before London midnight. There is no setting for this; it is deliberate, so your figures line up with the deals.

Can I delete the .dat file?

Yes, and it is safe: you lose names, colours and the remembered peak equity, and the EA rebuilds all statistics from history on the next start. Do it while the EA is removed, not while it is running.

Does it work in the Strategy Tester?

The panel and statistics work; push and e-mail do not, because the tester cannot deliver them. It is useful for checking that the panel renders, not for evaluating a strategy.

Is the health score a rating of the EA’s future?

No. It is a description of what has already happened, with six weighted components that you can recompute by hand. A high score is not a promise, and a low score is not a prophecy — it is a summary of realised behaviour.

Will Telegram alerts be added?

There is no Telegram, no Discord and no webhook support in this version. Delivery is pop-up, MetaQuotes push and e-mail, all through MetaTrader itself.

Can it monitor a second account from one chart?

No. One chart sees one login. For two accounts, run two copies — in the same terminal on two charts (they are independent because the login differs) or in a second terminal.

My build is stuck at 99%. Is it broken?

Not necessarily. The percentage is processed ÷ found, and the last percent can include the slow duration lookups and the final save. If it stays for several minutes, check the Experts log for HistorySelect failed — the terminal may still be downloading history.

Glossary

TermPlain-English meaning here
Magic numberThe integer an EA attaches to its orders so it can recognise them later. It is the product’s unit of identity: one magic = one row = one EA. Magic 0 means “not from an EA” and is shown as Manual.
DealOne executed action in the account: an entry, an exit, a commission or a balance change. Only exit deals (OUT, OUT_BY, INOUT) are counted as trades here.
PositionThe open trade itself, made of one or more deals. LIVE figures are about positions; statistics are about deals.
Netting / hedgingTwo ways MetaTrader can hold trades. Netting keeps one position per symbol; hedging allows several in both directions at once. Both are handled.
BalanceClosed money: what you have after every realised result.
EquityBalance plus the floating result of open positions — the number that matters for margin.
Floating P/LEquity minus balance: the result of positions still open.
MarginThe part of equity the broker locks to keep positions open.
Free marginEquity minus margin: what is left to open something new.
Margin levelEquity ÷ margin × 100. Below the broker’s stop-out level, positions are closed for you.
DrawdownHow far you are below your peak. On the account it is measured on equity; per EA it is measured on cumulative closed P/L.
Peak equityThe highest equity this account reached while the product was running.
Profit factorMoney won ÷ money lost. Above 1 means profitable.
Recovery factorTotal profit ÷ worst drawdown: how well the EA recovers from its own bad periods.
ExpectancyAverage net result per trade — the single most honest “is this worth running” number.
Win rateShare of trades that ended positive. A high win rate with a poor profit factor is still a losing system.
Coefficient of variation (CV)Standard deviation ÷ mean absolute value. A unit-free measure of how lumpy the daily results are; used in the stability sub-score.
Gross lotsTotal volume, buys plus sells. This is what the broker charges margin on.
Net lotsBuys minus sells. Zero means fully hedged, not necessarily safe.
ExposureHow much of a symbol or currency you actually hold, after netting.
Contract sizeUnits per lot, e.g. 100,000 for a standard FX pair. Turns lots into currency units.
SessionHere: Asia (shifted hours 00–07), London (08–15), New York (16–23).
Server timeYour broker’s clock. Every day, week and month boundary uses it.
State fileIC_<login>.dat: the private binary file holding statistics, peaks, names, colours and the notification archive.
Global variableA value MetaTrader stores per terminal rather than per EA. Used here for the minimise state, the page and the sort choice.
Chart objectEverything on the panel is a chart object whose name starts with BNIC_. That prefix is how the EA sweeps up its own leftovers.
Integrity checkThe 6-hourly re-read that proves stored totals still match history.

Technical specifications

PropertyValue
Product nameBneu EA Intelligence Center
Version1.00
FileBneuTech_EA_Intelligence_Center.ex5; source plus IC_All.mqh and IC_Types.mqh in MQL5/Include/BneuTech/
TypeRead-only dashboard and analytical utility — not a trading strategy
PlatformMetaTrader 5 only (MQL5). MT4 is not supported.
Account typesDemo, live, cent, prop/funded; netting or hedging
InstrumentsAny the account trades; the chart symbol only affects the stale-tick alert
Trading callsNone. No OrderSend, OrderClose, PositionModify, OrderDelete or trade class in the source
NetworkNone — no WebRequest, no sockets, no DLLs, no Telegram, no cloud
Inputs22, in five groups (General, Panel, Risk Thresholds, Alerts, Advanced)
Timer1 second (EventSetTimer(1)); OnTick only records time
History throughput2,000 deals per timer tick
Integrity period6 hours (21,600 s)
Panel footprint980 × 620 px at 100%; scaling 70–160%
Chart objectsCreated once at init and then updated in place (text, colour, size) — never recreated per tick; prefixed BNIC_; all deleted on removal
Files writtenMQL5/Files/BneuTech/IC_<login>.dat (state), IC_settings_<login>.csv (EA registry) and a log file in the same folder
Hard caps200 EAs, 2,000 tickets, 400 daily rows per EA, 800 account daily rows, 64 symbols, 8 symbols per EA, 200 notifications, 96 dedupe keys, 32 exposure symbols, 16 currencies, 64 margin-cache rows, 512 KB log
Strategy TesterRuns; push and e-mail are suppressed by MetaTrader
LanguageInterface in English; numbers and dates follow the terminal locale

Limitations and risk disclosure

What it measures, and what it therefore cannot see

  • Closed results only, for the statistics. A beautiful open position is invisible to the curve, the calendar and the health score until it closes.
  • One closing deal = one trade. Partial closes inflate the trade count and flatten the averages. This is a definition, not a bug, but it changes the interpretation of every ratio.
  • Entry commissions are outside the per-trade figure. A broker charging commission on entry only will always look slightly better here than in the statement.
  • Peak equity starts when the product first runs. An account that fell 30% last year and recovered before you installed this will show a small drawdown. The per-EA closed-trade drawdown does cover the whole history, which is why both numbers exist.
  • Margin exposure is an estimate. It uses one OrderCalcMargin call per symbol at the current ask, cached for 60 seconds, and ignores broker leverage tiers, hedged-margin discounts and stop-out rules.
  • Currency exposure is approximate for crosses: it converts the profit leg at the current price and skips base = profit pairs.
  • The health score is a score, not a verdict. Its weights are fixed and published above; a different weighting would rank your EAs differently.
  • No cross-account view. One chart, one login.
  • History caps. Daily series keep 400 active days per EA (800 for the account). Older days disappear from the curve and calendar; lifetime totals and drawdowns do not.
  • 2,000-ticket memory. Beyond that, duplicate protection weakens on accounts with enormous histories; rebuild once, then trust the totals.

Risk disclosure

This product is an information tool. It does not manage risk, size positions, close trades or protect an account. A green badge is not a guarantee, a red badge is not a stop-out notice, and the absence of an alert is not the absence of a problem — alerts only fire for the eleven events listed, with a cooldown and an hourly cap. Trading leveraged products can lose more than your initial deposit. Base every decision on your own analysis, your broker’s statements and the rules of your account provider, not on a dashboard.

Support — what to send

Almost every question is answered above. If it is not, send these seven things in one message and the answer usually comes back in a single reply.

  1. Version and build. The SETTINGS tab line Bneu EA Intelligence Center v1.00 ... plus your MetaTrader build number (Help → About).
  2. A screenshot of the SETTINGS tab. It contains all 21 current values and the six diagnostic lines — the single most useful image you can send.
  3. The Experts log from start-up. Right-click the Experts tab → Clear, reattach the EA, wait until the header reads CONNECTED, then copy everything. Make sure InpVerboseLog was on for the run if you are reporting a performance problem.
  4. The product log file from MQL5/Files/BneuTech/ if it exists — it survives terminal restarts.
  5. What you expected versus what happened, in numbers: “I expected the month total to be +420.50 because my statement says so; the row says +400.10”.
  6. Account shape. Broker name, account type (demo/live/cent/funded), netting or hedging, and roughly how many EAs and how many closed trades. Never send your login or password.
  7. What you already tried from the troubleshooting tables, so we do not repeat it.

Before you write — the five-minute self-check

  • Is Algo Trading on and the chart smiley happy?
  • Does the header say CONNECTED?
  • Does the EA in question actually use a unique magic number?
  • Is the number in question closed P/L (not floating) and inside the period you think?
  • Does the SETTINGS tab show a recent Last save and a sane Avg timer?

If all five are yes, the product is doing what it was designed to do — and whatever looks odd is in the definitions above, not in the code.

Report issues through the MQL5 product page’s comment area so the version trail stays with the product. Include the seven items above in the first message; a report without the log line and the SETTINGS screenshot cannot usually be diagnosed.