Everything you need to run FxMath Multi-Asset Signal.
From your $99 license key to your first manual trade: account binding, MT5 installation, every input explained, the panel tour, Telegram, reports, prop guard and troubleshooting.
EA 1.78MT5 64-bitXAUUSD first16 timeframes52 settings documentedLifetime license
FxMath Multi-Asset Signal is a manual-execution MetaTrader 5 Expert Advisor. It reads 44 causal features across 16 timeframes, combines six online learners in a hedge ensemble, and turns them into a clear BUY, SELL or FLAT call with entry, stop and target levels. It never opens a trade by itself.
Signal engine
Softmax, passive-aggressive, naive Bayes, perceptron, centroid and k-NN, combined by a hedge ensemble that down-weights recent losers.
Manual execution
BUY/SELL buttons, editable ticket, ATR-based SL/TP, risk sizing and a TP-based trailing stop. You keep the final click.
Decision support
16-TF board, MTF confluence, model health, signal history, trade journal, reports and Telegram chart alerts.
Not investment advice. This is a research and decision-support tool. It does not guarantee profit, does not manage risk for you, and never trades without your confirmation. Leveraged products can lose more than your deposit.
Requirements
Requirement
Details
Platform
MetaTrader 5, 64-bit, build 3000 or newer
OS
Windows 10/11, Windows VPS, or macOS/Linux through Wine
Account
Any MT5 demo or live account. XAUUSD recommended; any symbol works
Terminal settings
Allow DLL imports for license checks and Telegram (WinINet/WinHTTP)
Internet
Needed for activation and Telegram. Trading continues during the offline grace period
License
One lifetime key, bound to one MT5 account number at a time
$99 once. No subscription, no seat fee, no paid upgrade to unlock the engine. Crypto only through the fxmath.com checkout.
What you receive
The compiled .ex5, a lifetime license key, portal access, this documentation and support. The .mq5 source is not sold or delivered.
Delivery flow
Where the key is sent
After the license is generated, the key is posted to the configured Telegram chat in a ready-to-forward message containing the portal link, download link and support contacts. If you bought through a reseller or the bot was not configured, the key is sent manually by support.
Keep the key private. The key is the only credential for the portal. Anyone who has it can view the license and transfer the bound account. If it leaks, contact support to have the license reissued.
Paste your key into the License key field. Dashes are optional and the key is case-insensitive.
Press Check license.
If the key is active you will see:
Field
Meaning
Client
Name recorded on the license (may be blank)
License
Lifetime, or a dated plan for comps/trials
Status
active — any other value means the EA will reject the key
Expires
Lifetime for the $99 license
Bind your MT5 account number
Find your account number
In MT5, the account number is the login shown in the Navigator under Accounts, or in the terminal title bar. It is digits only — do not enter your broker server name, email or investor password.
Enter it in the portal
Type the login into MT5 account number and press Bind account. Example: 115991872.
Confirm
The Active account card appears with the bound number. The same account is shown in the EA's license check.
One account at a time. If the EA runs on an account that is not the bound one, it returns LIC INVALID and blocks new orders. Closing and reducing positions is always allowed.
Transfer to another account (free)
Broker change, new prop account or a fresh demo? You do not need a support ticket:
Open the portal and log in with the same key.
Type the new MT5 account number and press Save account.
The binding updates immediately. The running EA picks it up at its next check (on restart, or within InpLicenseCheckHours, default 6 hours).
There is no limit on the number of transfers — only one active account at any moment.
Download the EA
After login, the Download the EA card links to the current compiled build. The download is also always available at:
In MT5, right-click Expert Advisors → Refresh. The EA appears under Navigator → Expert Advisors.
Allow DLL imports
Tools → Options → Expert Advisors → tick Allow DLL imports. The EA uses WinINet for the license check and WinHTTP for Telegram.
Enable AutoTrading
Click the Algo Trading button in the toolbar so it is green. Without it, manual BUY/SELL orders are rejected.
Attach to a chart
Drag the EA onto an XAUUSD chart (H1 is the default reference). In the dialog, open the Inputs tab and paste your key into InpLicenseKey.
One chart per symbol. Every timeframe uses its own magic number offset, but two charts of the same symbol share the same magic set. For clean journals and position actions, run one FxMath chart per symbol.
Folder layout after first run
Path (inside MQL5/Files)
Contents
FxMathXAU/models/<symbol>_<TF>.bin
Trained ensemble per timeframe; reloaded on attach
License check — key + account over WinINet. With InpLicenseEnforce = true an invalid license stops the EA at INIT_FAILED with an alert.
Symbol resolution — the chart symbol is used, or InpSymbolOverride. DXY and silver context symbols are resolved with broker prefix/suffix rules.
Model load — saved models are loaded from FxMathXAU/models. If none exist, each timeframe trains from InpHistoryBars bars.
Panel build — compact panel appears at InpPanelX/Y, and the selected timeframe is analysed if InpScanOnStart is on.
Full board scan — with InpAutoScanAll, all 16 timeframes are scanned and then refreshed every InpBoardRefreshMinutes.
The first training pass can take a few minutes. Progress and decisions are written to the MT5 Experts tab. Later attaches are fast because models are persisted.
Wait for warm-up. A timeframe needs at least 120 resolved bars before the ensemble is meaningful. With InpAutoLearn on, the models keep learning bar by bar.
The default view. It shows the current signal, the 16-timeframe board and the control row.
Compact panel schematic — the live values depend on your symbol and model state.
Buttons
Button
Action
TRADE
Opens the ticket. When the signal is actionable the side is locked to BUY or SELL; otherwise the ticket offers BUY / SELL / NO TRADE.
SCAN 16
Forces an immediate scan of all 16 timeframes. Use it after changing settings or a long disconnect.
TG TEST
Sends a test message with a chart image to verify the Telegram token, chat id and screenshot path.
REPORT
Writes CSV and HTML trade reports for the last InpReportDays days to MQL5/Files/FxMathXAU/reports.
RESET
Resets the selected timeframe's model and retrains from history. Other timeframes are untouched.
ADVANCED
Switches to the model-votes view.
RISK
Opens the risk, position and journal view.
Timeframe board
Each row is one timeframe with its current side, calibrated confidence and live hit-rate. Click any row to analyse that timeframe: the signal card, levels and ticket switch to it. The board covers:
M1M2M3M4M5M10M15M30H1H2H3H4H6H8H12D1
Some brokers return no history for M2/M3/M4/M10; those rows stay blank until the broker supplies data. This does not affect the other timeframes.
The evidence view. Use it when you want to see why the ensemble voted the way it did.
Ensemble summary row — combined FLAT / SELL / BUY ratios, calibrated confidence and live hit-rate.
Six model votes — softmax, passive-aggressive, naive Bayes, perceptron, centroid and k-NN. Each row shows FLAT / SELL / BUY probability bars, the model's own call and its weight in the hedge.
Top linear drivers — the features pushing this bar most strongly toward the selected side.
Context — DXY, silver, session and volatility context used by the features.
Log — the EA's recent decisions, alerts and report writes.
Buttons: COMPACT returns to the default view; RISK opens the risk dashboard; the timeframe board remains clickable.
Disagreement is information. A high-confidence ensemble with weak individual learners is less trustworthy than broad agreement. The model-health strip in the RISK view flags WARM, WEAK and LOW W learners.
The ticket is the only place an order can be opened. It previews lots, risk, margin and levels before you confirm.
Field
Behaviour
Side
Locked to the signal side when actionable. Otherwise BUY, SELL or NO TRADE.
Lots
Type a value, use the −/+ stepper, or tap a quick-lot preset (0.01–1.00). Clamped to the symbol's min/max/step.
Stop loss
Pre-filled from InpStopAtr × ATR or the signal's stop. Editable.
Take profit
Pre-filled from InpTargetAtr × ATR or the signal's target. Editable.
Risk preview
Shows the loss at the stop and margin usage before confirmation.
Confirm / Cancel
Executes at market with InpDeviationPoints slippage, or closes the ticket.
Sizing
By default lots are calculated from InpRiskPercent of equity and the stop distance. Set InpFixedLots above zero to override sizing with a fixed volume. The ticket always shows the resulting lots, and you can still change them before confirming.
Trailing stop
Trailing is optional per ticket. It starts when price has travelled InpTrailStartPct of the distance to take profit and then keeps the stop InpTrailStepPct of that distance behind price, improving it only when the move is at least InpTrailMinPoints points.
The last-used start/step values are remembered for the next ticket. Trailing state survives an EA reload and is removed when the position closes.
Filling modes. Orders are sent with the symbol's default filling mode and retried with FOK, IOC and RETURN if the broker rejects the mode. No further configuration is required.
Optional. The EA sends signals, trade events and reports over WinHTTP, so no WebRequest URL whitelist is needed — only Allow DLL imports.
Create a bot
Message @BotFather, send /newbot, and copy the token (looks like 123456789:AA...).
Start a chat with the bot
Open your bot and press Start. A bot cannot message you first.
Get the chat id
For a private chat, message @userinfobot. For a channel, add the bot as an admin and use @channelname.
Fill the inputs
InpTelegramToken and InpTelegramChat. Leave InpTelegram on.
Test
Press TG TEST. A chart image and caption should arrive within a few seconds. If not, check the Experts log for the Telegram error.
What gets sent
Event
Content
New actionable signal
Chart screenshot (1600×900) + caption with symbol, side, confidence, entry/stop/target and hashtags
Manual fill / close
Text alert with side, lots, price and result when InpAlertTrades is on
Report
Text summary after REPORT is pressed
Signals are rate-limited per timeframe by InpSignalCooldownMinutes (default 15) so a shifting model does not spam the chat.
The token is stored in the chart inputs. It is not encrypted. Use a dedicated bot, and do not share chart templates or screenshots that show the Inputs tab.
The HTML file opens in any browser and shows the trade table, win rate, profit factor, net result, average win/loss, best/worst trade and the magic/timeframe stamp. All timestamps are GMT.
Files the EA writes
File
Purpose
Safe to delete?
FxMathXAU/models/*.bin
Trained models per symbol/timeframe
Yes — they retrain on next attach
FxMathXAU/reports/*.csv|html
Your reports
Yes
FxMathXAU/alerts/*.png
Telegram screenshots
Yes
Reports are per magic number set. The EA reports its own trades, not manual trades placed from another EA or by hand.
Every input in EA 1.78, in the same order as the MT5 Inputs tab. Press / to search by name, type or meaning.
52 / 52 settings
No setting matches that search. Try “license”, “risk”, “trail” or “panel”.
Top level 1 setting
InpLicenseKey""
stringrequired
Your lifetime key in the form FXMATH-XXXX-XXXX-XXXX. This is the first input so it is easy to find. Dashes and letter case do not matter.
Leave empty only when InpLicenseEnforce is false for testing. Otherwise the EA stops at INIT_FAILED.
Signal engine 15 settings
InpDefaultTFPERIOD_H1
ENUM_TIMEFRAMES
Timeframe analysed first when the EA attaches. The board still scans all 16 timeframes and you can click any row to switch.
InpSymbolOverride""
string
Leave blank to use the chart symbol. Set an explicit symbol (for example XAUUSD) only if you want the EA to read a different symbol than the chart it is attached to.
InpAutoLearntrue
bool
When on, each learner updates once per closed bar and the ensemble keeps adapting. Turn it off to freeze the model after training — useful for a fixed study or a reproducible test.
InpMinConfidence0.42
double
Minimum calibrated confidence for a signal to be ACTIONABLE. Below the gate the signal is still displayed as WATCH or WEAK, but the ticket and Telegram treat it as non-actionable.
Raise it for fewer, cleaner signals; lower it to see more of the model's thinking.
InpHistoryBars900
int300–3000
Bars loaded per timeframe for first training. Higher values give the learners more context but make the first attach slower and use more memory.
InpStopAtr1.5
double
Stop distance in ATR for signal levels and the ticket's default stop. With ATR 6.19 and 1.5, the stop sits about 9.28 price units away.
InpTargetAtr2.5
double
Target distance in ATR. The ratio InpTargetAtr / InpStopAtr sets the default reward-to-risk of the signal levels.
InpLabelAtr1.0
double
Triple-barrier threshold used to label historical bars for training: a move beyond +1 ATR is BUY, below −1 ATR is SELL, otherwise FLAT.
Changing this changes what the models learn; retrain or use RESET after a large change.
InpScanOnStarttrue
bool
Analyse the selected timeframe immediately on attach. Disable if you prefer the EA to wait for the first scheduled board scan.
InpAutoScanAlltrue
bool
Keep the full 16-timeframe board refreshed in the background. When off, only the selected timeframe updates until you press SCAN 16.
InpBoardRefreshMinutes5
int
Minutes between full-board refreshes. 0 disables the periodic refresh (manual SCAN 16 still works). Larger values reduce CPU use on a VPS.
InpAlertsOnSignalstrue
bool
Send a Telegram alert when a timeframe produces a new actionable signal. Requires InpTelegram, token and chat id.
InpSignalCooldownMinutes15
int
Minimum minutes between alerts for the same timeframe. Prevents repeated alerts while a signal stays actionable.
InpDxySymbol"DXY"
string
USD index symbol used for cross-asset features. The EA also tries broker prefix/suffix variants (USDX, mDXY, DXY.a). Leave blank to disable DXY features, which are then zero.
InpSilverSymbol"XAGUSD"
string
Silver symbol for the gold/silver context features. Blank disables them. If your broker does not offer silver, leave the default — the resolver simply reports it as missing.
Manual trading 10 settings
InpRiskPercent1.0
double
Percentage of equity risked per trade when sizing from the stop distance. At 1% on a $10,000 account, the loss at the stop is about $100.
InpFixedLots0.0
double
When greater than zero, overrides risk-based sizing with this fixed volume. 0 keeps risk sizing.
InpDeviationPoints20
int
Maximum slippage in points accepted on market orders. Too low can cause rejections in fast gold markets; 20–40 is typical.
InpMagic20261125
int
Base magic number. Each timeframe adds an offset (M5 +0, M15 +1, … M10 +15), so the journal and position actions can tell timeframes apart.
Keep it unique if you run other EAs on the same account.
InpReportDays30
int
Lookback in days for the CSV/HTML reports and the trade-journal window in the RISK view.
InpTrailEnabledDefaultfalse
bool
Whether new tickets start with trailing enabled. You can still toggle it per ticket.
InpTrailStartPct50.0
double
Trailing begins after price travels this percentage of the distance to take profit. At 50%, trailing starts halfway to TP.
InpTrailStepPct25.0
double
Once active, the stop follows price at this percentage of the TP distance. Smaller values trail tighter.
InpTrailMinPoints2
int
Minimum stop improvement in points before the EA modifies the position. Prevents excessive modify requests.
InpTradeComment"FxMath manual"
string
Comment attached to orders opened from the ticket. Useful when inspecting the account history.
Telegram (WinHTTP) 5 settings
InpTelegramtrue
bool
Master switch for all Telegram traffic. When off, TG TEST and signal alerts are skipped.
InpTelegramToken""
string
Bot token from @BotFather. Stored in the chart inputs, not encrypted. Use a dedicated bot.
InpTelegramChat""
string
Destination chat id (for example 179757601) or a public channel such as @mychannel. The bot must be a member/admin of the channel.
InpAlertTradestrue
bool
Send alerts when the EA's manual orders are filled or closed, including the result.
InpTelegramChartstrue
bool
Attach a 1600×900 chart image to signal alerts. When off, alerts are text only. The panel is included in the screenshot.
License 3 settings
InpLicenseCheckHours6
int
How often the running EA re-checks the license online. Startup always checks regardless of this value. Revocations and transfers take effect at the next check.
InpLicenseGraceDays3
int
Offline grace after the last successful check. If the server cannot be reached, the EA keeps working for this many days, then stops opening orders. 0 disables grace.
InpLicenseEnforcetrue
bool
Block new orders when the license is invalid. Disable only for local testing: the panel then shows LIC OFF and no license check is required.
Prop guard / risk 4 settings
InpPropGuardfalse
bool
Enables the optional daily-loss and max-position guard. Off by default; see the Prop guard section.
InpPropDailyLossPct3.0
double
Daily loss limit as a percentage of equity. When today's realised + floating loss reaches it, the guard activates.
InpPropMaxPositions1
int
Maximum simultaneous open positions for this symbol. 0 disables the position cap.
InpPropBlockOnBreachtrue
bool
Block new tickets when a guard limit is hit. When off, the guard only warns in the panel.
Calendar / risk 3 settings
InpCalendarBlackouttrue
bool
Uses the MT5 economic calendar to suppress new actionable signals around high-impact USD events.
InpBlackoutMinutes30
int
Minutes before the event when the blackout starts. The window ends when the event time passes.
InpBlockManualOnBlackoutfalse
bool
When on, the ticket refuses new BUY/SELL orders during the blackout. Closing and managing positions is always allowed.
GUI / chart 11 settings
InpShowPaneltrue
bool
Draw the panel on the chart. When off the EA still analyses and can send Telegram alerts, but there is no on-chart UI.
InpPanelX12
int
Panel left offset in pixels from the chart's top-left corner.
InpPanelY28
int
Panel top offset in pixels. Increase it if the panel overlaps chart symbols or the one-click trading tools.
InpAdvancedDefaultfalse
bool
Open the ADVANCED model view on attach instead of the compact panel.
InpDrawLevelstrue
bool
Draw the entry, stop and target lines for the selected signal on the chart.
InpBgC'16,23,38'
color
Panel background colour.
InpBg2C'21,30,48'
color
Card and button background colour.
InpAccentC'231,184,75'
color
Accent colour for headings and the brand line.
InpTextC'232,237,247'
color
Primary text colour.
InpDimC'150,163,187'
color
Secondary and muted text colour.
InpVerboseLogfalse
bool
Write extra detail to the MT5 Experts log. Useful while diagnosing a problem; leave off for normal use.
An optional, local safety layer for funded-account rules. It never overrides your broker and is not a substitute for the firm's own risk system.
Enable it with InpPropGuard = true. Two limits are then tracked continuously:
Daily loss — today's realised plus floating loss versus InpPropDailyLossPct of equity. When the limit is reached, the guard trips.
Max positions — open positions for the chart symbol versus InpPropMaxPositions. 0 disables this cap.
With InpPropBlockOnBreach = true, a tripped guard blocks new tickets. Closing, partial closes and stop moves remain available. The RISK view shows the guard state next to the risk dashboard.
Guard, not guarantee. Gaps, slippage, swaps, commissions and trades opened outside the EA are not fully controlled. Always respect your firm's hard limits.
Gold reacts sharply to US data. The blackout keeps new signals out of the worst minutes around high-impact USD releases.
With InpCalendarBlackout = true, the EA reads the MT5 economic calendar and suppresses new actionable signals for InpBlackoutMinutes before each high-impact USD event. Existing positions are untouched; the blackout only affects new entries.
If your broker's calendar is empty, the EA simply has nothing to suppress. Set InpBlockManualOnBlackout = true if you also want the ticket to refuse new BUY/SELL orders during the window.
Use InpPanelX and InpPanelY to move the panel, and the five colour inputs to match your chart template. The defaults are the dark navy/gold theme you see on the product site.
Input
Element
Default
InpBg
Panel background
C'16,23,38'
InpBg2
Cards and buttons
C'21,30,48'
InpAccent
Headings, brand
C'231,184,75'
InpText
Primary text
C'232,237,247'
InpDim
Secondary text
C'150,163,187'
If the panel ever looks partially drawn after an EA reload, press ADVANCED then COMPACT. Both views rebuild every panel object from scratch.
No. Every order is manual. The EA analyses, shows the evidence, prepares the levels and opens a ticket; you choose BUY, SELL or NO TRADE and press confirm.
Is it only for gold?
Gold first. XAUUSD is the primary reference for features, risk defaults and the demo. The same EA runs on FX majors, indices and crypto with symbol-aware digits, tick size and filling mode.
How many accounts can I use?
One MT5 account at a time. You can transfer the license to another account instantly from the portal, free, as often as you need.
Can I use it on more than one PC?
Yes. The license follows the MT5 account, not the computer. Log in to the same account on another PC and attach the EA with the same key. One live account at a time.
Does it work offline?
For a limited time. After a successful check, the EA keeps opening orders for InpLicenseGraceDays days (default 3) without the server. After that it blocks new orders until it can check again.
What happens if I change broker?
Open the portal, enter the new account number and save. The change is immediate. Restart the EA or wait for the next check.
Are updates free?
Yes. New builds appear on the same download link in the portal. There is no renewal or paid upgrade to unlock the engine.
Can I run it on a VPS?
Yes, a Windows VPS is the usual setup for 24/7 signals and Telegram. DLL imports must be allowed there too. The EA is light: the main cost is the first training pass.
Does it work with prop firms?
It is a standard MT5 EA with manual execution. Whether EAs are allowed, and which symbols or timeframes are permitted, depends on the firm. Check their rules before use, and use the prop guard as an extra layer, not a guarantee.
Which timeframes are covered?
M1, M2, M3, M4, M5, M10, M15, M30, H1, H2, H3, H4, H6, H8, H12 and D1 — 16 in total. Some brokers do not provide M2/M3/M4/M10 history; those rows stay blank.
Is the source code included?
No. The license delivers the compiled .ex5. The .mq5 source is not sold, shared or delivered.
Where can I see free signals?
Join the free channel at @FxMathSignals for daily XAUUSD-first setups. Discussion and questions are in the linked group, @FxMathSignalsChat. Free posts are samples: the full 16-timeframe board and risk tools are in the EA.
Can I share the EA file with a friend?
The file only works with an active license key bound to the account running it. Sharing the file does not give access. Sharing the key does — and may lead to revocation.
A non-transferable, non-exclusive lifetime right to use one compiled copy of FxMath Multi-Asset Signal on one MT5 account at a time, including free updates.
What it does not grant
No source code, no resale, no redistribution, no sublicensing, no use as a hosted service, and no guarantee of profit.
Account rule
One active MT5 account number per license. Transfers are free and self-service from the portal. Running the same key on an account that is not bound returns LIC INVALID.
Revocation
A license may be revoked for payment reversal, key sharing, attempted circumvention, or resale. Revocation takes effect at the next online check (or when the offline grace expires). Closing and reducing positions always remains possible.
Data we store
License key, plan, status, creation and expiry dates.
Client name and email if you provided them at purchase.
The bound MT5 account number and when it was bound.
Admin session tokens and login-attempt timestamps for security.
No payment card data, no broker credentials, no investor passwords and no trading history are stored on the license server. The EA sends only the key, the account number and the request time.
Refunds
This is a digital product delivered immediately. Refunds are handled case by case under the terms shown at checkout. Contact support before opening a dispute.
Free posts are samples. They are educational, may be delayed and are not financial advice. The full 16-timeframe board, RISK view, prop guard and journal are inside the EA.
When asking for help, include the EA version, MT5 build, chart symbol, the panel badge (LIC OK / LIC INVALID / …) and the last 20 Experts lines. Never send your Telegram token, broker password or full license key in public chats.