Execution command center for MetaTrader 5: a 28-instrument opportunity radar, dual-gate qualification, one-click or hands-free autopilot with six safeguards, adaptive money management and a built-in trade copier.
Bneu Execution Scaling System is an execution command center for MetaTrader 5. You attach it to one chart and it watches 28 instruments for you: 27 forex pairs plus XAUUSD. Every few seconds it scores each one, keeps the ones that pass two independent gates, and then either waits for you to press a button or places the trade itself.
It does five jobs, all from that single chart:
Where it sits in the BneuTech Trading OS (Step 3 of 4): Step 1 Prop Firm Pass guards the risk, Step 2 Market Intelligence builds the market view, this system places and scales the trade, and Step 4 Performance Mastery reviews the result. It works perfectly on its own — the steps only get stronger together.
Install it from the MQL5 Market, drag it onto any one chart, tick Allow Algo Trading, and press OK. If your broker uses symbol suffixes (EURUSD.raw, XAUUSDm) type the suffix into InpSymbolSuffix. Wait until the RADAR tab shows numbers instead of "loading". Set InpLotMethod and InpRiskPct to the risk you actually want. Then either press USE on a qualified row followed by EXECUTE SELECTED, or open the EXEC tab and press START to let the autopilot trade under its six safeguards.
InpPanelX / InpPanelY. It is not draggable.ALGO TRADING OFF warning; the Experts log prints [BneuExec] lines with the reason for every rejection.ALGO TRADING OFF in red.InpSymbolSuffix (for example .raw or m), or leave it empty and the EA reads the suffix from the chart symbol. Every mapping is printed in the Experts log at load.InpScanTF). The EA downloads it one symbol per timer tick and shows loading in the meantime. Nothing to install manually.https://ai.bneutech.com. Without it the EA logs one line, marks the cloud UNREACHABLE and keeps trading on the local score.MQL5\Experts\Market\ by itself.InpSymbolSuffix now (see Symbols & suffixes). Press OK.https://ai.bneutech.com to the WebRequest whitelist (see above) so the cloud confidence can answer.Cloud AI: READY or CONNECTED, and Pairs 28/28.To upgrade later, install the new version from the Market tab and remove the old EA from the chart, then attach it again. Your autopilot state (run flag, trades today, day-start balance) is stored in terminal global variables, so it survives a reload; the session statistics do not, by design.
Everything else can stay at its default. These are the four settings that change what the EA does, and the five that change how it looks.
| Decision | Input | What to choose |
|---|---|---|
| What can it trade? | InpSymbols + InpSymbolSuffix | Leave the 28-name default list alone, or trim it to the pairs your broker actually offers. Put your broker's suffix in InpSymbolSuffix (for example .raw, m, -5); leave it empty if your symbols are plain EURUSD. |
| How big is a trade? | InpLotMethod + InpRiskPct | BALANCE_PCT with InpRiskPct = 0.5 or 1.0 is the sane starting point: each trade risks that percentage of the balance if the stop is hit. See Lot sizing. |
| Who pulls the trigger? | InpAutopilot | false = manual only (USE / GO / EXECUTE SELECTED / BUY / SELL). true = the autopilot starts as soon as the EA loads; you can also START / STOP it from the panel at any time. |
| How tight are the gates? | InpIndicatorGate, InpAIConfGate, InpMinADX | 72 / 80 / 16 as shipped is already selective. Raise the AI gate to 85 for fewer, stronger signals; lower it to 75 to see more rows qualify while you learn. |
| Where is the panel? | InpPanelX, InpPanelY | Top-left corner in pixels. The panel is 440 px wide and 720 px tall (it grows only if a tab needs more room); on a small chart move it with these two numbers — it cannot be dragged. |
| Risk per click | InpSLAtrMult, InpTPAtrMult | 1.5 / 3.0 gives a 1:2 stop-to-target ratio in ATR terms. If your broker's stops level forces wider stops, the EA widens them automatically and says so in the log. |
| Execution guards | InpMaxSpreadPts, InpSlippagePts | 35 points keeps you out of wide-spread moments; raise it for gold or for brokers that quote 2-digit metals. Slippage 20 points is the deviation sent with the order. |
| Cloud AI | InpAIEnable, InpAIRequireCloud | Leave cloud AI on. Only set InpAIRequireCloud = true if you accept that no trade happens whenever the cloud is unreachable. |
| Alerts | InpAlertPopup, InpAlertSound, InpAlertPush | Popup and sound are on by default. Push needs the MetaQuotes ID filled into your terminal's Notifications tab. |
| Input | Manual one-click (recommended first week) | Autopilot on a demo |
|---|---|---|
InpAutopilot | false | true |
InpLotMethod | BALANCE_PCT | BALANCE_PCT |
InpRiskPct | 0.5 | 0.5 |
InpIndicatorGate / InpAIConfGate | 72 / 80 | 75 / 85 |
InpAPMaxTrades | — (not used) | 3 |
InpAPDailyLossPct | — | 2.0 |
InpAPCooldownSec | — | 300 |
InpAPSessionFilter | — | true (07:00–11:00 and 13:00–17:00 GMT) |
InpAPNoDuplicate / InpAPCorrelation | — | true / true |
InpAMMEnable | true | true |
Run the autopilot profile on a demo for at least a week before it touches money. The six safeguards are good, but they are guards, not a strategy guarantee — see Limitations.
This is the exact sequence the code runs, in order. Understanding it makes every panel reading obvious.
InpScanTF). While warm-up is running the scanner runs every second instead of every 8, and gives up after 90 seconds and retries any missing handle every 30 seconds.InpScanTF (M15 by default) and computes, for each one, the indicator score, the direction, ATR and ADX. A row only counts as ready when ATR exists, the bid is live and the symbol's series is synchronised; otherwise it prints loading and cannot be traded.InpIndicatorGate (72) and ADX ≥ InpMinADX (16). Fail and the row's AI column is set to 0: scoring a rejected symbol would be wasted work.InpAIConfGate (80).Timing summary: timer 1 s · scan every InpScanSeconds (8 s default, 1 s while warming up) · cloud call at most every 30 s · copier receiver poll 1 s · AMM cycle 250 ms · stop-loss modification at most once every 5 s per ticket · statistics refresh 10 s.
The radar is the home screen. Everything starts here.
28 pairs | 27/28 data ready | 3 qualified. If "ready" is below the total, some symbols are still downloading history.IND >= 72 AI >= 80 ADX >= 16 TF PERIOD_M15, with the time of the last completed scan on the right.PASS = YES; on any other row the click is refused and the log says why.Rows are sorted by a four-part key: usable data first, then qualified rows, then the average of the indicator and AI scores. That is why a freshly qualified row jumps to the top the moment the cloud score lands. The table shows the top 14 rows; the rest are still scanned, scored and counted, they are simply not drawn, because the panel has to stay on screen.
| Row looks like | Means | What you can do |
|---|---|---|
Greyed with loading | History or an indicator handle is not ready yet for that symbol. | Wait. Buttons are dimmed and inert on purpose. If it never leaves loading, see Troubleshooting. |
| IND in gold | Direction scored, but the indicator score is under the gate. | Nothing — this is exactly the filter doing its job. |
| AI shows 0 | The indicator gate failed, so the AI score was deliberately not computed. | Nothing. The row cannot pass until the indicator side improves. |
AI above the gate, PASS still -- | One of the three conditions is still short — most often ADX, which is not printed as its own column. | Nothing to do: the row is filtered. If you want a wider net, lower InpMinADX and reload the EA. |
PASS = YES and GO green | Qualified on this scan: indicator, ADX and AI all cleared. | USE to inspect it in EXEC, or GO to trade it now. |
If the radar is empty and shows "Scanning... no pairs resolved", the watchlist names do not match your broker. Set InpSymbolSuffix, or check the pair X -> NOT RESOLVED lines the EA printed at load.
The EXEC tab is the cockpit. It has three parts: the autopilot card, the selected-signal card and the manual row.
n/max trades today cooldown Ns.Max trades reached, Daily loss cap 2.3% reached, Outside trading session, Waiting for qualifying signal or No qualifying signals. A halt resets on the next GMT day; a session or signal message clears itself as soon as the condition changes.These are the conditions the autopilot must satisfy before it may send anything. The badges show the live values, and each maps to one input explained in Safeguards:
| Badge | Default | Autopilot will not trade when… |
|---|---|---|
| MAX | 5 trades | it has already opened that many autopilot trades today (GMT day). Halts until tomorrow. |
| LOSS | 3.0% | equity has fallen that far below the day's starting balance — includes floating loss. Halts until tomorrow. |
| COOL | 120 s | less than that much time has passed since the last execution of any kind. |
| SESSION | on | the GMT hour is outside 07:00–11:00 or 13:00–17:00. |
| NO-DUP | on | the EA already holds an open position on that symbol. |
| CORREL | on | a currency in the pair already appears twice in the same direction in the basket (XAUUSD counts as USD). |
Filled by pressing USE in the radar. It shows the indicator score and the AI confidence as full-width bars, the entry, stop loss and take profit with the symbol's own digits, the auto lot that the current sizing method would send, and whether the row is QUALIFIED or not qualified. Below that, EXECUTE SELECTED sends exactly this signal — the lot is recalculated at click time, never taken from the display.
The card does not refresh itself with the market; it holds the row you selected. If the selection disappears from the scan (for example because the pair stopped being ready), the panel says "(none — tap USE in Radar)" and the execute button goes with it.
CONFIRM? for three seconds. It never touches positions opened by you manually or by another EA, because those do not carry magic 775331.Every button press is handled by one dispatcher and the screen repaints on the next tick, so a click is never blocked by a slow send. If a send fails, the EA logs the broker's retcode and backs off for 30 seconds before trying again.
The COPY tab is a status screen for the built-in copier. The role itself is chosen in the inputs — there is no live switch, because switching roles in the middle of a session is how accounts get doubled.
OFF, PUBLISHER (blue) or RECEIVER (green), the channel name, and a one-line explanation of what that role does right now, including the lot scale and the spread ceiling in receiver mode.bneu_copy_bneu_master.csv by default.OK SENT means the publisher could write; OK READ means the receiver could open the file; a FAIL err= number tells you it could not.InpCopyMaxSpreadPts), LOT SCALE (receiver multiplies the master's lot by InpCopyLotScale).TEST row as a publisher, or opens the file read-only as a receiver. Receivers ignore TEST rows completely, so this can never open a trade.InpCopyMode = COPY_PUBLISHER and a channel name such as bneu_master. Reload the EA.InpCopyMode = COPY_RECEIVER, the same channel name, InpCopyLotScale for the account-size ratio, and its own InpMagic if you do not want the follower's AMM to manage the copied trades.OK SENT, each receiver OK READ.All of this happens on one machine, through one file — see Trade copier for the file format, the freshness rule and the exact filtering order.
Everything on this tab is measured from the moment the EA loaded (or from the last reset), not from the account's lifetime. That is deliberate: it answers "how is this session going", not "how is this account doing".
(wins / trades). A position closed in several parts (scale-out, partial close) counts as one trade, aggregated with its swap and commission. Breakeven counts as a win.Statistics refresh at most every 10 seconds, off the timer, because reading account history on a busy account is slow and must never freeze the panel.
The CONF tab answers "is everything actually working?" before you blame the market.
| Reading | Meaning | What to do |
|---|---|---|
Cloud AI: TESTER | Running in the strategy tester, where the cloud is disabled by design. | Nothing. Scores are local there. |
Cloud AI: DISABLED | InpAIEnable = false. | Nothing, if that is what you want. The local score still works. |
Cloud AI: READY | Enabled and no request has been made yet. | Wait for the first 30-second cadence. |
Cloud AI: CONNECTED | Requests answered, zero errors. | Nothing. |
Cloud AI: DEGRADED | Some requests failed; the majority still answer. | Watch it. If it stays degraded, check the proxy and your connection. |
Cloud AI: UNREACHABLE | Every request failed. | Whitelist https://ai.bneutech.com in Tools → Options → Expert Advisors, then reload. The Experts log prints the exact cause, including WebRequest blocked. |
Scanner: PERIOD_M15 every 8s (28 pairs) | The live scan configuration. | Compare with what you intended. |
Pairs: 28/28 (ready 28) | Symbols resolved at load, and how many had usable data in the last scan. Red means nothing resolved. | If it is low, set InpSymbolSuffix; read the pair -> NOT RESOLVED log lines. |
Gates: IND >= 72 AI >= 80 | The two numeric gates in force (ADX is enforced too). | Nothing. |
Account / Broker | Login, account currency and the broker company string. | Confirms you are on the account you think you are. |
Lot method: BALANCE % @ 1.00% | Active sizing method and risk percentage. | Matches InpLotMethod / InpRiskPct. |
InpRiskPct in the inputs and reload. This is deliberate: changing risk mid-trade without reloading would make the panel lie about what the next order will do. Do not expect a click here to change your lot size.InpScanSeconds. On a slow terminal the rescan takes a moment but the click itself returns instantly.InpCopyMode in the inputs and reload. There is no live role switch.Below the tabs, the footer strip is the fastest health check in the product: Balance, Eq, net open P/L since load, Ready: 28/28 Sig: 28, the current session with minutes remaining, and on the right AUTO ON / AUTO OFF / AUTO HALT — or a red ALGO TRADING OFF when the terminal or the EA is not allowed to trade.
No hidden model, no mystery weight. These are the formulas the EA runs on every symbol, on every scan, on the scan timeframe.
If EMA(20) is above EMA(50) the direction is BUY, otherwise SELL. Everything else in the score is measured in favour of that direction, so a strong downtrend scores as well as a strong uptrend.
| Component | Weight | How it is measured |
|---|---|---|
| EMA alignment | 20% | 100 when EMA20 and EMA50 agree with the direction, 40 when they do not. |
| EMA slope | 15% | 50 + (EMA20 change over 3 bars, in %, signed by direction) × 400, clamped to 0–100. A 0.125% favourable slope already scores 100 — this component is about direction of travel, not size. |
| RSI(14) | 20% | BUY: (RSI − 45) × 4. SELL: (55 − RSI) × 4. So a BUY scores 100 at RSI 70 and 0 at 45 or below; a SELL scores 100 at RSI 30. It rewards momentum without demanding an overbought extreme. |
| ADX(14) | 25% | (ADX − 10) × 3. ADX 20 scores 30, ADX 30 scores 60, ADX 43.3 scores 100. The heaviest weight, because a trend with no strength is the usual way a "perfect" setup goes nowhere. |
| Price structure | 20% | 100 when price is beyond both EMAs, 60 when it is beyond only the slower one, 20 otherwise. |
Indicator score = 0.20 × EMA + 0.15 × slope + 0.20 × RSI + 0.25 × ADX + 0.20 × structure. If price, either EMA or ATR is missing, the score is 0 and the row shows as loading.
Suppose on EURUSD M15: EMA20 above EMA50 (100), EMA20 rising 0.10% over three bars (50 + 0.10 × 400 = 90), RSI 62 (BUY: (62 − 45) × 4 = 68), ADX 28 ((28 − 10) × 3 = 54), price above both EMAs (100).
0.20×100 + 0.15×90 + 0.20×68 + 0.25×54 + 0.20×100 = 20 + 13.5 + 13.6 + 13.5 + 20 = 80.6 — comfortably through the 72 gate, and ADX 28 clears the 16 gate.
| Component | Weight | How it is measured |
|---|---|---|
| Indicator score | 58% | The score from step 2, unchanged. |
| Volatility fit | 16% | Compares ATR/price with a target: 0.10% for forex, 0.80% for gold. Score = 100 − 80 × |ratio − target| / target. Dead markets and shock volatility both lose points. |
| Spread quality | 16% | Score = 100 − 2 × (spread in points − good level), where "good" is 18 points on FX, 25 on JPY pairs, 200 on gold. A spread far above normal costs real points. |
| Session | 10% | London–New York overlap 100, London 85, New York 82, Asia 55, off-hours 25. |
Worked example: indicator 80.6, ATR/price exactly on target (100), spread 10 points on EURUSD (100), London session (85): 0.58×80.6 + 0.16×100 + 0.16×100 + 0.10×85 = 46.7 + 16 + 16 + 8.5 = 87.2 — passes the 80 gate. Change the session to Asia (55) and the same setup scores 84.2; wake up to a dead ATR (score 40) and it drops to 77.6, which is a fail. That is the design: the same chart pattern is worth less outside active, volatile, cheap-to-trade conditions.
Only rows that clear the indicator gate even get an AI score, which is why the AI column shows 0 on rejected rows.
The cloud is a scorer, nothing more. About every 30 seconds the EA sends a compact text snapshot of the top 12 ready candidates — timeframe, session, and for each one the symbol, direction, indicator score, current AI score, ADX and ATR — and asks a reasoning model to return a JSON list of 0–100 confidence numbers. The answers replace the local AI score, the pass/fail flag is recomputed, and the radar is re-sorted.
POST https://ai.bneutech.com/v1/chat/completions, temperature 0.3, model gpt-oss-120b with fast as fallback. A rejected model name (HTTP 400/404) is retried once with the fallback; a timeout, a 5xx or a blocked URL ends the attempt immediately so one dead call never costs two timeouts.| Situation | What the EA does |
|---|---|
| You are clicking the panel | No cloud call is started within 2 seconds of a click, so the UI never feels frozen. The cadence window is not consumed: the call happens on the next scan. |
| Cadence | At most one call every InpAICloudCadenceSec (30 s). Set it to 0 to call on every scan — not recommended on a slow VPS. |
| Three failures in a row | Backoff for 60 seconds and a log line: Cloud AI backoff 60s after repeated errors. |
| WebRequest not whitelisted | One log line naming the exact URL to whitelist; CONF shows UNREACHABLE; local scoring continues. |
| Strategy tester | Cloud is skipped entirely — no errors counted, no log spam, local scores only. |
InpAIRequireCloud = true | A row may only pass if the cloud actually scored it. If the cloud is down, nothing qualifies and the autopilot sits at No qualifying signals. That is the point of the switch — and the reason it ships off. |
| Answer missing a symbol | That row keeps its local score. A partial answer never zeroes anything. |
Scores are not deterministic. The model runs at temperature 0.3: the same market can come back 82 and 79 on consecutive calls. Treat the cloud number as a second opinion with a slightly shaky hand, not as a measurement. If you need repeatable behaviour, set InpAIEnable = false and run the local engine only.
All five methods answer the same question: how many lots make this stop cost the money I am willing to lose? The EA measures that with OrderCalcProfit, the broker's own calculator, so the answer is in your account currency — not in pips, not in a guess. If the broker refuses the calculation, it falls back to tick value × tick size, and if both fail the fixed lot is used.
| Method | Formula | Use it when |
|---|---|---|
LOT_FIXED | InpFixedLot, always. | You want identical size on every trade, or you are testing mechanics. |
LOT_BALANCE_PCT (default) | balance × InpRiskPct / 100 / money-lost-per-lot | Normal use. Risk is fixed in percent of the balance, so the lot adapts to the stop distance automatically. |
LOT_EQUITY_PCT | equity × InpRiskPct / 100 / money-lost-per-lot | You want floating profit and loss to change the next trade's size immediately. More aggressive in a drawdown, because equity is lower. |
LOT_ATR_ADAPTIVE | Balance-based risk × a volatility factor target / max(ATR/price, 0.3 × target), clamped to 0.4–1.5 | You want smaller size in fast markets and larger size in quiet ones, on top of the stop-distance adjustment. |
LOT_VOL_SCALED | The same volatility factor, multiplied by a spread factor 1 / (1 + spread/100), clamped to 0.3–1.4 | You trade several brokers or symbols where spread varies a lot and you want size to shrink when trading gets expensive. |
Balance 10,000 USD, InpRiskPct = 1.0 → risk 100 USD. EURUSD, stop 15 pips away, one lot loses about 150 USD at that distance. 100 / 150 = 0.667 lots. The EA then floors that to the broker's volume step: 0.66 lots on a 0.01-step account, 0.6 on a 0.1-step account. It never rounds up.
risk-based lot is below broker minimum — not silently resized.InpSLAtrMult changes your money risk only through the stop distance — the percentage stays what you set.For gold, remember the point value: on a 2-digit XAUUSD a 35-point spread cap is only 35 cents. InpMaxSpreadPts usually needs raising for metals — the AI's spread component already uses a 200-point "good" level for XAU symbols.
The autopilot is allowed one entry per scan pass. Before that entry is sent, six conditions are evaluated in the order below — the daily loss cap first, because it is the one that must never be argued with. Every one of them is visible as a badge on the EXEC tab, and every refusal is written to the Experts log.
| # | Safeguard | Input (default) | Fires when | Effect |
|---|---|---|---|---|
| 1 | Daily loss cap | InpAPDailyLossPct (3.0) | Equity is that far below the balance recorded at the start of the GMT day. Floating loss counts. | Halts until the next GMT day: Daily loss cap x.x% reached. |
| 2 | Max trades per day | InpAPMaxTrades (5) | Autopilot entries today reach the cap. Only orders tagged :auto count, and the counter is rebuilt from deal history if the terminal restarts. | Halts the autopilot until the next GMT day: Max trades reached. |
| 3 | Cooldown | InpAPCooldownSec (120) | Less than that many seconds have passed since the last execution of any kind (manual ones included). | Temporary: the card shows the remaining seconds, then trading resumes. |
| 4 | Session window | InpAPSessionFilter (true) | The GMT hour is outside 07:00–11:00 and 13:00–17:00. | Temporary: Outside trading session. |
| 5 | No duplicate symbol | InpAPNoDuplicate (true) | A position with this EA's magic number is already open on that symbol. | The row is skipped; the next candidate is tried. |
| 6 | Correlation cap | InpAPCorrelation (true), InpAPMaxPerCurrency (2) | A currency in the candidate already appears in that many same-direction positions in the basket (base and quote legs are both counted; XAUUSD contributes USD). | The row is skipped; the next candidate is tried. |
| Guard | Rule |
|---|---|
| Spread ceiling | Refuse the entry when the live spread exceeds InpMaxSpreadPts (35). The log states the spread and the limit. |
| Netting conflict | On a netting account, refuse a second position on a symbol that already has one — otherwise the broker would merge or resize your first trade. |
| Lot floor | Refuse when the calculated lot is zero or below the broker minimum; never round up. |
| Free margin | Refuse when the order would consume more than 90% of free margin (a 10% buffer stays free). Refusal also starts a 30-second backoff. |
| Broker stop levels | Stops closer than the broker's stops/freeze level are widened to the minimum for normal entries, and the copy receiver refuses rows whose master stops are already inside that level. |
| Three send attempts | Requotes, price changes, off-quotes, timeouts, connection drops and "too many requests" are retried up to three times, recomputing price, stop and target from the current quote each time. Any other error stops immediately. |
| 30-second order backoff | After a failed send or a margin refusal no new order is attempted for 30 seconds, so a broken server is not hammered. |
| Algo-trading detection | If the terminal or the EA is not allowed to trade, the footer strip turns red with ALGO TRADING OFF instead of pretending the autopilot is running. |
One more thing that is not a safeguard but feels like one: during warm-up the scanner runs every second, so the radar fills quickly; after warm-up it respects InpScanSeconds. Nothing about the autopilot changes with the cadence.
Once a position exists — yours, the autopilot's or a copied one — the AMM manages it. It checks every position with this EA's magic number up to four times a second, from both the tick handler and the timer, so it also works on quiet symbols and after the market closes.
| Behaviour | Trigger | Input (default) | What happens |
|---|---|---|---|
| Emergency exit | Price moves against the entry by more than 2.8 × ATR | InpMaxAdverseAtr (2.8) | The position is closed at market immediately, whatever the stop says. This is the "the setup was simply wrong" exit. |
| Time-decay exit | Position is older than N scan-timeframe bars | InpTimeDecayBars (0 = off) | Closes a trade that went nowhere in the expected time. Off by default; 8–16 bars is a reasonable experiment. |
| Breakeven | Price has moved 1.5 × ATR in your favour | InpBreakevenAtr (1.5), InpBEBufferAtr (0.1) | Stop moves to entry plus 0.1 × ATR — just past breakeven so spread and commission are covered, not exactly at entry. |
| Regime-adaptive trail | Price is beyond breakeven and the trail is tighter than the current stop | InpTrailTrend (3.0), InpTrailRange (2.0) | Trail distance in ATR: 3.0 when ADX ≥ 30, 2.5 when ADX is 20–30, 2.0 when ADX < 20. Trending markets get room; ranges get squeezed. |
| Runner zone | Profit exceeds 2 × the breakeven distance (i.e. 3 × ATR) | InpRunnerMult (2.0) | The trail distance is multiplied by 2, so a position that is already far in profit is not stopped out by normal noise. |
| Scale-out | Profit reaches 3R, where R is the original risk distance recorded the first time the AMM saw the ticket | InpScaleOutEnable (true), InpScaleOutR (3.0) | Closes half the volume once. The trigger survives restarts (the R is stored in a global variable), and a breakeven stop cannot shrink it. |
InpMagic (775331) is managed. Positions you opened by hand, or from another EA, are ignored — that is what makes the AMM safe to run next to your manual trading.If the warnings in the Experts log tell you that InpScaleOutR × SL is beyond the take profit, or that InpMaxAdverseAtr is tighter than the stop, believe them: the first means scale-out can never trigger, the second means the emergency exit will fire before your stop. Both are printed at load and neither changes a default.
The copier is deliberately simple: the publisher appends one line per entry to a CSV file in MT5's Common\Files folder, and every receiver tails that file once a second. No network, no cloud, no passwords — which also means all terminals must be in the same MT5 installation on the same machine.
bneu_copy_<channel>.csv, so the default channel bneu_master gives bneu_copy_bneu_master.csv._ and - only, and it may not be empty — the EA refuses to load otherwise. Names longer than 24 characters are shortened and given a short hash so two long names cannot collide.<name>.csv.old (kept, never deleted) and a fresh file starts. Receivers notice a shrunken file and restart from the top.| # | Column | Example | Notes |
|---|---|---|---|
| 1 | Timestamp | 2026.11.13 14:22:31 | GMT, so receivers on any broker can compute age correctly. |
| 2 | Publisher ticket | 148293744 | Used in the receiver's log lines. A ticket of 0 marks a TEST row. |
| 3 | Symbol | EURUSD | Suffix-free base name; the receiver maps it to its own broker's name. |
| 4 | Direction | BUY | Or SELL. |
| 5 | Lots | 0.35 | The publisher's actual lot before the receiver's scale. |
| 6 | Entry | 1.08421 | Informational; the receiver fills at its own market. |
| 7 | Stop loss | 1.08216 | Used exactly as given by the receiver — validated against its price first. |
| 8 | Take profit | 1.08831 | Same. |
| 9 | Indicator score | 80.6 | Recorded for the trail/audit. |
| 10 | AI score | 87.2 | Recorded for the trail/audit. |
InpCopyMaxAgeSec (60) is skipped with a log line, so a stale signal is never filled at today's price. 0 disables the check.InpCopyMaxSpreadPts (50) — the follower should not pay for the master's luck.InpCopyLotScale, floored to the broker step. If the result is below the minimum, the row is skipped and logged; it is never rounded up.SendOrder path as any other trade, with the master's stop and target kept exactly, and validated: missing stops, stops on the wrong side of the receiver's price, or stops inside the broker's level are refused with a log line instead of being "fixed".Because the transport is a file, a receiver that was offline simply resumes at the next new row; nothing is back-filled, so a follower will be missing the trades that happened while it was down. If that matters, run the followers 24/5 like the master.
Inputs are grouped exactly as they appear in the EA settings window: 49 inputs in 8 groups. Defaults are what the EA ships with, and they are safe: you can attach it with only the handful from First-Run Setup changed.
| Parameter | Default | What it does |
|---|---|---|
InpPanelX | 20 | Distance of the panel from the left edge of the chart, in pixels. |
InpPanelY | 40 | Distance from the top edge, in pixels. The panel is fixed — this is how you move it. |
| Parameter | Default | What it does |
|---|---|---|
InpSymbols | 28 names | Comma-separated watchlist, suffix-free. Up to 64 names. Trim it to what your broker offers: every symbol costs a little warm-up and one row in the scan. |
InpScanTF | PERIOD_M15 | The timeframe every score, stop and target is computed on. M15 is the shipped default; M5 gives more signals, H1 fewer and slower. |
InpScanSeconds | 8 | Seconds between scans (minimum 1). During warm-up the EA scans every second regardless. |
InpIndicatorGate | 72.0 | Minimum indicator score to qualify, 0–100. Raise for quality, lower for quantity. |
InpAIConfGate | 80.0 | Minimum AI confidence to qualify, 0–100. This is the tightest gate in the product. |
InpMinADX | 16.0 | Minimum ADX(14). Below this the market is too flat for the strategy, whatever the other scores say. |
InpSymbolSuffix | (empty) | Your broker's symbol suffix, for example .raw or m. Empty = try the plain name, the chart-derived suffix, then the shortest matching broker symbol. |
| Parameter | Default | What it does |
|---|---|---|
InpLotMethod | LOT_BALANCE_PCT | Fixed, Balance %, Equity %, ATR Adaptive or Volatility Scaled. See Lot sizing. |
InpFixedLot | 0.10 | The lot used by LOT_FIXED — and the fallback if the broker cannot value the stop. Must be greater than 0. |
InpRiskPct | 1.0 | Risk per trade in percent of balance or equity, measured on the stop distance. Must be above 0 and at most 10. |
InpSLAtrMult | 1.5 | Stop distance as a multiple of ATR(14). |
InpTPAtrMult | 3.0 | Take-profit distance as a multiple of ATR(14). 1.5 / 3.0 is a 1:2 ratio. |
InpMaxSpreadPts | 35 | Maximum spread in points for an entry. Check what "a point" means on your broker's gold before trusting this on XAUUSD. |
InpSlippagePts | 20 | Deviation allowed on the fill, in points. |
InpMagic | 775331 | The EA's signature on every order. Used for AMM, CLOSE ALL, position counts and the autopilot's duplicate check. Use a different magic on every chart/terminal pair. |
| Parameter | Default | What it does |
|---|---|---|
InpAutopilot | false | Start the autopilot as soon as the EA loads. Your last START / STOP press on the panel wins over this value once you have pressed it. |
InpAPMaxTrades | 5 | Maximum autopilot entries per GMT day. Must be at least 1. Reaching it halts the autopilot until tomorrow. |
InpAPDailyLossPct | 3.0 | Halt when equity falls this far below the day's starting balance. Must be above 0. |
InpAPCooldownSec | 120 | Minimum seconds between entries (counts manual executions too). |
InpAPSessionFilter | true | Only trade 07:00–11:00 and 13:00–17:00 GMT. This is a fixed window, not the session names shown in the panel footer. |
InpAPNoDuplicate | true | Refuse a second position on a symbol this EA already holds. |
InpAPCorrelation | true | Refuse an entry that would stack the same currency in the same direction beyond the cap. |
InpAPMaxPerCurrency | 2 | The cap used by the correlation filter, per currency and direction. Must be at least 1. |
| Parameter | Default | What it does |
|---|---|---|
InpAMMEnable | true | Master switch for everything in Adaptive management. Off = positions are left exactly as the broker has them. |
InpBreakevenAtr | 1.5 | Favourable move, in ATR, that moves the stop to breakeven. |
InpBEBufferAtr | 0.1 | How far past entry the breakeven stop sits, so costs are covered. |
InpTrailTrend | 3.0 | Trail distance in ATR when ADX is 30 or higher (and one half of the 20–30 blend). |
InpTrailRange | 2.0 | Trail distance in ATR when ADX is below 20. |
InpRunnerMult | 2.0 | Multiplier applied to the trail once the trade is a runner (profit above 2 × the breakeven distance). |
InpScaleOutR | 3.0 | Profit, in multiples of the original risk R, at which half the position is closed. |
InpScaleOutEnable | true | Turn the scale-out off without touching the rest of the AMM. |
InpTimeDecayBars | 0 | Close a position after this many scan-timeframe bars. 0 = off (the default, because a time exit can cut good trades). |
InpMaxAdverseAtr | 2.8 | Emergency close when price goes this far against the entry, in ATR. Should always be larger than InpSLAtrMult. |
| Parameter | Default | What it does |
|---|---|---|
InpCopyMode | COPY_OFF | OFF, PUBLISHER (writes its own entries) or RECEIVER (mirrors the channel). Changing it needs a reload; the panel button only reminds you. |
InpCopyChannel | bneu_master | Channel name, shared by master and followers. Letters, digits, _ and - only; empty is refused. |
InpCopyLotScale | 1.0 | Multiplier applied to the master's lot on the receiver. 0.5 halves every copy, 2.0 doubles it. Must be above 0. |
InpCopyMaxSpreadPts | 50 | Receiver refuses a copy when its own spread is above this, in points. |
InpCopyMaxAgeSec | 60 | Receiver ignores rows older than this. 0 = no limit (not recommended: a stale entry fills at today's price). |
| Parameter | Default | What it does |
|---|---|---|
InpAIEnable | true | Use the cloud confidence. Off = the local engine only, no network at all. |
InpAIBaseUrl | https://ai.bneutech.com | Scoring endpoint. /v1/chat/completions is appended, and stray spaces or trailing slashes are cleaned up. Must be whitelisted for WebRequest. |
InpAITimeoutMs | 3000 | Milliseconds allowed per call. The reasoning model normally answers in 1–1.5 s; a dead proxy costs one timeout, not two. |
InpAICloudCadenceSec | 30 | Minimum seconds between cloud calls. 0 = every scan (heavy). |
InpAIRequireCloud | false | When true, a signal may only pass if the cloud actually scored it — so an unreachable cloud means no trades at all. Off by default for exactly that reason. |
| Parameter | Default | What it does |
|---|---|---|
InpAlertPopup | true | Popup window on every executed order (one per second at most). |
InpAlertSound | true | Play a sound with the popup. |
InpAlertSoundFile | alert.wav | Any WAV file in MT5's Sounds folder, or one of the built-in names. |
InpAlertPush | false | Send a notification to the MetaQuotes ID configured in Tools → Options → Notifications. |
Startup validation: if a fatal input is wrong (zero lot, risk of 0 or more than 10%, non-positive ATR multiples, scan interval below 1 s, gates outside 0–100, a non-positive spread limit, fewer than 1 trade, a zero daily loss cap, an empty or illegal channel name) the EA refuses to load and prints INPUT ERROR: with the exact field. Non-fatal combinations only produce WARNING: lines — for example a scale-out that can never trigger, a runner zone beyond the take profit, an emergency exit tighter than the stop, or InpAIRequireCloud with the cloud disabled.
The watchlist is written in suffix-free names because brokers disagree about everything else. At load the EA maps each name to a real broker symbol and prints the result in the Experts log, so there is no guessing:
[BneuExec] pair EURUSD -> EURUSD.raw (mapped)
[BneuExec] pair XAUUSD -> XAUUSD.raw (mapped)
[BneuExec] pair GBPNZD -> NOT RESOLVED: no broker symbol; check InpSymbolSuffix
InpSymbolSuffix, if you set one — EURUSD + .raw = EURUSD.raw..m suffix for every pair.If all four fail, the symbol is dropped and logged. The radar then scans the pairs that did resolve, so a broker with 26 of the 28 still gives you a working panel.
EURUSD, GBPUSD, USDJPY, USDCHF, USDCAD, AUDUSD, NZDUSD, EURGBP, EURJPY, GBPJPY, EURAUD, EURNZD, EURCHF, GBPCHF, GBPAUD, GBPNZD, AUDJPY, NZDJPY, CADJPY, CHFJPY, AUDCAD, AUDCHF, NZDCAD, NZDCHF, EURCAD, GBPCAD, CADCHF, XAUUSD.
InpMaxSpreadPts if you must.For the copier, the publisher always writes the base name (its own suffix stripped), and the receiver resolves it with these same four steps. That is why a master on EURUSD.raw can feed a follower on EURUSDm.
Pairs 28/28, cloud CONNECTED (or DISABLED on purpose), lot method and risk as intended.OK SENT on the master and OK READ on every follower.[BneuExec] lines are the audit trail.Find the symptom, read the cause, apply the fix. Every row corresponds to a line the EA can print in the Experts log — the log is always the fastest answer.
| Symptom | Most likely cause | Fix |
|---|---|---|
| Radar stays "Scanning... no pairs resolved" | None of the watchlist names match your broker's symbols. | Set InpSymbolSuffix (.raw, m, -5…), or copy the exact symbol names from Market Watch into InpSymbols. Read the pair -> NOT RESOLVED lines. |
Rows stuck on loading | History has not downloaded yet, or the symbol has no ticks (weekend, holiday, delisted). | Give it 30–60 seconds. If it persists on one symbol only, open that symbol's chart once so MT5 downloads its history, then press FORCE SCAN. |
| Nothing ever qualifies | The gates are strict by design: 72 indicator, ADX 16 and AI 80 all at once, on M15. | Confirm it is a normal session (Asia scores are capped by the session weight). Temporarily lower InpAIConfGate to 75 or switch the scan timeframe to M5 to see whether the pipeline is alive. |
| AI column is always 0 | The indicator gate failed on those rows, so no AI score is computed. | Working as designed. Look at the IND column: that is the number to raise. |
CONF shows Cloud AI: UNREACHABLE | WebRequest is not whitelisted, or the terminal has no internet. | Add https://ai.bneutech.com in Tools → Options → Expert Advisors → Allow WebRequest for listed URL, then reload the EA. The log prints WebRequest blocked with the URL when this is the cause. |
CONF shows DEGRADED for hours | Partial outages on the proxy side; some calls fail. | Nothing harmful — local scores keep working. If it never recovers, set InpAIEnable = false to stop the retries. |
| GO button does nothing | The row is not qualified (log: GO rejected: row is loading or has not passed the gates). | Use a PASS = YES row. If you disagree with the gate, change the gate — do not expect GO to override it. |
| EXECUTE SELECTED is gone | The selected row dropped out of the scan (symbol became unready). | Select again with USE. |
| Order refused: spread | Live spread above InpMaxSpreadPts. | Wait for the session to normalise, or raise the cap — especially on gold. |
| Order refused: not enough free margin | The lot would use more than 90% of free margin. | Lower InpRiskPct, close something, or use a smaller account risk. A 30-second backoff follows automatically. |
| Order refused: lot below broker minimum | Risk per trade is too small for that stop distance on that symbol. | Raise InpRiskPct or InpFixedLot, or trade a smaller-volume-step symbol. The EA will not round up for you. |
| Order refused: stops level | The broker requires wider stops than 1.5 × ATR on that symbol. | Raise InpSLAtrMult (and InpTPAtrMult with it) so the initial stop is outside the level. Normal entries are widened automatically; copy rows are refused instead. |
Autopilot says Outside trading session all day | InpAPSessionFilter only allows 07:00–11:00 and 13:00–17:00 GMT. | That is the intended window. Trade manually, or switch the filter off if you accept the risk. |
| Autopilot halted on max trades or loss cap | The daily counters tripped. | Nothing to do until the next GMT day. If it trips every day, your InpAPMaxTrades or risk per trade is too high for the strategy's frequency. |
| Panel invisible after a template change | Chart objects were wiped or the chart id changed. | Wait up to 5 seconds: the EA detects a missing panel and rebuilds it. If it still does not appear, remove and reattach the EA. |
| Copier: receiver sees nothing | Different MT5 data folder, wrong channel name, or the file was never written. | Press TEST CHANNEL on both sides. Compare the exact file name shown on both COPY tabs. Confirm both terminals use the same installation (Common\Files is shared per installation, not per account). |
When the server refuses an order the EA prints attempt 1/3 failed EURUSD lot=0.66 err=NNNN description. The retry logic already distinguishes the recoverable codes from the fatal ones, but here is what the common ones mean:
| Retcode | Meaning | What the EA does / what you should do |
|---|---|---|
| 10004 | Requote | Retried with a fresh price, up to three attempts. Nothing for you to do. |
| 10008 | Order placed | Not an error — the order is live. |
| 10009 | Done | Full fill. |
| 10014 | Invalid volume | Fatal. Your lot is outside the symbol's min/max/step — usually risk too small or too large. Change InpRiskPct. |
| 10016 | Invalid stops | Fatal. Stop or target inside the broker's stops level; raise InpSLAtrMult. |
| 10018 | Market closed | Fatal. Weekend, holiday or symbol disabled. |
| 10019 | Insufficient funds | Fatal, and the EA backs off 30 seconds. Reduce risk or free margin. |
| 10021 | No prices | Retried. Usually a freeze or a very quiet symbol; if it repeats, remove the symbol from the watchlist. |
| 10027 | AutoTrading disabled by client terminal | Fatal. Turn the toolbar button on and tick Allow Algo Trading for the EA. |
| 10024 / 10031 | Too many requests / no connection to the trade server | Both are retried. If 10031 repeats, check the terminal's connection state in the bottom-right corner. |
It is free on the MQL5 Market, with no licence key and no activation limit. The catch is the honest one: it is an execution and management tool, not a promise of profit, and the results depend entirely on the markets and the settings you choose.
No. One chart, and the radar covers all 28 instruments. Running it on more charts of the same account creates several independent EAs that will duplicate orders and fight over the same positions.
Only if you start the autopilot (START on the EXEC tab, or InpAutopilot = true). Otherwise it scans, scores and waits for you to press USE / GO / EXECUTE SELECTED / BUY / SELL.
Technically yes, and it is what step 1 of the OS is built for. But check the firm's rules first: some ban EAs, some ban trade copiers, and most count the daily loss on the server's day, not GMT. The autopilot's loss cap uses GMT and starts from the balance at 00:00 GMT — if your firm resets at a different hour, that cap is not the same number they use.
By design. It raises an alert telling you to change InpRiskPct in the inputs and reload. A live change would make the panel show one risk while the next order used another. The COPY MODE button behaves the same way.
Because it is not a draggable object in this version. Its position comes from InpPanelX and InpPanelY, in pixels from the chart's top-left corner. Change them and reload the EA. (Some older marketing text mentions a draggable panel; the panel you are running is positioned by inputs.)
M15 is the default and the one the ATR-based stops are tuned for. M5 produces more signals and more noise; H1 produces fewer, stronger ones with wider stops, which means smaller lots for the same risk. Change InpScanTF and leave it alone for a few weeks before judging it.
EMA(20) above EMA(50) means BUY, otherwise SELL. The rest of the score measures how well that direction is behaving. Values are read live, including the bar that is still forming, so a score can move inside a bar as price moves — nothing is stored and nothing is re-drawn after the fact.
The cloud score stops arriving, the CONF tab says UNREACHABLE, and everything else keeps working on the local score. If InpAIRequireCloud is true, nothing qualifies while the cloud is down — that is the one setting that makes the internet mandatory.
No. It receives a text list of symbols with their scores, ADX and ATR, plus the timeframe and session. It never receives your login, balance, broker, positions or orders, and it cannot place anything.
Only if they carry the EA's magic number, which manual trades opened outside the panel do not. Trades opened with the panel's BUY / SELL buttons do carry it and are managed. That is also why CLOSE ALL leaves your hand-placed trades alone.
Almost certainly the emergency exit: price moved 2.8 × ATR against the entry, and the AMM closed it at market. There is no dedicated alert for that path, so the deal in your account history is the evidence — check the distance travelled against the ATR of the scan timeframe before you blame the broker.
No, and it will not do what you want. Use one EA per account with its own magic number. If you need different strategies, use different accounts or the copier.
Only through symbol mapping on the same machine — the receiver maps the base name to its broker's name, so EURUSD.raw on the master feeds EURUSDm on the follower. Different point values are fine because the receiver uses its own market and channels the master's stops.
Check the log for skipped lines. The usual reasons are: the row was older than InpCopyMaxAgeSec, the receiver's spread was above InpCopyMaxSpreadPts, the symbol was not listed, or the scaled lot was below its minimum. Each one is printed with the ticket number.
It loads and trades, but without the cloud score (the tester has no WebRequest) and without the copier being meaningful. Use the tester to check lot sizing, stops and AMM mechanics — not to estimate profitability.
The run flag, the GMT day, the day-start balance and today's autopilot trade count are stored as terminal global variables, so the EA comes back with the same state and does not double-count. Session statistics do reset, because they are meant to measure a session.
Two ways. STOP on the EXEC tab ends the autopilot but leaves positions running under the AMM. CLOSE ALL (two clicks) closes every position with this EA's magic. Turning AutoTrading off does neither — it only blocks new orders.
No. This product sends popup, sound and mobile push alerts only. If you want Telegram, that lives in the Prop Firm Pass and Market Intelligence products.
The order comment records which path produced the trade: BneuExec:radar, BneuExec:auto, BneuExec:manual, BneuExec:exec-tab or BneuExec:copy:<ticket>. The scores at the moment of the scan are in the panel, and in the copier's CSV row when the publisher is active — the order itself carries the path, not the numbers.
loading.InpAIRequireCloud is on.https://ai.bneutech.com/v1/chat/completions, model gpt-oss-120b with fast fallback, 3 s timeout, 30 s cadence, 60 s backoff after three failures<common>\Files\bneu_copy_<channel>.csv, 10 columns, 1 MB rotation, 1 s receiver pollBNEUEX_ (autopilot run flag, day key, day-start balance, trades today, halt code, last trade, copier offsets, scale-out markers)BNEUEX_ (chrome) and BNEUEX_CT_ (tab content), removed on exit[BneuExec] in the Experts tabInpAIEnable is trueMost questions are answered above, and the Experts log answers the rest. Before writing, do this:
[BneuExec] lines. Every rejection states the symbol, the number that caused it and the limit it broke.UNREACHABLE or a low pair count.ALGO TRADING OFF if it is not.If it is still unresolved, send us:
[BneuExec] prefix;.set file) and whether the account is hedging or netting;