← All documentation

Bneu Performance Mastery System

Step 4 of 4 in the BneuTech Trading OS: a read-only AI coach that reads your closed-trade history, flags overtrading, revenge trading, tilt and streaks, and tracks eight discipline milestones.

Utility MetaTrader 5 v1.09 15 activations Read-only coaching

What it is — the 60-second version

Bneu Performance Mastery System is a read-only coach for the trader, not the trade. It reconstructs your closed trades from the account's own deal history, turns them into statistics and behaviour flags, and then writes four short coaching lines: what happened, what to fix, one suggestion, and one piece of encouragement.

  • It measures you. Win rate, a normalised reward/risk proxy, best and worst day of the week, best and worst session, best and worst pairs, current and maximum streaks, and today's activity.
  • It catches bad habits while they are small. Overtrading, revenge re-entry after a loss, tilting (bigger lots after a loss) and loss streaks. A winning streak is recognised too — “ON FIRE”.
  • It keeps score. Eight discipline milestones, from “First Analysis” to “50+ Trades Analyzed”.
  • It reports on a schedule. One Telegram message a day at your chosen GMT hour, plus a weekly summary every Sunday.

What it is not: it does not trade, it does not modify positions, it has no order code at all, and it does not block anything. It is the reviewer that sits after the trade. It is also not an accounting system: it reads closed deals inside a lookback window, so open positions appear only as a count, and swaps/commissions are added to profit but deposits, withdrawals and balance history are not considered.

Three settings decide whether the coaching is about you

1. The lookback window (InpLookbackDays, default 30) — everything labelled “overall” only covers those days. 2. The currency of the numbers — profit is reported in your account currency, exactly as the terminal records it. 3. The behaviour thresholds (InpOvertradeMult, InpRevengeMinutes, InpTiltLotMult) — the coach is only as honest as these three numbers. All are covered in First-Run Setup.

60-second quick start

  1. Attach BneuPerfMastery to any chart of the account you want reviewed. It ignores the chart symbol and timeframe; it reads the whole account.
  2. Leave InpLookbackDays = 30, InpScanMinutes = 5, and the three detector thresholds at their defaults.
  3. Optional but recommended: Tools → Options → Expert Advisors → tick Allow WebRequest for listed URL → add https://ai.bneutech.com and https://api.telegram.org.
  4. Click OK. The panel appears top-left and the first analysis runs immediately.
  5. Open the COACH tab and read the card. This is the whole product in one paragraph.
  6. Needs at least a few closed trades to say anything useful. With an empty history it says exactly that, which is also a result.

Key features

  • Four-tab panel — COACH, PATTERNS, STATS, CONFIG. 440 px wide, 720 px minimum height.
  • AI Coach card with a main message, a WARNING box, a SUGGESTION box and a KEEP GOING line, composed from your own numbers.
  • Five behaviour detectors — overtrading, revenge trading, tilt, loss streak, win streak — with a severity label (CLEAN, ON FIRE, TILT, REVENGE, OVERTRADING, LOSS STREAK).
  • Pattern analysis — Monday to Friday performance with BEST / WORST flags, the four main sessions, and the top three and bottom three pairs with win rate and average R proxy.
  • Statistics — this week, this month and the whole lookback window: P/L, trades, win rate, average R proxy, best and worst single trade, current and maximum streaks.
  • Eight achievement milestones with a persistent unlocked state for the session.
  • Optional cloud coach — the local four lines can be replaced by a language model's version, with the same fields clipped for the panel.
  • Telegram daily and weekly reports, Markdown formatted, with the number of unlocked achievements.
  • Honest status tab — cloud state, Telegram state, active thresholds, account and broker, FORCE RESCAN.
  • Zero trading code. No orders, no modifications, no risk manager.

Requirements

ItemRequirement
PlatformMetaTrader 5, build 3000 or newer.
ChartAny symbol and timeframe. The panel does not depend on either.
HistoryClosed deals inside the lookback window. The terminal must be able to select history for that range (it downloads on demand).
InternetOptional: cloud coach and Telegram only.
WebRequest URLshttps://ai.bneutech.com and https://api.telegram.org — both optional.
Strategy TesterNot useful. The panel is drawn, but there is no account history to coach and the cloud call cannot succeed.

Installation — step by step

  1. Download. Buy on MQL5; the product appears under Terminal → Market → Purchases.
  2. Install. File → Open Data Folder → MQL5 → Experts and confirm BneuPerfMastery.ex5 is there.
  3. Refresh. Right-click Expert Advisors in the Navigator → Refresh.
  4. Allow the URLs (optional). Tools → Options → Expert Advisors → Allow WebRequest for listed URL → add https://ai.bneutech.com and https://api.telegram.org. Host only, no paths.
  5. Algo Trading on. Click the toolbar button; the chart smiley must be green.
  6. Attach to any chart of the account you want reviewed. Tick Allow Algo Trading in the Common tab.
  7. Confirm. The panel appears and the Experts log prints [BneuPM] v1.09 loaded. Lookback=30d trades=N CloudAI=on/off. That trade count is the number of synthetic closed trades found — if it is 0, the window is empty and the coach correctly says so.

Only one instance per account is needed: the EA reads account-wide history, so a second copy on another chart shows the same numbers and draws a second panel.

First-run setup — the five minutes that matter

1. Choose the lookback window

InpLookbackDays = 30 is a good review horizon: enough trades to be meaningful, recent enough to reflect current behaviour. Set 90 if you trade rarely, 7 if you are auditing this week. Everything labelled OVERALL — in the header, the STATS tab and the cloud snapshot — is limited to this window; nothing older is read at all.

2. Set the three behaviour thresholds to match your own rules

  • InpOvertradeMult = 8.0 — you are overtrading when today's closed trades reach eight times your average daily count in the window. Deliberately loose: 40 trades in 30 days (1.33/day) needs 11 trades in one day to trigger.
  • InpRevengeMinutes = 3 — a trade opened within three minutes of a losing close is a revenge re-entry.
  • InpTiltLotMult = 1.5 — a trade whose volume is at least 1.5× the previous losing trade's volume is tilt.

3. Decide about the cloud coach

With InpAIEnable = true and the URL whitelisted, each analysis sends a compact snapshot: lookback, trade count, win rate, total P/L, average R proxy, week and today figures, streak maxima, the five behaviour flags, best/worst day and session, and the top five pairs. It contains no account number, balance, equity or ticket numbers. The reply replaces the four coaching lines only — never the statistics.

4. Decide about Telegram

Daily report at InpDailyHourGMT (default 22:00 GMT) and a weekly report on Sunday from that hour onwards. Both require InpTelegramEnable, a bot token and a chat id; the bot must already be a member of the chat.

If the coach says “No closed trades yet”

Either the window really is empty, or the account history is not downloaded for that range. Open Toolbox → History, right-click, choose All history, then press FORCE RESCAN. Only closing deals with a matching opening deal in the same position count — an open position is not a trade here.

Two ready-made profiles

Profile A — “monthly review” (recommended default)

InputValueWhy
InpLookbackDays30One month of behaviour — enough for day and session patterns.
InpScanMinutes5Panel refreshes often; the analysis is cheap.
InpOvertradeMult8.0Only flags genuinely abnormal days.
InpRevengeMinutes3The classic “re-enter immediately” window.
InpTiltLotMult1.5Catches a size jump after a loss without flagging normal variation.
InpDailyReporttrue, 22 GMTEnd of the New York session, before you stop for the day.
InpWeeklyReporttrueSunday recap with the milestone count.

Profile B — “strict discipline audit”

InputValueWhy
InpLookbackDays14Two weeks only — recent behaviour, not old habits.
InpOvertradeMult3.0Flags any day at three times your average.
InpRevengeMinutes10Ten-minute cooldown after a loss.
InpTiltLotMult1.2Any size increase after a loss counts.
InpAIEnablefalseLocal coaching only; nothing leaves the terminal.
InpTelegramEnablefalseYou read the panel yourself.

With Profile B expect the behaviour tile to show issues most weeks. That is the point — the thresholds are the standard you chose.

The panel — every tab, every row

The panel is 440 px wide and at least 720 px tall, anchored to the top-left corner at (InpPanelX, InpPanelY). It is built from chart objects and is deleted when the EA is removed. It cannot be dragged, resized, minimised or closed from the chart; position is an input, everything else is fixed.

Chrome (always visible)

ElementWhat it shows
TitlePERFORMANCE  MASTERY  SYSTEM with a v1.09 pill.
Subtitle42 trades | WR 57% | +184.20 | CLEAN — lookback trades, win rate, P/L and the behaviour label.
Tab rowCOACH, PATTERNS, STATS, CONFIG; the active tab is filled blue.
Bottom strip, row 1Coach: either N issues (LABEL) or ON FIRE / CLEAN, plus N / 8 achievements on the right.
Bottom strip, row 2Today: 3 | Streak +2 and TG: ON / TG: OFF.

Tab 1 — COACH

  • AI COACH card (120 px): eyebrow AI COACH, title Personalized advice, and the main message word-wrapped to five lines. The left accent bar is amber when there is a warning or any behaviour issue, blue otherwise.
  • WARNING box (red, 42 px) — only present when a warning exists: one sentence naming the single most severe behaviour (tilt beats revenge beats overtrading beats loss streak).
  • SUGGESTION box (blue, 42 px) — one actionable line, e.g. focus on your best session and skip your worst, or focus on your best day of the week.
  • KEEP GOING box (green, 34 px) — one encouragement line drawn from your max win streak, your average R proxy, or simply the fact that you are reviewing.
  • Three tiles side by side:
    • TODAY — N tr W W L L open N
    • STREAK — +3 wins, -2 losses or -- (green / red / neutral)
    • BEHAVIOR — the label alone when clean (CLEAN or ON FIRE), otherwise N issues
  • LAST 5 — the last five results as W L W W L, or --.

Tab 2 — PATTERNS

  • DAY PERFORMANCE / Mon – Fri: five rows, each with the day, trade count, win rate and P/L. Win rate prints green at 50% or better, amber below. The highest-P/L day gets a green BEST flag on the right; the lowest gets a red WORST (suppressed if only one day has trades).
  • SESSION PERFORMANCE / Asian / London / Overlap / NY: four rows with trades, win rate and P/L. The fifth internal bucket (off-hours) is computed but not displayed.
  • PAIR PERFORMANCE / Top 3 best / bottom 3 worst: three rows sorted by P/L descending (symbol, trades, win rate, average R proxy, P/L), a divider, then the three worst. Empty state: “No closed trades yet”.

Tab 3 — STATS

  • THIS WEEK card (74 px, green or red): P/L in large type, then N trades WR x% avg RR y.yy, then best +x.xx worst -y.yy (best and worst single trade of the week).
  • THIS MONTH card: month P/L and month trade count.
  • OVERALL (Nd) card: the lookback window's P/L, then N tr WR x% rr y.yy. The “d” is InpLookbackDays.
  • STREAKS / Current and historical max: current streak, max win streak, max loss streak.
  • ACHIEVEMENTS / Unlock discipline milestones: eight tiles in two columns, each [x] or [ ] with the milestone name. Green when unlocked, grey when not.

Tab 4 — CONFIG

  • SYSTEM STATUS / Cloud AI, Telegram, Account.
  • Cloud AI — DISABLED, READY, CONNECTED, DEGRADED or UNREACHABLE, from the same call counters used in Step 2.
  • Telegram — ON or OFF.
  • Reports — daily 22:00 weekly Sun, or OFF for either.
  • BEHAVIOR THRESHOLDS / Tune in inputs: overtrade multiplier (8.0x avg), revenge window (3 min), tilt lot multiplier (1.50x), lookback (30 days). Display only.
  • Account — #login USD and the broker company name.
  • FORCE RESCAN — the only action button: re-reads history and repaints.
  • Last update: YYYY.MM.DD HH:MM — server time of the last completed analysis.

Buttons and features that do not exist

No close, minimise, drag or resize; no settings button; no date-range picker (only the lookback input); no trade list or drill-down; no equity curve or drawdown chart; no CSV/HTML export; no sound alerts; no manual achievement reset; no per-symbol filter; no multi-account aggregation. The four tabs plus FORCE RESCAN are the entire interface.

All input parameters — explained in plain English

=== Panel ===

InputDefaultWhat it does
InpPanelX20Pixels from the chart's left edge.
InpPanelY40Pixels from the chart's top edge. The panel is top-left anchored only.

=== Analysis ===

InputDefaultWhat it does
InpScanMinutes5Minutes between full re-analyses (timer period = this × 60 s, minimum 1). Each analysis re-reads the whole history window.
InpAITimeoutMs15000Timeout per WebRequest in milliseconds, for both the cloud coach and Telegram.
InpLookbackDays30History window in days. Everything counted, averaged and reported uses only trades closed inside it.

=== Behavior Thresholds ===

InputDefaultWhat it does
InpOvertradeMult8.0Multiple of your average daily trade count that counts as overtrading. Average = all trades in the window ÷ InpLookbackDays.
InpRevengeMinutes3Maximum gap in minutes between a losing close and the next trade's open for it to be flagged as revenge.
InpTiltLotMult1.5Volume multiplier versus the previous losing trade that counts as tilt — 1.5 means 50% bigger than the loss before it.

=== Cloud AI ===

InputDefaultWhat it does
InpAIEnabletrueMaster switch for the cloud coach. When false, only the local coaching text is used and no request is made.

Not inputs: the service address (https://ai.bneutech.com), the optional API key and the model hint (qwen-235b) are compiled constants in v1.09. They cannot be edited from the dialog, and the fixed host is what must be whitelisted for WebRequest.

=== Telegram ===

InputDefaultWhat it does
InpTelegramEnablefalseEnables all Telegram sending. Needs token and chat id; with either empty nothing is sent.
InpTelegramTokenemptyBot token from @BotFather.
InpTelegramChatIDemptyTarget chat id (negative for groups and channels). The bot must be a member.
InpDailyReporttrueSend the daily message once per day at InpDailyHourGMT.
InpDailyHourGMT22GMT hour (0–23) for the daily report — and the earliest hour for the Sunday weekly report.
InpWeeklyReporttrueSend the weekly summary each Sunday from InpDailyHourGMT onwards.

How trades are read — the data pipeline

Every analysis rebuilds the trade list from scratch. There is no caching and no file storage, so nothing can drift out of date and nothing survives removing the EA.

  1. Select. HistorySelect(now - InpLookbackDays × 86400, now + 60) — all deals in the window, across all symbols.
  2. Pair deals into trades. For every deal that is an exit (DEAL_ENTRY_OUT or DEAL_ENTRY_INOUT), the EA walks backwards to the most recent entry deal (DEAL_ENTRY_IN) with the same position id. That pair becomes one synthetic trade.
  3. Fill the record. Ticket of the opening deal, symbol, open time, close time, direction (from the opening deal type), volume, open price, close price, and pnl = profit + swap + commission of the closing deal.
  4. Tag it. Day of week from the close time (Mon = 1 … Sun = 7) and a session bucket from the close time.
  5. Aggregate. Week, month and overall buckets; day-of-week, session and pair tables; streaks; today's counters; wins and losses (pnl >= 0 counts as a win, so a zero-P/L trade is a win).

Four consequences you must know

Partial closes create several trades. Closing half a position produces one synthetic trade per closing deal, each with the opening volume. No stop-loss data. The stop level is not stored, which is why R is a proxy (below), not a true R multiple. Sessions use server time. TimeToStruct is applied to the raw deal time, i.e. your broker's server clock, while the reports use GMT — on a GMT+2 server the “LONDON” bucket actually starts at 06:00 GMT. Deposits, withdrawals and balance history are ignored; only deal profit, swap and commission are summed.

The exact maths — every number on the panel

Win rate

win rate = wins / trades * 100      (0 when there are no trades)
win = pnl >= 0

The R proxy (what the panel calls “rr”)

Because the stop level is not available after the fact, the EA normalises each trade by price distance and volume:

dist  = |closePrice - openPrice|
scale = max(0.0001, lots) * dist
rr    = pnl / (scale * 1000)
RR    = pnl >= 0 ?  |rr| * 2  :  -|rr|

The bucket average is the mean of the non-zero RR values. Read it as a direction-and-magnitude score, not as “I made 2R”. It is consistently signed (wins positive, losses negative) and comparable between your own trades, which is what the trend and the 2:1 achievement need.

Worked example. EURUSD, 0.50 lots, open 1.0850, close 1.0880, pnl +150.00: dist = 0.0030, scale = 0.5 × 0.0030 = 0.0015, rr = 150 / (0.0015 × 1000) = 100 → RR = +200. A losing trade with the same distance and lots but pnl −75 gives rr = −50 → RR = −50. Note that the absolute size of the number depends on lots and distance — only its sign and relative size across your own trades are meaningful.

Week, month and overall buckets

  • Week — same calendar-week index (seconds / 86400 / 7) and less than seven days apart.
  • Month — same calendar year and month as now.
  • Overall — every trade in the lookback window.

Each bucket stores trades, wins, losses, total P/L, best win, worst loss, the RR sum and count. Best/worst are per single trade, not per day.

Streaks and the last five

Trades are walked in history order. A win extends the win streak and resets the loss streak (and vice versa). The current streak is whichever counter is non-zero at the end, positive for wins, negative for losses. The maximums are the longest runs seen in the window. LAST 5 keeps the five most recent results as letters.

Today

Counts only trades whose close time falls on today's date in server time: trades, wins, losses. Open positions are counted separately with PositionsTotal() and are not attributed to any symbol or session.

Overtrading average

avgDaily = overall trades / InpLookbackDays
overtrading when today's closed trades >= avgDaily * InpOvertradeMult

Worked example. 60 trades in 30 days → avgDaily = 2.0. With the default multiplier of 8, the flag appears at 2.0 × 8 = 16 closed trades today.

The five behaviour detectors, one by one

DetectorExact conditionWhat you see
OvertradingToday's closed trades ≥ average daily trades × InpOvertradeMult.Label OVERTRADING; warning line quoting today's count and the multiplier.
RevengeAny trade whose open time is 0 to InpRevengeMinutes×60 seconds after the previous trade's losing close.Label REVENGE; warning mentions the cooldown length.
TiltAny trade whose lots ≥ previous losing trade's lots × InpTiltLotMult.Label TILT — the highest-priority warning.
Loss streakCurrent streak ≤ −3.Label LOSS STREAK; warning quotes the length and tells you to stand back.
Win streakCurrent streak ≥ +5.Not counted as an issue; shows as ON FIRE when nothing else is wrong.

Severity and the label you see

issues = overtrading + revenge + tilt + loss streak      (win streak not counted)

issues == 0             →  "ON FIRE" if win streak >= 5, else "CLEAN"
else if tilt           →  "TILT"
else if revenge        →  "REVENGE"
else if overtrading    →  "OVERTRADING"
else if loss streak    →  "LOSS STREAK"
else                   →  "CAUTION"

The label appears in the header subtitle, the COACH tile and the bottom strip. The single warning sentence follows the same priority order — you always get the most damaging habit first, never a list.

Worked example

30-day window, 45 closed trades, today 4 closed trades, current streak −3, last trade 0.20 lots after a losing 0.10-lot trade two minutes earlier:

  • avgDaily = 45/30 = 1.5; today 4 < 1.5 × 8 = 12 → no overtrading.
  • 2 minutes ≤ 3 → revenge flagged.
  • 0.20 ≥ 0.10 × 1.5 → tilt flagged.
  • streak −3 → loss streak flagged.
  • issues = 3, and tilt has priority → label TILT, warning about the size spike.

Thresholds are checked on every analysis, not on every tick

Because trades are only re-read when the analysis runs, a behaviour flag appears at the next scan (up to InpScanMinutes later) or when you press FORCE RESCAN. A trade closed one second ago may not yet be part of the picture.

The eight milestones — exact unlock conditions

#MilestoneUnlocks when
1First AnalysisAt least one closed trade in the window.
260%+ WR This WeekThis week has ≥ 5 trades and a win rate ≥ 60%.
32:1+ Avg R:R≥ 5 trades overall and an average RR proxy ≥ 2.0.
4Win Streak 5+Maximum win streak in the window is ≥ 5.
5Disciplined Trader≥ 10 trades overall and zero behaviour issues at this analysis.
6Profitable WeekThis week has ≥ 3 trades and a positive P/L.
7Pair SpecialistYour best-P/L pair has a win rate ≥ 70%.
850+ Trades Analyzed≥ 50 closed trades in the window.

Notes. Milestones 2, 3, 5, 6 and 8 depend on the sample size on purpose — two lucky trades do not earn “2:1”. Milestone 5 flickers: it is recalculated on every analysis, so a new revenge flag turns it off again, which is exactly what a discipline badge should do. Milestone 7 uses the pair with the highest total P/L (the first row of the sorted pair table), then checks its win rate. Nothing is written to disk, so achievements are per terminal session for display purposes — they will re-unlock on the next start because they are derived from history.

Daily and weekly reports — exact content and schedule

Both messages are sent through the Telegram Bot API with Markdown formatting, from the same analysis cycle as everything else, and only if InpTelegramEnable is on with a token and chat id.

Daily report

  • When: on the first analysis whose GMT hour equals InpDailyHourGMT, once per calendar day (a per-day key prevents repeats).
  • Content: today's trades with wins and losses, open position count, this week's trades, win rate and P/L, the behaviour label, and the coach's main message.
  • If the terminal is closed at that hour the report for that day is skipped — there is no queue and no catch-up.

Weekly report

  • When: on Sunday (terminal-side day_of_week == 0, which is Sunday in GMT as read by the EA) and only from InpDailyHourGMT onwards, once per day.
  • Content: week trades, win rate, P/L, best and worst day, max win streak, max loss streak, Achievements n / 8 and the coach's suggestion.

What the messages never contain

No account number, balance, equity, ticket numbers, broker name or symbol-level P/L. Only aggregates and the coaching text.

Sunday is the EA's Sunday

The weekly message is keyed on the day-of-week the terminal reports. On a broker whose server date rolls over at a different moment than your local date, the “Sunday” send can arrive late Sunday or early Monday your time. Set InpDailyHourGMT to a time you are certain to have the terminal running.

Timing and guards — exactly when everything happens

Start-up (OnInit)

  1. All panel objects from this and older versions (BNEUPM_*, BneuPM_*) are deleted.
  2. A full analysis runs: history → aggregates → behaviour → achievements → local coach → optional cloud coach → reports.
  3. The timer is set to max(1, InpScanMinutes) × 60 seconds.
  4. The panel is drawn and one log line is printed with the lookback, trade count and cloud state.

Every timer tick (OnTimer)

Full analysis, then a full repaint. The analysis is O(deals) — on a large history a low InpScanMinutes will show as periodic CPU spikes.

Between ticks (OnTick)

The whole panel is rebuilt at most every 5 seconds. This is different from Step 2, which only refreshes text between scans: here a tab repaint happens every five seconds whether or not the data changed. That keeps the panel responsive to a tab switch without a full analysis, at the cost of continuous object updates.

Tab clicks and FORCE RESCAN

A tab click switches the active tab and repaints; it does not re-read history. FORCE RESCAN re-runs the complete analysis and repaints.

Network guards

  • No tester guard. Unlike Step 2, the cloud call is not skipped in the Strategy Tester. WebRequest is not permitted there, so the call fails, the error counter rises and the local coach text stays — which is why the tester is not a useful environment for this product.
  • Counters, not retries. One cloud request per analysis with a single timeout; a failure increments the error counter and the next cycle tries again. There is no queue, no backoff and no fallback model.
  • Telegram on demand only — two sends per day at most, never per tick.

Session buckets (server time, not GMT)

Server-time windowLabel shown
00:00 – 07:59ASIAN
08:00 – 12:59LONDON
13:00 – 16:59OVERLAP
17:00 – 21:59NEW YORK
22:00 – 23:59computed, not displayed

On a GMT+2 broker the ASIAN bucket ends at 06:00 GMT and “LONDON” starts then. If you want true GMT buckets, deduct your server offset mentally or compare the same session across brokers with the same clock.

Troubleshooting — symptom, cause, fix

Data and numbers

SymptomCauseFix
“No closed trades yet” with trades on the accountThe lookback window is too short, or history for that range is not cached.Raise InpLookbackDays; open Toolbox → History → All history; press FORCE RESCAN.
Trade count is higher than the positions I openedPartial closes create one synthetic trade per closing deal.Expected. Count closing events, not positions.
Trade count is lower than my historyDeals whose opening deal falls outside the window are skipped; balance operations are not trades.Widen the window if those trades must count.
Today counters stay at 0 while a trade is openOnly closed trades count; the open one appears as open N.Expected.
Week numbers look shiftedWeeks are indexed by seconds / 86400 / 7, not by ISO week numbers.Treat “this week” as a rolling seven-day index.
RR figures look enormousThe proxy scales with lots and price distance; gold and indices produce far larger values than FX.Compare RR only against your own trades on the same instrument.
Session rows do not match my broker's sessionsBuckets use server time; the reports use GMT.Account for the broker offset (usually GMT+2/+3).
No OFF-HOURS rowThe fifth bucket exists but is not drawn.Expected in v1.09.
Weekend trades missing from PATTERNSOnly Monday to Friday rows are drawn.Expected; weekend results still appear in STATS totals.
P/L differs from the statementDeposits, withdrawals, credit, balance operations and out-of-window trades are excluded.Compare with closed-deal profit + swap + commission inside the window.

Behaviour and coach

SymptomCauseFix
Always CLEAN, even on a bad dayThe thresholds are wide (8× average for overtrading), or the window dilutes today.Use Profile B: 14 days, 3×, 10 min, 1.2×.
Always TILT / REVENGEGenuine behaviour, or thresholds too tight for your style.Read the warning line; if it is a false positive, raise that threshold.
OVERTRADING on a quiet dayFew trades in the window → tiny average → an ordinary day exceeds it.Lengthen InpLookbackDays so the average is stable.
Coach repeats itself for daysThe four lines are derived from aggregates that have not changed.Expected; watch the numbers under the text.
Cloud text contradicts my numbersThe model rewrites only the four sentences and can be wrong.Set InpAIEnable = false for deterministic coaching.
Coach says “Analyzing your trading history...”No analysis has completed yet.Wait one cycle or press FORCE RESCAN.
“Disciplined Trader” keeps switching offIt requires zero behaviour issues at that analysis.By design — a live badge, not a trophy.

Panel, cloud and Telegram

SymptomCauseFix
No panelAlgo Trading off, or the EA is not attached.Enable the toolbar button; re-attach; check the smiley.
Panel cut off at the bottomThe chart window is shorter than 720 px.Enlarge the chart or lower InpPanelY.
Panel flickers on busy symbolsThe whole panel is rebuilt every five seconds on tick.Expected; use a quieter chart if it bothers you.
Cloud UNREACHABLEURL not whitelisted, no network, or the service is down.Whitelist https://ai.bneutech.com; read the Experts log for [BneuPM] lines.
Cloud errors during a backtestThis build has no tester guard, and WebRequest is blocked in the tester.Expected. Run this product on a live or demo chart.
Telegram never arrivesDisabled, missing token/chat id, bot not in the chat, wrong hour, or URL not whitelisted.Enable all three Telegram settings, whitelist https://api.telegram.org, be online at InpDailyHourGMT.
Two daily messagesTwo copies of the EA on the same account.Remove one instance.
Daily arrives, weekly never doesThe weekly needs InpWeeklyReport and the terminal running on Sunday from the configured hour.Keep the terminal open on Sunday evening.

Known quirks (source-confirmed)

  • Top-pair rows print a leading “+” even for a negative pair P/L — read the number, not the sign formatting.
  • The OFF-HOURS session bucket is computed but never displayed.
  • Saturday and Sunday trades count in totals but never appear in the weekday table.
  • There is no profit factor, expectancy, max drawdown or Sharpe figure anywhere, despite how coaching tools are usually described.
  • Nothing is persisted: no files, no history, no state beyond the inputs.

Retcodes and HTTP responses, decoded

This product never trades, so there are no trade retcodes. What can appear:

ValueMeaningWhat to do
200Cloud coach answered, or Telegram accepted the message.Nothing.
400Malformed request — almost always a mangled key or URL.Clear the key field; the service host is fixed.
401 / 403Authentication or authorisation refused.Check InpTelegramToken, and the bot's membership of the chat.
404Endpoint missing.Nothing to configure in v1.09 — the path is compiled in; report it if it persists.
429Rate limited — too many instances or too short a scan interval.Raise InpScanMinutes, remove duplicate instances.
500–504Server or gateway failure.Transient; the next analysis retries and the local coach text stays.
-1 with GetLastError() = 4060URL not whitelisted for WebRequest (the classic tester or first-run error).Tools → Options → Expert Advisors → add the URL, then restart the EA.
-1 with another errorTransport failure: DNS, TLS, timeout.Test the endpoint in a browser on the same machine; check the Experts log.

Frequently asked questions

Does it trade or protect anything?

No. There is no order, modify or close code in the product. It only reads history.

Does it need to be on the chart of the pair I trade?

No. It reads the whole account regardless of the chart it sits on. Put it on a low-traffic chart to keep the panel smooth.

Why does it say CLEAN when I know I overtraded?

The overtrading test compares today's count with your own average over the whole window and a multiplier (8× by default). Lower InpOvertradeMult to 3–4 to catch it sooner.

Why is my win rate different from my broker's report?

Because a break-even trade counts as a win here (pnl >= 0), partial closes count separately, and only the lookback window is used.

What is the “RR” number, exactly?

A normalised score, not a true R multiple: pnl / (max(0.0001, lots) × |close-open| × 1000), doubled for winners. See the maths.

Where does the coach's text come from?

Locally, from your aggregates — win rate, week P/L, behaviour flags, best and worst day and session, streaks. If cloud AI is enabled, a language model rewrites the same four fields.

Can it see my stop loss and compute true R?

No. Stops are not stored with closed deals, so true R is impossible after the fact; the proxy replaces it.

Which time zone are the sessions and reports in?

Sessions use the terminal's server time. Reports use GMT.

Does it work on a prop-firm account?

Yes — it only reads history. It is a good companion to Step 1: the prop tool enforces the rules, this one shows which habits are costing you.

Can I export the statistics?

No. There is no export and no file output; read the panel or use the Telegram reports.

Do achievements persist after restarting the terminal?

They are recomputed from history at start-up, so a condition that is still true re-unlocks immediately. Nothing is stored on disk.

How many trades before the coaching is useful?

Around 20–30 closed trades. Below roughly ten the local text itself tells you to keep building the sample.

Can I run it on several accounts?

One terminal per account, one instance per terminal. It reads the account it is attached to.

Glossary — every term the panel uses

TermMeaning in this product
Window / lookbackThe InpLookbackDays range of closed trades every number is based on.
Synthetic tradeOne closing deal paired with its opening deal. Partial closes create several.
Winpnl >= 0, where pnl = profit + swap + commission of the closing deal.
WRWin rate as a percentage of closed trades in that bucket.
RR proxyThe normalised reward/risk score described in the maths. Not true R.
Week / month / overallThe three statistic buckets: this calendar-week index, this calendar month, and the whole window.
StreakConsecutive wins (positive) or losses (negative). The maximums are the longest runs in the window.
LAST 5The five most recent results as W and L letters.
Behavior labelCLEAN, ON FIRE, CAUTION, OVERTRADING, REVENGE, TILT or LOSS STREAK — the highest-priority issue.
TiltIncreasing lot size after a loss.
Revenge tradingRe-entering within the configured minutes after a loss.
OvertradingA day at the configured multiple of your own average daily trade count.
Best / worst dayThe weekday with the highest and lowest total P/L inside the window.
SessionASIAN, LONDON, OVERLAP, NEW YORK — bucketed by the closing deal's server time.
AchievementOne of eight derived milestones; recomputed at every analysis, never stored.
FORCE RESCANThe single button: re-reads history and recomputes everything.
Cloud coachThe optional language model at ai.bneutech.com that rewrites the four coaching lines.
READY / CONNECTED / DEGRADED / UNREACHABLECloud counters: never called / no errors / some errors / all failed.

Technical specs

ItemValue
ProductBneu Performance Mastery System (Step 4 of 4, BneuTech Trading OS)
Version1.09 (panel pill shows v1.09)
TypeExpert Advisor, non-trading coaching utility
PlatformMetaTrader 5
Panel size440 px wide; 720 px minimum height, auto-expanded per tab
Object prefixesBNEUPM_ and the legacy BneuPM_ (both cleared on deinit)
Data sourceAccount deal history: HistorySelect over the lookback window; open positions counted with PositionsTotal()
Stored stateIn-memory only; no files, no global variables, nothing written to disk
NetworkingHTTPS POST (cloud coach), HTTPS GET (Telegram)
Cloud model hintqwen-235b, temperature 0.4 (compiled constant)
ReportsDaily at InpDailyHourGMT GMT; weekly on Sunday from that hour
RefreshAnalysis every InpScanMinutes; panel repaint every 5 s

Important limitations and risk disclosure

  • Coaching, not advice. The four lines are generated from simple rules over your own history (or rewritten by a language model). They can be wrong, blunt or premature.
  • Small samples mislead. Win rate, best day and best pair mean very little under ~30 trades; the product says so, but the numbers are still displayed.
  • Approximations are explicit. The R value is a proxy, break-even counts as a win, weeks are index-based, sessions use server time, and partial closes inflate trade counts.
  • History, not equity. Deposits, withdrawals and balance operations are excluded, so this is not an account statement.
  • Nothing is enforced. The product cannot stop you from taking the next revenge trade; it can only show you that you did.
  • No persistence. Remove the EA and every derived number is gone; nothing is saved for later review.
  • Do not use it as a performance certificate. For reporting to a firm or a client, use broker statements.

Trading foreign exchange and CFDs on margin carries a high level of risk and may not be suitable for all investors. Past performance is not indicative of future results.

Support

Send these five items with any report:

  1. Version pill (v1.09) and your MetaTrader build.
  2. InpLookbackDays, the three behaviour thresholds, and whether cloud AI and Telegram are enabled.
  3. The trade count printed at start-up ([BneuPM] v1.09 loaded … trades=N).
  4. The last 20 lines of the Experts tab, including any [BneuPM] lines.
  5. Screenshots of the COACH and STATS tabs, which carry almost all of the relevant numbers.

Use the MQL5 product page's comment/discussion area so the report stays attached to the correct version.