MAT
MATrader AI · v9.3

The Complete User Manual

Every setting in the MATrader AI Expert Advisor, explained in plain language — so you can configure it with confidence. Calibrated for XAUUSD (Gold) on M1, for MetaTrader 4 & 5 on RoboForex KXTL cent accounts.

XAUUSD · M1MT4 & MT5RoboForex KXTLCent account
XAUUSDSymbol · Gold
M1Timeframe
~150 USDMin. balance
24/5Runs on a VPS
Free for KXTL members

Verify the RoboForex account you will trade on at marcalbrechttrading.com/whitelist. Once approved, your account is licensed and you receive the EA plus any tuned set files — no extra cost on KXTL VIP conditions.

Or on the MQL5 Market

Prefer to buy or rent? MATrader is also available on the MQL5 Market. The Market delivers and activates the EA directly inside MetaTrader.

Risk warning: MATrader uses an automated grid / recovery layer and trading derivatives carries substantial risk, including the loss of all capital. Past performance does not guarantee future results. Accounts shown on this site may be demo. This manual is product documentation, not financial advice — always test on a demo account first.

01Quick-start checklist

From zero to running in eight steps.

  1. 1

    Open a RoboForex VIP cent account

    Use affiliate code KXTL when registering so you receive the correct VIP cent-account conditions.

  2. 2

    Fund your account

    Minimum recommended balance: 15,000 cent units (about 150 USD) at the default risk settings.

  3. 3

    Get MATrader (two ways)

    Free for verified KXTL members — verify your RoboForex account at marcalbrechttrading.com/whitelist. Or purchase / rent it on the MQL5 Market, then sign in to your MQL5 account in MetaTrader under Tools > Options > Community; the EA appears in Navigator > Market.

  4. 4

    Open a XAUUSD M1 chart

    MATrader is calibrated specifically for Gold (XAUUSD) on the 1-minute (M1) timeframe.

  5. 5

    Drag MATrader onto the chart

    Find MATrader in the Navigator panel and drop it on the chart.

  6. 6

    Allow live trading and WebRequest

    In the EA dialog tick Allow live trading. Then in Tools > Options > Expert Advisors, tick Allow WebRequest for listed URL and add https://license.marcalbrechttrading.com so the EA can confirm your KXTL licence (and run the optional news filter).

  7. 7

    Click OK with defaults (or load a set file)

    The defaults are safe for the recommended account. Tuned set files are on marcalbrechttrading.com/whitelist.

  8. 8

    Confirm the smiley + HUD

    The smiley face must be enabled (top-right of the chart) and the MATrader HUD panel must appear (upper-left). Once both are visible, the EA is live.

When it is liveOnce the chart smiley face is happy and the HUD panel is visible in the upper-left corner, MATrader is running. The rest of this manual explains every input in the EA dialog.

02Account & broker requirements

SymbolXAUUSD (Gold) only
TimeframeM1 — 1 minute
BrokerRoboForex — KXTL VIP cent account (recommended)
Account typeCent account only — required for the calibrated risk profile
Min. balance15,000 cent units (~150 USD) at default risk
LeverageMaximum offered by RoboForex VIP for the cent account
PlatformMetaTrader 4 or MetaTrader 5
ConnectivityVPS strongly recommended — the EA must stay online 24/5
RecommendedWhy RoboForex KXTL? MATrader is calibrated against the spread and commission profile of RoboForex KXTL VIP cent accounts. Using a different broker may produce significantly different results. Always test on a demo account before going live.

03Installing the EA

There are two supported ways to get MATrader. Both end up the same way — the EA running on a XAUUSD M1 chart.

Free via KXTL whitelist

  1. Open a RoboForex VIP cent account with affiliate code KXTL.
  2. Verify the trading account you will run the EA on at marcalbrechttrading.com/whitelist.
  3. Once approved, your account number is licensed and you receive the EA file plus any tuned .set files.

MQL5 Market

  1. Open mql5.com, sign in (or create a free MQL5 community account) and purchase or rent MATrader.
  2. In MetaTrader, go to Tools > Options > Community and sign in with that same MQL5 account.
  3. Open the Navigator (Ctrl+N) and expand Market — MATrader appears there automatically once your purchase is registered.

Then, either way

  1. Open a XAUUSD M1 chart and drag MATrader from the Navigator onto it.
  2. On the Common tab, tick Allow live trading.
  3. Click OK with the default inputs to start, or click Load to apply a tuned set file.
NoteActivation limit: the MQL5 Market allows MATrader to be activated on a limited number of MetaTrader installations per licence. If you run on a VPS, activate it directly on the VPS terminal so the activation is bound there.
License & WebRequest URL

On the free KXTL version, MATrader confirms your account with a quick license check. In Tools > Options > Expert Advisors, tick Allow WebRequest for listed URL and add this address so the EA can run:

https://license.marcalbrechttrading.com

If your MetaTrader build uses plain HTTP, add http://license.marcalbrechttrading.com instead. The optional news filter uses the same WebRequest list.

04The HUD — on-chart panel

When MATrader is running you will see a control panel in the upper-left of your chart. It shows account state, filter status and live engine status at a glance.

Account stateBalance, equity, floating P&L and drawdown.
Engine statusWhether each trade engine is currently allowed to trade.
Filter statusWhich optional filters are active right now.
SpreadThe current broker spread vs. your configured maximum.
News windowMinutes until the next high-impact news (if the news filter is on).
Order countLive trade count per engine.
RecommendedYou can hide the HUD with InpChartDisplay = false on the Display tab, but we recommend leaving it on — it is the easiest way to confirm the EA is running correctly.

05Settings reference

Every input group in the EA dialog. If a setting is not listed, leave it at its default. Tap any group to expand it.

DisplayControls the on-chart information panel (HUD).
InpChartDisplaytrueShow the HUD panel on the chart. Turn off if you want a cleaner chart.
InpDisplayInpBackgroundColortrueUse a dark background plate behind the panel for readability.
InpBackgroundColorBlackColor of the panel background plate.
RecommendedLeave the HUD on — it is the easiest way to see what the EA is doing in real time.
Control switchesMaster on/off switches — the first knobs to reach for if you need to pause or stop the EA quickly.
InpOpenNewOrderstrueMaster switch for opening new initial trades. Set false to stop new positions while still managing existing ones.
OpenNewOrdersGridtrueAllow the recovery layer to add follow-up orders. Set false to freeze it where it is.
InpCloseAllNowfalseEmergency button. Set true to immediately close every position the EA owns, then reset to false.
RecommendedUse InpOpenNewOrders = false to let the EA finish current trades but stop opening new ones (e.g. before a holiday or news weekend). Use InpCloseAllNow = true only as an emergency stop.
Trade enginesMATrader ships with two independent trade engines. Run either one alone, both together, or use the combined mode.
InpEnableEngineAtrueEnable Engine A (long-side trading).
InpMagic5318008Magic number for Engine A. Leave at default unless another EA on the same account uses the same number.
InpEnableEngineBtrueEnable Engine B (short-side trading).
InpMagic25311Magic number for Engine B. Same rule — only change if it conflicts with another EA.
RecommendedKeep both engines on for the standard MATrader experience. Turn one off if you only want one direction (e.g. long-only during a strong uptrend).
Position sizingDecides how big each trade is.
InpLotModePercent LotFixed Lot (always the same size) or Percent Lot (size scales with balance).
InpFixedLot0.10Lot size used when Fixed Lot mode is selected.
InpPercentLot0.12Percentage of balance used per trade when Percent Lot mode is selected.
InpTakeProfit90Take-profit distance in pips for each individual trade.
RecommendedNew users on a RoboForex KXTL VIP cent account: leave defaults. Lower risk: reduce InpPercentLot to 0.05, or switch to Fixed Lot 0.01 until you are comfortable. Raise InpTakeProfit only for larger but slower wins.
Grid engineMATrader uses an adaptive recovery layer for risk management. These settings shape how it behaves; the internal logic that decides when to add an order is automatic.
TypeGridLotStep LotLot scaling method between recovery orders. Choices: Fixed, Sum, Doubling, Step.
InpGridSize6Distance in pips between recovery orders. Lower = more frequent additions; higher = wider, slower.
InpGridMultiplier1.4Lot multiplier per level when Doubling mode is selected.
InpGridLotStep7Number of orders before the lot size increases when Step mode is selected.
InpMaxLot999Hard ceiling on the largest lot size the layer is allowed to reach.
InpCrossEngineLevel9999Level at which the cross-engine safety net may activate. Default 9999 effectively disables it.
InpBidirectionalGridfalseAllow the recovery layer to develop in both price directions simultaneously.
RecommendedBeginner / lower risk: use Fixed or Step mode. Faster recovery, higher risk: Doubling. Always set InpMaxLot to a sane number for your real cent-account size so the layer can never exceed what you can afford.
Order frequencyLimits how often new orders can be opened.
InpOpenOneCandletrueAllow at most one new order per candle, on the timeframe selected below.
InpTimeframeBarOpenM30Candle timeframe used for the one-order-per-candle rule.
RecommendedKeep on. Disable only if you want a more aggressive entry rate.
Profit protectionCloses profitable groups of trades to lock in gains.
InpEnablePartialClosetrueClose the profitable side of the basket when the profit target is hit.
InpGridProfitShieldtrueClose the entire basket as soon as combined profit exceeds the target.
InpMinProfitPct0.1Minimum floating profit (% of balance) required to trigger profit protection.
InpMinOrdersForClose8Minimum number of open orders required before profit protection becomes active.
RecommendedLeave at default. These are conservative protective closes that lock in small wins without interrupting normal trading.
GeneralHedge mode and daily target.
InpHedge0Activate the basic hedge mode after the EA has X open orders. 0 disables it.
InpDailyTargetPct999.0Close everything when daily floating profit reaches X% of balance. Default 999 effectively disables it.
TipIf you want to bank profits at a daily target (e.g. +2% per day), set InpDailyTargetPct = 2.0.
Trend engineOne of MATrader's directional inputs. The internal calibration is proprietary; these settings control only how it is sampled. Leave at defaults unless you are running a custom set file.
InpTrendTFMN1Timeframe the trend engine analyses. Higher = slower, smoother bias.
InpTrendReversefalseInvert the direction. Use only for testing or contrarian setups.
InpTrendDepth220Internal depth parameter. Larger = smoother. Leave at default.
InpTrendSmoothingdefaultInternal smoothing. Leave at default.
InpTrendSourcedefaultInternal price source. Leave at default.
InpTrendOffset0Bar offset applied to the signal. Leave at default.
Momentum engineA second directional input, faster than the trend engine.
InpEnableMomentumtrueEnable the momentum engine.
InpMomentumReversetrueInvert the momentum signal.
InpMomentumTFM5Timeframe the momentum engine analyses.
InpMomentumDepth15Internal depth parameter. Leave at default.
InpMomentumSmoothingdefaultInternal smoothing. Leave at default.
InpMomentumOffset0Bar offset applied to the signal.
RecommendedLeave defaults. They are tuned for XAUUSD M1 on RoboForex KXTL.
Trailing stopA simple profit-trail that locks gains once price has moved in your favor.
InpUseTrailingStoptrueEnable the trailing stop.
InpAITrailActivation50Pips of profit required before the trail starts.
InpAITrailDistance50Distance in pips the stop trails behind price.
RecommendedLeave on. This is your safety net once a trade is well in profit.
Break evenMoves the stop loss to the entry price after a small gain.
InpUseBreakEventrueEnable break-even protection.
InpBEActivation15Pips of profit required to trigger the break-even move.
InpBELockDistance13Pips above entry where the stop is locked.
RecommendedKeep on. It is a low-risk safeguard that turns small winners into free trades.
Adaptive trailingA volatility-adaptive trailing stop (an alternative to the simple trailing stop).
InpUseSmartTrailfalseEnable the adaptive trail.
InpSmartTrailATRPeriod14Volatility lookback period.
InpSmartTrailATRTFH1Volatility timeframe.
InpSmartTrailATRMul2.0Volatility multiplier — bigger value = wider trail.
InpSmartTrailMinPips20Minimum trail distance, regardless of volatility.
InpSmartTrailIgnoreTPfalseLet the trail decide the exit instead of the fixed take profit.
RecommendedKeep off unless you specifically want a volatility-adapting trail and are willing to test it on demo first.
Safe closeStricter basket-closing behavior.
InpOnlyProfitClosefalseOnly close a basket when every trade in it is in profit.
RecommendedLeave off. Turning it on is a stricter mode that may delay closures.
Equity take profitCloses everything when floating profit reaches a target.
InpUseTakeEquityStopfalseEnable the equity take-profit.
InpProfitCloseandSTOPPct1.0Floating profit target (% of balance).
TipTurn on if you want a hard +1%, take it and done rule for the day.
Spread filterPauses new orders when the spread is too wide.
InpMaxSpread100Max allowed spread in pips. The EA pauses new orders if the broker spread exceeds this value.
RecommendedOn RoboForex KXTL the default is appropriate.
Equity cautionA soft drawdown protection: pauses new orders during deep drawdown but does not close anything.
InpUseEquityCautiontrueEnable equity caution mode.
InpTotalEquityRiskCaution30Drawdown % at which caution mode triggers.
InpTimeframeEquityCautionD1Cooldown period before trading resumes.
RecommendedKeep on. It gives the existing basket time to recover before piling on more orders.
Drawdown protectionThe hard, account-level equity stop.
InpUseEquityStoptrueEnable the hard equity stop.
InpTotalEquityRisk60.0Maximum drawdown (% of balance) before the emergency stop fires.
InpAlertPushEquityLossfalseSend a push notification when the stop fires.
InpCloseAllEquityLossfalseAuto-close all open positions when the stop fires.
RecommendedKeep enabled — this is your account-level safety net. Lower InpTotalEquityRisk to 30-40 for a more conservative profile. For a true whole-account stop loss, set both InpUseEquityStop = true and InpCloseAllEquityLoss = true.
News filterPauses trading around high-impact news releases (NFP, FOMC, CPI ...).
InpUseNewsFilterfalseEnable the economic-calendar filter.
InpMinsBeforeNews60Minutes before news at which trading pauses.
InpMinsAfterNews20Minutes after news at which trading resumes.
InpIncludeHightrueFilter high-impact events.
InpIncludeMediumfalseFilter medium-impact events.
InpNewsCurrencyUSDCurrency to monitor (USD, EUR, GBP, or ALL).
InpNewsURLdefaultCalendar JSON feed URL.
InpNewsRefreshMins10How often the calendar is refreshed.
NoteSetup: in Tools > Options > Expert Advisors, tick Allow WebRequest for listed URL and add the calendar feed URL shown in the EA inputs.
Trading scheduleRestricts trading to specific weekdays and hours (broker time).
InpUtilizeTimeFilterfalseEnable the schedule filter.
InpTrade_in_Monday ... FridaytrueAllow trading on each weekday.
InpStartHour00:00Daily start time HH:MM (broker time).
InpEndHour23:59Daily stop time HH:MM (broker time).
RecommendedTurn on if you want the EA to skip Mondays / Fridays or only trade during certain hours.
GMT timezoneBroker time-offset handling.
InpGMTOffset99Broker GMT offset. 99 = auto-detect.
RecommendedLeave on auto-detect.
BacktestingSafety lock for the strategy tester.
InpBacktestSafetrueSafety lock that prevents backtests with non-supported configurations. Set false only when you intentionally want to backtest.
NoteMATrader is calibrated for live RoboForex KXTL data. Strategy-tester results on other data sources are not representative of live performance.
Chart visuals — trade markersCosmetic only. These have no effect on trading decisions.
InpShowTradeMarkerstrueDraw entry/exit arrows on the chart.
InpShowTradeLinestrueDraw connecting lines from open to close.
InpMarkerSize2Arrow size 1-5.
InpMaxVisualHistory300Max historical trades to draw.
Chart visuals — overlaysCosmetic only. Turn anything off if it clutters your chart.
InpShowSRtrueToday's high/low lines.
InpShowPrevDaySRtruePrevious day's high/low (dashed).
InpShowPivotstruePivot points.
InpShowSessionBoxestrueColored session boxes.
InpShowDailyOpenLinetrueDaily open price line.
NoteColor settings let you customize line and session-box colors. Cosmetic only.

06Optional feature banks

MATrader includes three banks of optional tools — all off by default. Enable them one at a time and watch the HUD. Do not turn everything on at once.

Advanced features (A1-A5)Five optional safety / quality filters. All are disabled by default so they never affect a fresh installation. Turn them on individually and observe the effect on the HUD.
A1Trade limiterCap the total number of open positions across both engines, or per engine.
A2Daily trade counterLimit the number of new trades opened per calendar day.
A3Daily PnL stopStop trading when a daily loss or profit threshold is hit. Configurable cooldown.
A4Strength confirmationRequire an internal market-strength reading on the chosen timeframe to confirm new entries.
A5Volatility gateSkip dead and extreme markets — only trade when volatility is in the configured band.
RecommendedA3 (Daily PnL stop) is the most useful when you want a hard daily loss / profit cap. The others are situational; turn on one at a time and observe the effect on the HUD.
Gold features (G1-G18)Eighteen optional filters and tools tailored for XAUUSD trading. All off by default. Pick the ones that match your style and account size; do not enable everything at once.
G1Session power filterTrade only during selected sessions (Tokyo, London, NY) or only during overlaps.
G2Weekend protectionClose positions before the Friday close (all positions, or only profitable ones).
G3Spike filterBlock entries during sharp price spikes.
G4Adaptive spread gateDynamic spread filter based on the rolling average spread.
G5Recovery modeReduce lot size automatically during drawdown.
G6Profit lockTrail an equity high-water mark and close everything if profit pulls back too far.
G7Candle filterSkip entries on rejection-style candles based on the wick:body ratio.
G8Auto step sizingAdjust the recovery step automatically based on volatility.
G9Asian range breakoutOnly trade after the Asian session range breaks out.
G10Circuit breakerPause the EA after a streak of losses.
G11Emergency basket closeClose a large basket as soon as it turns slightly profitable to free margin.
G12Step distance modeChoose how recovery step distance scales: Fixed, Scaling, Sequence, or Volatility-Adaptive.
G13Dynamic take profitAdjust take-profit distance to current volatility, with min/max caps.
G14Trend strength filterOnly trade when the trend-strength reading is in a configured sweet spot.
G15Session boostTighter step distance and tighter TP during high-volume sessions.
G16Multi-level partial closeClose portions of the basket at different profit levels.
G17Drawdown trackerTrack and display max drawdown on the HUD, with optional push alerts.
G18Order retry logicRetry failed orders with a small backoff (default: on).
RecommendedA common starting set for live use is G2 + G5 + G10 + G17. Add others one by one based on the conditions you want to handle.
Scalping engine (X1-X10)Ten optional scalping-focused enhancements. All off by default.
X1Session-aware stepsAuto-adjust step distance / TP / max levels per session (Asian, London, NY, late).
X2Smart entry confirmationRequire two internal market filters to confirm M1 entries.
X3Anti-trend protectionFreeze recovery during strong trends.
X4Correlation filterUse a correlated currency as a USD-strength proxy for gold direction.
X5Session reference biasUse the session reference price for direction bias / counter-bias blocking.
X6Rollover protectionDisable trading during the daily rollover window.
X7Basket trailing profitTrail the entire basket profit.
X8Stale position cleanupClose positions that have been open a long time near breakeven.
X9Hard level capAbsolute maximum recovery orders per engine — overrides everything else.
X10Volume spike filterDetect abnormal tick volume (institutional activity) and block entries.
RecommendedX9 (Hard level cap) is the strongest single safety knob — consider enabling it on conservative accounts. X3 and X10 are useful in news-driven volatility.

07Frequently asked questions

Can I run MATrader on a different symbol or timeframe?

No. MATrader is calibrated specifically for XAUUSD on the M1 timeframe. Running it on anything else is not supported.

Can I use a different broker?

We strongly recommend RoboForex KXTL VIP cent accounts. The EA is calibrated against this broker's spread and commission profile and may behave differently on others. If you must use another broker, test thoroughly on demo first.

How much money do I need to start?

At default risk settings: 15,000 cent units (about 150 USD) on a RoboForex 0.01-lot cent account. Use a smaller risk percentage if your account is smaller.

Do I need a VPS?

Yes — strongly recommended. The EA must remain online 24/5 for risk management to function correctly.

How do I stop the EA without losing my trades?

Set InpOpenNewOrders = false. The EA will stop opening new trades but will continue to manage and close the open ones normally.

How do I close everything immediately?

Set InpCloseAllNow = true. The EA will close every position it owns; then you can switch the flag back to false.

Should I enable all the optional filters?

No. Optional filters are off by default for a reason. Turn them on one at a time and observe the effect via the HUD.

Where do I find ready-made set files?
How do I make the EA more conservative?

Lower InpPercentLot, raise the order-frequency timeframe (InpTimeframeBarOpen) to a higher value, and enable A3 (Daily PnL stop).

What does the smiley face on my chart mean?

MetaTrader shows a smiley face when an EA is allowed to trade. If it is sad, click the AutoTrading button at the top of MetaTrader and verify that Allow live trading is enabled in the EA dialog.

08Support & contact

Websitemarcalbrechttrading.com
RoboForex codeKXTL
VersionMATrader 9.3
SymbolXAUUSD · M1
PlatformMetaTrader 4 or 5
Before you contact support
  • Confirm you are running on a XAUUSD M1 chart.
  • Confirm you are on a RoboForex KXTL VIP cent account.
  • Confirm Allow live trading is enabled and the chart smiley face is happy.
  • Confirm the HUD panel is visible and updating.
  • Note your EA version (9.3) and the set file you are using, if any.
  • If reporting an issue, attach a screenshot of the HUD and the journal log.

Ready to run MATrader AI?

Verify your RoboForex KXTL account to unlock the EA and tuned set files for free — or grab it on the MQL5 Market.

MATrader 9.3 User Manual. Trading derivatives carries substantial risk. Past performance does not guarantee future results. Educational product documentation, not financial advice.

XAUUSD Intraday Drop Calculator
Estimate how often gold (XAUUSD) experiences an intraday drop of at least a given USD amount, using refined daily High–Low volatility estimates.
Live Price + Realistic Stats
Price: loading… Status: Ready
Enter a drop size and click Calculate.
Based on realistic daily High–Low drops for XAUUSD (intervals approx doubled).
KXTL Member Transparency Public · Read-Only Investor Access

Live Demo Investor Logins

These accounts are shared publicly so you can verify our strategies directly in MetaTrader 4 with read-only investor passwords – no deposits or withdrawals possible.

Strategy Login Investor Password Server
Fixed Lot EUR CopyTrading · Low Spread
••••••••••
INVESTORPASS1
NoLoss Quantum AI KXTL · 0% Performance Fee
••••••••••
INVESTORPASS2
MATrader XAUUSD Gold · Smart Grid
••••••••••
INVESTORPASS3
MAT FX Strategist Multi-Pair · Portfolio
••••••••••
INVESTORPASS4
SilvMAT XAGUSD Silver · Medium Risk
••••••••••
INVESTORPASS5
Quick AI Scalper · Fast Execution
••••••••••
INVESTORPASS6
MAT Portfolio 1 Diversified · Medium Risk
••••••••••
INVESTORPASS7
MAT Portfolio 2 Diversified · Higher Risk
••••••••••
INVESTORPASS8