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.
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:
OrderSend, OrderClose, PositionModify or OrderDelete call in the product. It cannot hurt your account even if you misconfigure every input.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).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.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.
| Item | Requirement |
|---|---|
| Platform | MetaTrader 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. |
| Account | Any: demo, live, cent, prop/funded. Hedging or netting. The account currency is used as-is; the EA does not convert P/L between currencies. |
| Chart | Any symbol, any timeframe. It is used only for the “no ticks” stale alert and as a place to draw the panel. |
| Chart window size | At 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 Trading | Must be ON (toolbar button green, smiley in the chart corner). Applies to every EA, including read-only ones. |
| Network / WebRequest | Not required. The product makes no HTTP request of any kind. Do not add any URL to the WebRequest list — there is nothing to allow. |
| DLLs | None. Do not enable DLL imports. |
| File write access | Required. 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. |
| History | Your 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.
In MetaTrader 5 choose File → Open Data Folder. A Windows Explorer window opens on your terminal’s private folder. Then:
BneuTech_EA_Intelligence_Center.ex5 into MQL5\Experts\.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>.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.
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.
Alert() windows are shown. (MetaTrader calls alert boxes “news” in this dialog.)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.
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.
MQL5/Files/BneuTech/.BUILDING xx% while this runs. The percentage is deals processed ÷ deals found, so it can sit still for a second and then jump.IC_<login>.dat (the state file), logs build complete in the Experts tab, and the header changes to CONNECTED.… and -- rather than half-built numbers. This is deliberate.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.
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.
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”.
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.
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%.
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.
On the SETTINGS tab, SAVE NOW writes both files immediately. Afterwards the EA saves itself 60 seconds after any change and always on removal.
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.
| Input | Value | Why |
|---|---|---|
InpLiveRefreshSec | 1 | Live values every second; cheap, it only reads account info. |
InpAnalyticsRefreshSec | 5 | Curves change slowly; 5 s keeps them smooth without redraw churn. |
InpSaveIntervalSec | 60 | A state file at most a minute old. |
InpActiveInactiveDays | 7 | A robot silent for a week is INACTIVE — right for weekly strategies. |
InpMarginWarnPct / CritPct | 250 / 150 | Standard broker warnings; under 150% is one bad hour from a stop-out. |
InpDDWarnPct / CritPct | 10 / 20 | Generic swing-account limits. |
InpAlertsEnabled, InpAlertPopup | true, true | You are at the screen and want the box. |
InpAlertPush, InpAlertEmail | false, false | Off until push/e-mail is tested in the terminal settings. |
InpConsecLossAlert | 5 | Five losses in a row is a warning; fewer is noise. |
InpStaleTickSec | 120 | Two minutes without a tick while the session is open is unusual. |
InpUIScalePct | 100 | Native size, 980 × 620 px. |
| Input | Value | Why |
|---|---|---|
InpMarginWarnPct / CritPct | 500 / 300 | On a leverage-limited account margin level breaks first. |
InpDDWarnPct / CritPct | 5 / 8 | Warn halfway to a 10% rule; critical with 2% of room left to act. |
InpAlertPush | true | You must know from your phone. |
InpAlertPopup | false | The terminal is on a VPS; nobody sees pop-ups. |
InpAlertEmail | true | A written trail of every warning, useful when talking to the provider. |
InpConsecLossAlert | 3 | Three in a row justifies a manual pause on a funded account. |
InpStaleTickSec | 300 | Fewer false alarms when the VPS lags for a moment. |
InpActiveInactiveDays | 3 | You want to know quickly that a robot has stopped working. |
| Input | Value | Why |
|---|---|---|
InpStartMinimized | true | The panel starts as a single header line; the body cost disappears. |
InpLiveRefreshSec | 5 | Second-level freshness is pointless on a machine nobody watches. |
InpAnalyticsRefreshSec | 30 | Analytics is opened rarely, through remote desktop. |
InpSaveIntervalSec | 120 | Half the disk writes. |
InpAlertPopup, InpAlertPush, InpAlertEmail | false, true, true | Dispatch to you, not to a screen nobody is looking at. |
InpVerboseLog | false | Keeps 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 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).
| Element | What it shows |
|---|---|
| Product name | Left side of the header bar. |
| State pill | BUILDING 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 clock | The broker’s current time — the same clock all day/week/month boundaries use. |
- / + button | Minimise / restore. Minimised keeps only the header visible and skips the body refresh entirely. The state is remembered across restarts. |
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.
Ten live tiles in two rows of five, then a portfolio bar chart. Everything here is account-wide and includes manual trades.
| Tile | Exact meaning |
|---|---|
| Balance | Account balance, straight from the terminal. |
| Equity | Balance plus floating P/L, from the terminal. |
| Floating P/L | Equity − 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 level | Equity ÷ margin × 100, or n/a when no position uses margin. Shown as n/a, never as a fake 0. |
| Today | Closed P/L (net of swap and commission) of every deal closed since 00:00 server time. Floating positions are not included. |
| This week | Same, from Monday 00:00 server time. |
| This month | Same, from the 1st of the month 00:00 server time. |
| Open trades | Number of currently open positions on the account (both directions, hedging and netting). |
| Risk level | LOW / MEDIUM / HIGH / CRITICAL — the worse of the margin test and the drawdown test, using your four thresholds. See the maths. |
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.
OrderCalcMargin at the current ask and cached for 60 seconds; the estimate is gross lots × margin per lot.OTHER exists when more than 32 symbols are involved and carries no margin (it is excluded from the shares).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.
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.
| Column | Meaning |
|---|---|
| EA | Your 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. |
| Status | ACTIVE = 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. |
| Today | Closed P/L since 00:00 server time, net of swap and commission. |
| Month | Closed P/L since the 1st of the current server month. |
| Floating | Unrealised 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. |
| PF | Profit factor = gross profit ÷ gross loss (absolute). Shown as 999.00 while there is no losing trade. |
| Health | The 0–100 health score from the maths, or -- when the EA has fewer than 20 closed trades. |
^ or v marker shows the active column and direction.| Control | What it does |
|---|---|
| PREV / NEXT | One page of ten EAs. 1/3 beside them is the page counter. |
| SCAN ACCOUNT | Re-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 / INACTIVE | Cycles the list: everything, only EAs with open positions, only EAs currently INACTIVE. The page count follows the filter. |
| SHOW HIDDEN / HIDE HIDDEN | Reveals 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 line | 7 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. |
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.
| Control | What it does |
|---|---|
| BACK | Returns to the EAs table. |
| NAME box | Editable 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. |
| SAVE | Stores name and version immediately and rewrites the settings CSV. |
| VERSION box | Free-text tag such as 1.7. Purely for you — nothing reads it. |
| COLOR | Steps 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 / UNHIDE | Toggles the hidden flag described above. |
| Three grey lines | Magic 123456 Symbols EURUSD,GBPUSD (up to eight symbols, then …); Broker <company>; Trades from 2026.01.04 to 2026.03.17. |
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.
| Left column | Right column |
|---|---|
| Total trades | Expectancy (average net result per trade) |
| Winning | Avg duration (first deal → closing deal) |
| Losing | Largest win |
| Win rate | Largest loss |
| Profit factor | Largest drawdown, as amount and as % of peak |
| Avg win | Max consecutive wins |
| Avg loss | Max consecutive losses |
| Recovery factor | Health (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.
InpDDWarnPct.Health 72 - Good, drawn in the score’s colour.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.
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.
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.
The SYMBOL / CURRENCY / LOTS button cycles the whole column. The small grey header to its right tells you what the middle column currently means.
| Mode | Rows show |
|---|---|
| SYMBOL | Symbol, 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. |
| CURRENCY | Currency 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. |
| LOTS | EA 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.
| Line | Content |
|---|---|
| 1 | Margin level: 412.7%, or Margin level: n/a (no margin in use) when nothing is open. |
| 2 | Warning below 250% — your InpMarginWarnPct. |
| 3 | Critical below 150% — your InpMarginCritPct. |
| 4 | Account drawdown 4.3% (warn 10%, crit 20%) — the peak-equity drawdown from the OVERVIEW tab, with your two thresholds. |
| Big badge | LOW / 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”.
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.
| Element | What it shows |
|---|---|
| Title line | Closed P/L curve (deposits excluded). |
| Bars | Up 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 labels | max at the top of the plot and min at the bottom, in account currency — the highest and lowest cumulative values in the window. |
| Info line | 36 points - cumulative closed P/L, deposits excluded. “Points” is the number of buckets plotted. |
| D | Each bar = one day, the most recent 60 days. |
| W | Each bar = one week (Monday-based), up to 52 bars. |
| M | Each bar = one month, up to 36 bars. |
| ALL | The 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.
14 +312. Days with no closed trade show only the number, in grey.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.
0.00 — there is no blank state here, because zero really is the answer.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.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.
| Block | What is drawn |
|---|---|
| HOUR OF DAY | 24 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. |
| WEEKDAY | Seven cells, Mon to Sun, with the same P/L sum by weekday of the closing deal. |
| SESSION | Three 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 SYMBOLS | Eight 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 / Worst | Two 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.
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.
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.
| Control | What it does |
|---|---|
| ACK ALL | Clears every * at once. The repository keeps up to 200 notifications; when it is full the oldest is dropped to make room. |
| PREV / NEXT | Page through the archive, twelve at a time, with 1/4 as the counter. |
| ALERTS ON / OFF | A 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. |
| Event | Title / text | Severity | When it repeats |
|---|---|---|---|
| New equity high (per EA) | New all-time high: Gold scalper / closed P/L +4,120.00 over 210 trades | Info | At 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%) | Warning | At most once per EA per day, when the EA’s worst drawdown deepens past the last value it reported. |
| EA went quiet | EA inactive: Scalper B / EA stopped trading for 8 days. | Warning | Once per inactivity episode. It re-arms when that EA closes a new trade. |
| Losing streak | Losing streak: Gold scalper / 5 consecutive losses | Warning | Exactly once per streak: no repeat while the streak continues, ready again after the next win. |
| Margin warning | Margin level WARNING / 241.3% below 250.0% | Warning | Once per episode. Re-arms only after margin level climbs back above 110% of the warning line (275% with defaults). |
| Margin critical | Margin level CRITICAL / 142.8% below 150.0% | Critical | Once per episode. Re-arms above 110% of the critical line (165%). |
| Account drawdown warning | Account drawdown WARNING / 11.2% >= 10.0% | Warning | Once per episode. Re-arms only when drawdown falls back to 2 percentage points below the line (8%). |
| Account drawdown critical | Account drawdown CRITICAL / 21.6% >= 20.0% | Critical | Once per episode. Re-arms at 2 points below the critical line (18%). |
| No ticks | No ticks / no EURUSD ticks for 120 s | Warning | Once per episode while the chart symbol is silent for longer than InpStaleTickSec. |
| Reconnected | Reconnected / history resynchronised | Info | Every time the feed comes back after a disconnect. |
| Integrity mismatch | History integrity mismatch / statistics are being rebuilt from history | Critical | Only on the 6-hourly integrity check, when the stored totals no longer agree with history. |
InpAlertsEnabled must be true and the ALERTS ON button must be on.MARGIN_WARN, CONSEC:12345) can fire at most once per InpAlertCooldownMin minutes. Default 60.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.
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.
| Line | Example |
|---|---|
| Live refresh | Live refresh: 1 s |
| Analytics refresh | Analytics refresh: 5 s |
| Save interval | Save interval: 60 s |
| Inactive after | Inactive after: 7 days |
| Verbose log | Verbose log: OFF |
| Panel offset | Panel offset: 10,30 |
| UI scale | UI scale: 100% |
| Start minimised | Start minimised: NO |
| Margin warning | Margin warning: 250% |
| Margin critical | Margin critical: 150% |
| DD warning | DD warning: 10% |
| Line | Example |
|---|---|
| DD critical | DD critical: 20% |
| Alerts enabled | Alerts enabled: YES — the input, not the runtime toggle |
| Alert popup / push / email | Alert popup: ON, Alert push: OFF, Alert email: OFF |
| Consecutive-loss alert | Consecutive-loss alert: 5, or off when the input is 0 |
| Stale-tick alert | Stale-tick alert: 120 s, or off when the input is 0 |
| Alert cooldown | Alert cooldown: 60 min |
| Max alerts/hour | Max alerts/hour: 20 |
| Session shift | Session shift: 0 h |
| Button | What it does | Cost |
|---|---|---|
| SCAN ACCOUNT | Same action as on the EAs tab: picks up magic numbers that are running but have no closed trade yet. | Instant. |
| REBUILD HISTORY | Throws 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 NOW | Writes the state file and the settings CSV immediately instead of waiting for the 60-second debounce. | Two file writes. |
At the bottom of the tab, and the first place to look when something seems wrong:
Bneu EA Intelligence Center v1.00 - read-only, no trading calls — build identity.State file: MQL5/Files/<path>/IC_<login>.dat — where your names, colours and peak values live.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.Last save: 2026.03.18 14:22:07, or not yet.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.Memory: fixed caps - 200 EAs, 2000 tickets, 800/400 days, 64 symbols, 200 notifications. — the hard limits described in Limitations.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 positions | It 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 EA | No. MetaTrader gives no such control to another program. You must stop the EA yourself. |
| A draggable panel | The 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 sort | Notifications are always newest-first. Only the EAs table is sortable. |
| Editing thresholds on the SETTINGS tab | That page is read-only. All 22 inputs live in the EA’s properties dialog. |
| Exporting a report to CSV or PDF | The 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 once | One 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 EA | Grouping is by magic number, exactly as the trade was placed. The product will not re-attribute deals. |
| An equity curve that includes floating P/L | All 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 count | There are exactly eleven event types, listed on the ALERTS tab. None of them watches spread or the economic calendar. |
| A daily e-mail digest | E-mail fires per event, at most once per cooldown, and never as a summary. |
| WebRequest, a licence server, a cloud AI, or Telegram | None. 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 you | It 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 panel | The palette is fixed. The only colour choice is the 12-colour tint of an EA’s table row. |
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.
| Input | Default | Allowed | What it does |
|---|---|---|---|
InpLiveRefreshSec | 1 | min 1 | How 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. |
InpAnalyticsRefreshSec | 5 | 2–60 | Redraw interval for the ANALYTICS tab only. Larger values make the curve and heatmap cheaper to keep on screen. |
InpSaveIntervalSec | 60 | min 10 | Debounce 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. |
InpActiveInactiveDays | 7 | min 1 | An EA with no closed trade for this many days is flagged INACTIVE, filtered by FILTER: INACTIVE, and raises the “EA inactive” alert. |
InpVerboseLog | false | true / false | Adds detailed lines to the Experts log (object counts, timings, per-module notes). Turn it on only while diagnosing; it grows the log quickly. |
| Input | Default | Allowed | What it does |
|---|---|---|---|
InpPanelX | 10 | any integer | Distance in pixels from the left edge of the chart to the panel. |
InpPanelY | 20 | any integer | Distance in pixels from the top edge. Increase it if the panel covers your price axis or a toolbar. |
InpUIScalePct | 100 | 70–160 | Scales 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. |
InpStartMinimized | false | true / false | Panel starts collapsed to its header. Applies only the first time the EA ever runs on that terminal — after that the remembered minimise state wins. |
| Input | Default | Allowed | What it does |
|---|---|---|---|
InpMarginWarnPct | 250.0 | any double | Margin level below this raises the amber state and the MARGIN_WARN alert. |
InpMarginCritPct | 150.0 | any double | Margin 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. |
InpDDWarnPct | 10.0 | any double | Account 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. |
InpDDCritPct | 20.0 | any double | Drawdown at or above this raises the red state and ACCDD_CRIT. Equal or lower than the warning value? The two are swapped and logged. |
| Input | Default | Allowed | What it does |
|---|---|---|---|
InpAlertsEnabled | true | true / false | Master switch for the alert engine. The ALERTS ON/OFF button overrides it at runtime without needing a restart. |
InpAlertPopup | true | true / false | Deliver each alert as a MetaTrader Alert() box. Requires “News” enabled in Tools → Options → Notifications. |
InpAlertPush | false | true / false | Deliver to the MetaQuotes app on your phone via SendNotification(). Requires your MetaQuotes ID in the same dialog. Never fires in the Strategy Tester. |
InpAlertEmail | false | true / false | Deliver by e-mail via SendMail(). Requires SMTP configured in Tools → Options → Email. Never fires in the Strategy Tester. |
InpConsecLossAlert | 5 | min 0 | Raise a losing-streak alert when an EA reaches this many consecutive losses. 0 disables it. Fires once per streak. |
InpStaleTickSec | 120 | min 0 | Raise “No ticks” when the chart symbol has produced no tick for this long. 0 disables it. |
InpAlertCooldownMin | 60 | min 0 | Minimum minutes between two firings of the same event key. 0 means the hourly cap is your only limit. |
InpMaxAlertsPerHour | 20 | min 1 | Hard ceiling on delivered alerts per one-hour window, counted from the first alert in that window. |
| Input | Default | Allowed | What it does |
|---|---|---|---|
InpSessionShiftHours | 0 | −12 to +12 | Shifts 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.
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:
| Figure | Exact formula |
|---|---|
| Total trades | Every counted closing deal for that magic. |
| Wins / Loses | Count of trades with net > 0 / net < 0. |
| Cumulative P/L | Sum of net over all trades, in order of deal time. |
| Win rate | 100 × wins / trades |
| Gross profit / Gross loss | Sum of the positive nets / sum of the absolute negative nets. |
| Profit factor | grossProfit / grossLoss; 999 if there is no loss and some profit, 0 if there is neither. |
| Average win / Average loss | grossProfit / wins / −grossLoss / losses (so the loss figure is negative). |
| Expectancy | cumPL / trades — what one trade is worth on average. |
| Recovery factor | cumPL / maxDDAmount; 99 if there was never a drawdown and P/L is positive. |
| Max drawdown | Deepest peakCumPL − cumPL seen, both as an amount and as a percentage of the peak at that moment. |
| Max consecutive wins / losses | The longest run of same-sign trades; a flat trade resets both counters. |
Five trades in order: +100, −50, +200, −80, +30.
| Trade | Net | Running cumPL | Peak | Drawdown |
|---|---|---|---|---|
| 1 | +100 | 100 | 100 | 0 |
| 2 | −50 | 50 | 100 | 50 |
| 3 | +200 | 250 | 250 | 0 |
| 4 | −80 | 170 | 250 | 80 ← deepest |
| 5 | +30 | 200 | 250 | 50 |
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.
100 × (peakEquity − equity) / peakEquity, floored at 0. It uses equity, so open positions count.100 × equity / margin. Undefined (shown n/a) when margin is 0.equity − balance.OrderCalcMargin reports for one lot at the current ask (cached 60 s). The share is that symbol’s estimate ÷ the total estimate × 100.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 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.
| # | Component | Input | Sub-score (0–100) | Weight |
|---|---|---|---|---|
| 1 | Profitability | profit 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% |
| 2 | Consistency | % of profitable days | 100 × (pct − 30) / 40, clamped to 0–100. 30% profitable days = 0, 70% = 100. Measured over the last 90 trading days with activity. | 20% |
| 3 | Drawdown | maxDD ÷ grossProfit | 100 × (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% |
| 4 | Recovery | recovery factor | 100 × rf / 3, clamped. RF 3 or better = 100. | 15% |
| 5 | Win rate | win rate % | 100 × (wr − 30) / 40, clamped. 30% = 0, 70% or more = 100. | 10% |
| 6 | Stability | coefficient of variation of daily P/L | CV = 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 )
| Score | Label | How to read it |
|---|---|---|
| 85–100 | Excellent | Strong edge, shallow drawdown, steady day-to-day. Leave it alone. |
| 70–84 | Good | Profitable with some lumpiness. Normal for a working EA. |
| 50–69 | Fair | Edge exists but the risk profile is uncomfortable; watch position sizing. |
| 30–49 | Weak | Losing or wildly inconsistent. Consider reducing size or stopping. |
| 0–29 | Critical | The numbers do not support running it at current size. |
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.
| Component | Calculation | Sub-score | Weighted |
|---|---|---|---|
| Profitability | PF 2.54 ≥ 2.00 | 100.0 | 25.00 |
| Consistency | (40/60) = 66.7% → (66.7 − 30)/40 | 91.7 | 18.34 |
| Drawdown | 80/330 = 0.2424 → (1.0 − 0.2424)/0.9 | 84.2 | 16.84 |
| Recovery | 2.50/3 | 83.3 | 12.50 |
| Win rate | (60 − 30)/40 | 75.0 | 7.50 |
| Stability | CV 0.24 ≤ 0.80 | 100.0 | 10.00 |
| Total | 90.18 → 90 = Excellent | ||
On init the EA calls EventSetTimer(1). Everything it does happens inside OnTimer(), in this fixed order, once per second:
InpLiveRefreshSec or InpAnalyticsRefreshSec.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.
| Mode | Header | Work per second | When |
|---|---|---|---|
| BUILD | BUILDING x% | 2,000 deals, then returns; the next tick continues from that cursor | First run, or when the state file is missing or rejected |
| REBUILD | BUILDING x% | Same, from zero, keeping names and colours | REBUILD HISTORY, or after an integrity mismatch |
| SCAN | SCANNING | 2,000 deals, magic and symbol only | SCAN ACCOUNT, and once on a fresh install |
| INTEGRITY | VERIFYING | 2,000 deals, counting and summing | Every 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.
| Guard | Trigger | Behaviour |
|---|---|---|
| Integrity check | Every 6 hours | Re-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 jump | Server time jumps back more than 1 hour, or forward more than 2 days | Logs one warning, recomputes all period boundaries and resyncs history. Without this, a weekend gap or a broker time change would corrupt “Today”. |
| Disconnect | Terminal reports not connected | No history work, no live reads, no alerts. The panel keeps the last known numbers and the save loop keeps running. |
| Reconnect | Connection returns | RECONNECT alert, history marked dirty, incremental sync forced at once instead of waiting up to 30 seconds. |
| Ticket memory | 2,000 processed deals reached | The 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 records | 200 magic numbers | New magics beyond the cap are not tracked; the fact is logged. Unreachable for a normal retail or prop account. |
| Daily series | 400 active days per EA, 800 for the account | Older days roll off the daily series used by the curve, calendar and monthly views. Lifetime totals, peaks and drawdowns are unaffected. |
| Notifications | 200 stored alerts | The oldest is dropped when a 201st arrives. |
| Dedupe keys | 96 distinct event keys | About 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 size | 512,000 bytes | The log is truncated rather than growing without limit. |
| UI failure | Chart objects could not be created | The dashboard disables itself and logs why; the statistics engine and alerts keep running. You can lose the panel, never the data. |
InpSaveIntervalSec (default 60 s) after the last change, and always happen on removal via OnDeinit.The panel rewards five minutes of habit more than any amount of staring. Here is a routine that uses every tab at least once.
IC_settings_<login>.csv somewhere safe; it is the only record of your names and colours.| Signal | Sensible action |
|---|---|
| Health < 30 on 100+ trades | Stop it, or cut size hard. The maths is not ambiguous at that level. |
| Health 30–49 | Reduce risk, keep watching for two weeks. Look at the drawdown figure before the win rate. |
| PF below 1.0 over the last month | It is losing money now, whatever the all-time figure says. |
| Recovery factor below 1.0 | The worst hole was deeper than the profit made. Fragile. |
Max consecutive losses ≥ your InpConsecLossAlert | You already got the alert. This is the moment to check whether the EA expects streaks that long. |
| One symbol > 50% of margin | Concentration. Reduce lots or accept the single-market risk knowingly. |
| Two or more EAs on the same currency side | You are running one bigger position, not two strategies. |
| INACTIVE for no reason | Check the EA itself — symbol suffix, Algo Trading, licence, VPS clock. The monitor only reports silence, it cannot explain it. |
| Symptom | Cause | Fix |
|---|---|---|
| The EA is not in the Navigator | File copied to a different terminal’s folder, or the Navigator was not refreshed | Check 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 all | Algo Trading is off | Press 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 load | The compiled file was built on a much newer MT5 build than yours | Recompile the source with your own MetaEditor (F7), or use a build-appropriate .ex5. |
| “unknown type” / include errors when compiling | Header 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 disconnected | Confirm 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 DISCONNECTED | Terminal offline, or the account logged out | Reconnect 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. |
| Symptom | Cause | Fix |
|---|---|---|
| Panel is cut off at the right or bottom | Chart 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 monitor | Scale left at 100% | Raise InpUIScalePct (up to 160) and enlarge the chart window to match. |
| Panel overlaps the price axis or a toolbar | Fixed anchor position | Change InpPanelX / InpPanelY and press OK. |
| Panel disappears when switching timeframes | Some templates delete chart objects on timeframe change | The 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 change | Previous build created objects with the same prefix | Reattach the EA — it deletes every object whose name starts with BNIC_ before building. |
| Panel is a single line and will not expand | Panel is minimised | Click the + on the right of the header. |
| Panel is gone after restart, but the EA is in the corner | The panel was minimised when you last used it | Click the +. The minimise state is remembered deliberately. |
| Flickering numbers | Live refresh at 1 s with a busy account | This is a repaint, not an error. Set InpLiveRefreshSec to 2–5 if it bothers you. |
| Symptom | Cause | Fix |
|---|---|---|
| An EA I run is missing from the table | It has never closed a trade and holds no position, or the build has not finished | Wait for CONNECTED, then press SCAN ACCOUNT. |
| Two robots appear as one row | They share a magic number | Give 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 field | Set a real magic in that EA. Comments are not used for grouping. |
| Figures differ from the broker statement | Different definitions: statement balance includes deposits; entry commissions sit on opening deals; partial closes are separate deals | Expected. Compare with the maths section, not with the balance column. |
| DD% is enormous on a young EA | It is a percentage of the peak cumulative profit, not of your balance | An 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 trades | Nothing to fix — the score refuses to judge a small sample. |
| Win rate 100% and PF 999.00 | The EA has no losing trade yet | Correct by definition. It normalises as trades accumulate. |
| Today’s P/L does not move after a close | Incremental sync has not run yet | Wait up to 30 seconds. Still nothing? Check the terminal’s History tab actually shows the deal. |
| Floating is 0 for an EA that has positions | The positions were opened manually (magic 0) or by another account | Check the “Manual” row and the EA’s own magic in its trade dialog. |
| Calendar or monthly view is empty for a month | No deals closed that month, or those days rolled off the 400/800-day series cap | Use the month arrows; very old months legitimately have gaps. |
| Curve is flat | The chosen period has no closed trades | Switch to W, M or ALL. |
| Heatmap hours are all zero | Wrong scope selected | Press the SCOPE button until it reads ALL. |
| Sessions look shifted by hours | Your broker’s server time is not the timezone you reason in | Set InpSessionShiftHours (e.g. −3 for a GMT+3 server). |
Everything reads n/a | Disconnected | Reconnect the terminal; values return on the next tick. |
| Symptom | Cause | Fix |
|---|---|---|
| No alerts at all | InpAlertsEnabled false, the ALERTS OFF button latched, or the first build has not finished | Check both switches and wait for CONNECTED. Per-EA alerts are deliberately silent until the first build completes. |
| The same alert keeps repeating | InpAlertCooldownMin is 0, or many EAs share the same condition | Set the cooldown back to 60. Each EA has its own key, so ten EAs can each fire once. |
| Push messages never arrive | MetaQuotes ID missing, or you are in the Strategy Tester | Tools → Options → Notifications, enter the ID, press Test. Push is suppressed in the tester by design. |
| E-mails never arrive | SMTP not configured or blocked | Tools → Options → Email: server, port, login, password, recipient, then Test. Check spam. |
| Pop-up boxes never appear | “News” is disabled in the Notifications dialog | Enable it — MetaTrader shows Alert() boxes under that setting. |
| Alerts stopped mid-session | The hourly cap was reached | Expected: InpMaxAlertsPerHour drops excess events instead of queueing them. Raise it only if you really want more. |
| Avg timer climbing into tens of milliseconds | Enormous history, many EAs and objects, or a slow VPS | Raise InpLiveRefreshSec and InpAnalyticsRefreshSec, minimise the panel, close other charts. |
| State file never appears | MQL5/Files/BneuTech is read-only, or the login was unknown at init | Check folder permissions on the VPS. Last save: not yet plus a normal login means permissions. |
| Names and colours lost after restart | The state file was rejected, or you logged into a different account | Rename again and press SAVE NOW, then restore from your monthly backup of the settings CSV. |
| Statistics reset after a broker history re-download | History changed under the stored data | Run REBUILD HISTORY. Names and colours survive. |
| “History integrity mismatch” alert | The stored count or net sum no longer matches history | Nothing to do — the EA rebuilds automatically. If it repeats daily, your broker is rewriting history. |
| Log file stops growing | The 512 KB cap was reached | Expected. Restart the terminal, and turn InpVerboseLog off if it is on. |
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.
| String | Meaning | Action |
|---|---|---|
BUILDING 42% | Reading history; 42% of the deals in the range processed | Wait. Do not remove the EA. |
SCANNING | Walking deals to discover magic numbers | Wait; usually seconds. |
VERIFYING | The 6-hourly integrity check | Wait; it re-reads all deals. |
CONNECTED | Live, up to date | Nothing. |
DISCONNECTED | Terminal offline; last known numbers stay on screen | Reconnect the terminal. |
| Log line | What it means | Action |
|---|---|---|
input InpX=5 clamped up to 10 | Your value was outside the allowed range and was corrected, not rejected | None; the corrected value runs. |
inputs: margin critical must be below warning - values swapped | You inverted the two margin thresholds; the EA reordered them | Set them deliberately if you meant something else. |
inputs: drawdown critical must be above warning - values swapped | Same, for the drawdown pair | Same. |
build complete - 1268 closing deals, 7 EAs | First build finished; totals are now trustworthy | Nothing. This is the line to look for. |
history: full rebuild started (names/colours/versions/hidden preserved) | A rebuild began; identity survives | Wait. |
history: 3120 deals in the resync window - chunked rebuild instead | A partial sync found too much new data and escalated | None — the guard working. |
history: duration queue full (512) - durations skipped for the rest of this chunk | More than 512 closes in one chunk; average duration may be slightly off for that chunk | Harmless; a rebuild clears it. |
history: HistorySelect failed for the active chunk | MetaTrader refused a history query, usually mid-download | The mode ends; the next tick retries. |
integrity: OK (1268 deals, +4,903.20) | Stored totals match history | Nothing. |
clock jump -7200 s - recomputing period boundaries and resyncing history | Server time moved a long way (weekend gap, DST, broker change) | None; one warning per event. |
reconnected - resyncing history | The feed returned and a RECONNECT alert was raised | Nothing. |
store: login unknown, save skipped | The login was not available at that moment | Usually transient at start-up; re-login if it repeats. |
store: cannot open <path> (err 5004) | The state file could not be written | See the file-code table below. |
ui: dashboard disabled (err N) - engine keeps running | Chart objects could not be created | Panel only; statistics and alerts continue. |
alerts: Alert() error N | The pop-up box could not be shown | Enable “News” in Tools → Options → Notifications. |
alerts: SendNotification error N | Push refused by the terminal | Check the MetaQuotes ID; the tester never delivers. |
alerts: SendMail error N | E-mail refused by the terminal | Check SMTP settings and press Test. |
alerts: module error N (engine continues) | Something inside the alert pass failed; the rest kept working | Report it with the full log if it repeats. |
| Code | Name | Usual cause here |
|---|---|---|
| 5002 | ERR_FILE_NOT_EXIST | A state or settings file was expected and is missing (normal on first run) |
| 5004 | ERR_FILE_CANNOT_OPEN | Read-only folder, file locked by another copy, or a permissions issue on a VPS |
| 5005 | ERR_FILE_CANNOT_READ | The file exists but cannot be read — often antivirus interference |
| 5007 | ERR_FILE_CANNOT_WRITE | Disk full or folder not writable |
| 4001 | ERR_FUNCTION_NOT_CONFIRMED | E-mail not configured or not confirmed in the terminal |
| 4014 | ERR_FUNCTION_NOT_ALLOWED | The 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.
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.
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.
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.
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.
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.
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.
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.
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.
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.
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.
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.
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.
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.
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.
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.
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.
| Term | Plain-English meaning here |
|---|---|
| Magic number | The 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. |
| Deal | One 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. |
| Position | The open trade itself, made of one or more deals. LIVE figures are about positions; statistics are about deals. |
| Netting / hedging | Two ways MetaTrader can hold trades. Netting keeps one position per symbol; hedging allows several in both directions at once. Both are handled. |
| Balance | Closed money: what you have after every realised result. |
| Equity | Balance plus the floating result of open positions — the number that matters for margin. |
| Floating P/L | Equity minus balance: the result of positions still open. |
| Margin | The part of equity the broker locks to keep positions open. |
| Free margin | Equity minus margin: what is left to open something new. |
| Margin level | Equity ÷ margin × 100. Below the broker’s stop-out level, positions are closed for you. |
| Drawdown | How 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 equity | The highest equity this account reached while the product was running. |
| Profit factor | Money won ÷ money lost. Above 1 means profitable. |
| Recovery factor | Total profit ÷ worst drawdown: how well the EA recovers from its own bad periods. |
| Expectancy | Average net result per trade — the single most honest “is this worth running” number. |
| Win rate | Share 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 lots | Total volume, buys plus sells. This is what the broker charges margin on. |
| Net lots | Buys minus sells. Zero means fully hedged, not necessarily safe. |
| Exposure | How much of a symbol or currency you actually hold, after netting. |
| Contract size | Units per lot, e.g. 100,000 for a standard FX pair. Turns lots into currency units. |
| Session | Here: Asia (shifted hours 00–07), London (08–15), New York (16–23). |
| Server time | Your broker’s clock. Every day, week and month boundary uses it. |
| State file | IC_<login>.dat: the private binary file holding statistics, peaks, names, colours and the notification archive. |
| Global variable | A value MetaTrader stores per terminal rather than per EA. Used here for the minimise state, the page and the sort choice. |
| Chart object | Everything on the panel is a chart object whose name starts with BNIC_. That prefix is how the EA sweeps up its own leftovers. |
| Integrity check | The 6-hourly re-read that proves stored totals still match history. |
| Property | Value |
|---|---|
| Product name | Bneu EA Intelligence Center |
| Version | 1.00 |
| File | BneuTech_EA_Intelligence_Center.ex5; source plus IC_All.mqh and IC_Types.mqh in MQL5/Include/BneuTech/ |
| Type | Read-only dashboard and analytical utility — not a trading strategy |
| Platform | MetaTrader 5 only (MQL5). MT4 is not supported. |
| Account types | Demo, live, cent, prop/funded; netting or hedging |
| Instruments | Any the account trades; the chart symbol only affects the stale-tick alert |
| Trading calls | None. No OrderSend, OrderClose, PositionModify, OrderDelete or trade class in the source |
| Network | None — no WebRequest, no sockets, no DLLs, no Telegram, no cloud |
| Inputs | 22, in five groups (General, Panel, Risk Thresholds, Alerts, Advanced) |
| Timer | 1 second (EventSetTimer(1)); OnTick only records time |
| History throughput | 2,000 deals per timer tick |
| Integrity period | 6 hours (21,600 s) |
| Panel footprint | 980 × 620 px at 100%; scaling 70–160% |
| Chart objects | Created once at init and then updated in place (text, colour, size) — never recreated per tick; prefixed BNIC_; all deleted on removal |
| Files written | MQL5/Files/BneuTech/IC_<login>.dat (state), IC_settings_<login>.csv (EA registry) and a log file in the same folder |
| Hard caps | 200 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 Tester | Runs; push and e-mail are suppressed by MetaTrader |
| Language | Interface in English; numbers and dates follow the terminal locale |
OrderCalcMargin call per symbol at the current ask, cached for 60 seconds, and ignores broker leverage tiers, hedged-margin discounts and stop-out rules.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.
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.
Bneu EA Intelligence Center v1.00 ... plus your MetaTrader build number (Help → About).CONNECTED, then copy everything. Make sure InpVerboseLog was on for the run if you are reporting a performance problem.MQL5/Files/BneuTech/ if it exists — it survives terminal restarts.CONNECTED?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.