MAM and PAMM Setup for MetaTrader 4 and MetaTrader 5 Brokers
A broker-side guide to choosing, configuring and running a MAM or PAMM service on MT4 or MT5: how each model allocates trades, worked examples, a step-by-step setup plan, risk controls and the tests to pass before real investors join.
MAM and PAMM setup for MT4/MT5 brokers: MAM vs PAMM vs copy trading, allocation methods with worked examples, setup steps, fees, risk controls and testing.
What is a MAM and PAMM forex account solution?
A MAM or PAMM solution is software that lets one money manager trade for many investors at a brokerage, while the system allocates each trade, profit, loss and fee back to every investor automatically. On MetaTrader it is normally a third-party server plugin plus web portals for the broker, the manager and the investors.
The two acronyms describe different mechanics:
- MAM (Multi-Account Manager): the manager trades a master account and the plugin places matching trades in each investor's own sub-account, sized by an allocation rule. Every investor sees real positions in their own terminal.
- PAMM (Percentage Allocation Management Module): investor money is aggregated, the manager trades one account, and profit and loss are split in proportion to each investor's share of the pool.
MetaQuotes' own news archive shows how long these modules have existed on MT5. In 2016 it announced Plugit's MT5 module, describing it as follows:
"MetaTrader 5 PLG Multi-Asset Management Module (MAMM) is a special server-side plugin with a web interface designed for brokers and professional asset managers."— MetaTrader 5 news, 13 October 2016 (accessed October 2026)
In 2018 MetaQuotes reported that Brokeree had released PAMM for MetaTrader 5 and that "the solution works with aggregated funds". Both are vendor products. MetaTrader 5 itself does not ship a MAM; the product MetaQuotes sells for fund management is a separate one, MetaTrader 5 for hedge funds, covered in the comparison below.
FXSUPPORT does not sell its own MAM or PAMM module. We install, configure, integrate and support the module the broker licenses, as part of our MetaTrader plugin and MT5 support work.
MAM vs PAMM vs copy trading: which model fits your brokerage?
Choose MAM when managers need different sizing per investor, PAMM when a manager runs one pooled strategy for passive investors, and copy trading when retail clients pick and follow providers themselves. Many brokers run more than one model on the same server.
| Point | MAM | PAMM | Copy trading | MT5 for hedge funds |
|---|---|---|---|---|
| Where investor money sits | Investor's own sub-account | Aggregated with other investors (vendor-specific) | Follower's own account | Fund structure with shares |
| Who decides each trade | Manager, via master account | Manager, on the pooled account | Signal provider; follower chooses whom to follow | Fund traders |
| How results are split | Allocation rule per trade (lot, equity, percentage) | By share of the pool at rollover | Follower's sizing settings | Share value / NAV |
| Where the copying runs | Server-side plugin | Server-side plugin | Server-side module or terminal-side service | MetaQuotes product |
| Investor visibility | Every position in own terminal | Pool or virtual positions, per vendor | Every position | AUM, NAV and share value |
| Deposits and withdrawals | Per account; open-trade handling must be configured | Usually processed at rollover | Per account | Per fund rules |
| Server load | Higher: one trade per investor | Lower: one trade for the pool | Depends on follower count | Not applicable |
| Typical user | Managers with mixed investor risk profiles | Fund-style managers with passive investors | Retail marketplaces | Asset managers running a fund |
Two details are worth knowing before you compare vendors:
- "PAMM" is not one mechanism. Some vendors pool funds in a master account; others keep money in each investor's account and give it virtual positions sized by its share. B2Broker, for example, shows a pool of $1,000, $4,000 and $5,000 (10%, 40% and 50%) in which each investor "receives a virtual position sized by their share of the pool", while also stating that investor funds stay in their own accounts. Ask each vendor exactly where money sits and what the investor sees.
- MetaTrader's built-in copy service is terminal-side. MetaQuotes describes Trading Signals as "a trading service that allows the automatic real-time copying of trading operations from one trading account to another", and its help states that the subscriber's account "must always be on and connected to the server". That is a retail service run through MQL5.community, not a broker-controlled MAM.
MetaTrader 5 for hedge funds (a separate MetaQuotes product) suits a fund that wants its own MT5 deployment, not a broker adding managed accounts.
How do allocation methods work? A worked example
An allocation method is the rule that turns one master trade into a size for each investor. The same 1.00-lot trade produces different investor lots under each method, and rounding to the symbol's volume step always leaves something to handle.
Example: a manager buys 1.00 lot EURUSD on the master account. Three investors are linked: A has $10,000 equity, B $30,000 and C $40,000 (total $80,000). The symbol's minimum volume and step are 0.01 lot.
| Method | Rule | Investor A | Investor B | Investor C | Total |
|---|---|---|---|---|---|
| Proportional by equity | Lots × investor equity ÷ total equity (12.5% / 37.5% / 50%) | 0.125 → 0.12 | 0.375 → 0.37 | 0.50 | 0.99 (0.01 residual) |
| Fixed lot (lot allocation) | Preset lots per account, set by manager or broker | 0.20 | 0.30 | 0.50 | 1.00 |
| Percentage of master volume | Each account gets a set % of the master size (A 10%, B 40%, C 50%) | 0.10 | 0.40 | 0.50 | 1.00 |
| Equal volume | Same size for every account | 0.33 | 0.33 | 0.33 | 0.99 (0.01 residual) |
In the first row the rule rounds down. With round-half-even instead, A gets 0.12 and B 0.38, and the total is 1.00 again. Either is acceptable if documented: over thousands of trades a rounding bias moves money between investors. Decide in advance whether the residual stays on the master account, goes to the largest investor or is not traded at all.
Plugit's 2016 MT5 module named three methods of this kind, "Equity Lot Ratio (MAM), Equity Cash Ratio (PAMM) and Equal Volume"; its current YOONIT page lists "Lot, Percentage, or Equity-based" allocation. Names differ between vendors, so map each vendor's labels to the rules above before comparing.
The same trade under PAMM
Under PAMM the manager's 1.00 lot is one position on the pooled account. If it closes with +$400, the split follows the shares: A 12.5% = $50, B 37.5% = $150, C 50% = $200. Nothing is rounded at trade level; precision matters instead at rollover, when deposits, withdrawals and fees change each investor's share.
Edge cases your configuration must answer
- Partial fills: if only 0.60 of the 1.00 lot fills, each investor's size should be recalculated from the filled volume, not the requested one.
- Partial closes: closing 0.40 of the master position must close the same proportion in every sub-account.
- Pending orders and SL/TP: decide whether these are copied, and what happens when a sub-account's stop level differs from the master's.
- Mid-trade deposits and withdrawals: decide whether open positions are resized, kept as they are or settled at the next rollover.
How are performance fees and high-water marks calculated?
A performance fee is a percentage of new profit that the manager earns; a high-water mark (HWM) makes sure the manager is only paid once for the same gain. The fee engine is where weak setups usually fail, so test it with numbers before launch.
Illustrative example with a 20% performance fee, calculated monthly, for one investor who starts with $10,000:
| Month | Equity before fee | High-water mark | Fee basis | Fee | Equity after fee / new HWM |
|---|---|---|---|---|---|
| 1 | $11,000 | $10,000 | $1,000 | $200 | $10,800 / $10,800 |
| 2 | $10,300 | $10,800 | none (below HWM) | $0 | $10,300 / $10,800 |
| 3 | $11,000 | $10,800 | $200 | $40 | $10,960 / $10,960 |
Without the HWM, month 3 would charge 20% of the full $700 recovery ($140), billing the investor twice for the same gain. Deposits and withdrawals must adjust the HWM too: a $5,000 top-up is not profit. Agree the fee period, HWM reset rules and fee-receiving account before any manager goes live.
FXSUPPORT configures the fee schedule in your module and checks it against sample ledgers like this one; we do not set fee levels.
How to set up MAM or PAMM on MT4 or MT5, step by step
A clean launch takes ten steps: business rules, platform checks, vendor choice, test server, groups and permissions, allocation, fees, portals, acceptance testing and go-live with monitoring. Skipping the test-server stage is the most common cause of incidents.
- Write the business rules. Model (MAM, PAMM, copy trading or several), who may become a manager, minimum investment, fee types, rollover times, withdrawal rules, and what investors see.
- Check the platform. MetaQuotes states that "The MetaTrader 4 trading platform licenses are no longer available for purchase", so new brokers build on MT5; existing MT4 brokers should plan the module with their MT4 to MT5 migration in mind. MT5 supports netting and hedging accounting, MT4 hedging only; confirm which mode the module supports for master and investor groups.
- Shortlist and license a module. Compare allocation methods, fee engine, rollover options, portals, API, CRM integration and MT4/MT5/multi-server support.
- Install on a test server first. Deploy the plugin on a demo or staging MT4/MT5 server that mirrors production symbols, sessions, commissions and swaps. Record plugin version and the MetaTrader build.
- Create groups and permissions. Separate groups for master accounts, investor accounts and fee-collection accounts; leverage, margin and stop-out per group. MT5 allows unlimited account groups, MT4 up to 512. Give the plugin and portals only the Manager/Server API rights they need (see MetaTrader API integration).
- Configure strategies and allocation. Link master and investor accounts, set the method, rounding rule, residual handling, minimum volume, partial-close and pending-order behaviour, and SL/TP propagation.
- Configure fees and rollover. Performance and management fees, HWM rules, fee periods, payout accounts and the rollover schedule for PAMM deposits and withdrawals.
- Connect portals and CRM. Manager and investor portals, single sign-on, branding where the module allows it, and deposit/withdrawal flows through your forex CRM.
- Run acceptance tests. Use the test plan in the next section and sign off in writing.
- Go live in stages and monitor. Start with one or two managers, small investor counts and daily reconciliation; widen after a stable period.
Manager terminal
|
v
MT4/MT5 server --- MAM/PAMM server plugin --- Manager / investor portals
| | |
| allocation + fees CRM / payments
v v
Liquidity / bridge Investor sub-accounts (MAM)
or pooled account + shares (PAMM)
Want a second pair of eyes on your MAM/PAMM configuration?
Send us your platform, module vendor and allocation rules. We will review groups, permissions, allocation and fee settings and send a written list of fixes with a quote.
Request a free technical review WhatsApp TelegramWhat should you test before real investors join?
Test every path that moves money: allocation, partial fills, deposits, withdrawals, fees and failure recovery. Each test should compare the module's numbers with an independent calculation from trade-server records.
- Allocation: run the four methods above with odd equity values and check rounding and residuals.
- Partial fills and partial closes: force partial fills on a demo LP or simulated execution and confirm proportional results.
- Drawdown then recovery: confirm the HWM blocks double charging.
- Deposits and withdrawals with open trades: check share recalculation at rollover (PAMM) and resizing rules (MAM).
- Investor disconnects and stop-outs: one investor hitting stop-out must not affect others or the master.
- Plugin or server restart: restart during open positions and confirm the plugin resynchronises without duplicate or missing trades.
Which risk controls protect investors and the broker?
Risk controls in a MAM/PAMM setup work at three levels: the investor, the strategy and the broker.
| Control | Level | What it prevents |
|---|---|---|
| Maximum drawdown / equity stop per investor | Investor | An investor losing more than agreed; triggers disconnect or close-out |
| Position size caps | Strategy | Oversized trades relative to pool or account equity |
| Leverage and stop-out per group | Broker | Margin calls spreading across linked accounts |
| Symbol and session restrictions | Strategy | Trading illiquid symbols or across holiday sessions |
| Daily exposure cap | Strategy / broker | Concentrated exposure in one direction |
| Allocation failure alerts | Broker | Master trades with missing or rejected sub-account trades |
| Daily reconciliation | Broker | Portal figures drifting from trade-server equity |
Vendors expose these under different names; B2Broker's PAMM settings list, for example, "Max risk ratio", "Stop-loss limits", "Drawdown protection" and "Daily exposure cap". Aggregate MAM/PAMM exposure also belongs in your dealing desk's view: FXSUPPORT's risk operations include end-of-day reports and toxic-flow lists, and managed-account flow can be added to them.
Is MAM, PAMM or copy trading a regulated activity?
Often, yes: running money for clients can be an investment service, and in the EU ESMA has said copy trading with automatic execution generally qualifies as portfolio management. Check the rules of your own licence before launch. This is general information, not legal advice.
On 30 March 2023 ESMA published a supervisory briefing on copy trading (ESMA35-42-1428). It sets expectations on information requirements, product governance, suitability and appropriateness, remuneration and inducements, and the qualifications of copied traders. On the key question of what service is being provided, it repeats ESMA's 2012 Q&A:
"The answer specifies that such service falls under the definition of portfolio management where the order execution is automatic and does not require any further action from the client."— ESMA, Supervisory Briefing on Copy Trading, ESMA35-42-1428 (accessed October 2026)
The briefing adds that a service is still likely to be portfolio management "when the transactions are executed automatically even if clients still have the possibility to give specific instructions to the firm (for example, regarding leverage limits, stop-loss instructions or closing of open positions)". Investor-level drawdown limits therefore do not by themselves change the classification.
Outside the EU, rules differ by jurisdiction, and pooled PAMM structures can raise questions under local fund rules. Agree with your compliance adviser which models your licence permits; FXSUPPORT configures the technology to those decisions.
PLUGIT, Brokeree, B2Broker and other MAM/PAMM vendors
Most brokers license a module rather than build one. The vendors below publish MAM, PAMM or copy-trading products for MetaTrader; they are technologies we work with, not partners, and FXSUPPORT is not affiliated with any of them or with MetaQuotes.
- PLUGIT (YOONIT MAM/PAMM): describes allocation by "Lot, Percentage, or Equity-based" methods, a permission-based money manager portal and fee types including performance, registration and management fees. Its FAQ states it is "Currently integrated with cTrader, MetaQuotes MT4 and MT5" and that "YOONIT is a cloud based solution". Contact PLUGIT directly for licensing.
- Brokeree PAMM: MT5 version announced by MetaQuotes in June 2018; Brokeree's site lists MT4, MT5 and cTrader, cross-server investment and CRM integrations.
- B2Broker B2COPY PAMM: shows proportional splitting with virtual positions, scheduled or manual rollover and configurable high-water marks.
Whichever vendor you choose, FXSUPPORT can install, integrate, test and support it. When changing modules, plan a parallel run: open strategies, investor shares and HWM values must carry over exactly.
What FXSUPPORT does in a MAM/PAMM project
FXSUPPORT handles the technical side of managed accounts for brokers: deployment, configuration, integration and day-to-day support of the module you license.
Deployment
Plugin installation on test and live MT4/MT5 servers, master and investor groups, permissions and version tracking.
Allocation and fees
Allocation methods, rounding and residual rules, partial-close and pending-order handling, fee schedules and HWM settings, checked against sample ledgers.
Integration
CRM, client portal and back-office connections through the Manager/Server API, with branded investor reports where the module supports it.
Operations
Log monitoring, reconciliation, investor and manager reporting, and re-testing after MetaTrader or plugin updates, on our UK and Netherlands infrastructure where hosting is needed, with a 99.9% uptime target.
Related services: MetaTrader plugin development for custom allocation logic, MetaTrader server hosting, MT4 support and forex broker solutions.
Frequently asked questions
What is the difference between MAM and PAMM?
Does MetaTrader 5 have built-in MAM or PAMM?
Can I run MAM/PAMM on MT4?
Which allocation method should a broker offer?
What happens to the rounding residual when lots are allocated?
Can investors deposit or withdraw while trades are open?
How is a high-water mark applied?
Is copy trading regulated in the EU?
How long does a MAM/PAMM setup take?
Can I use PLUGIT and still work with FXSUPPORT?
Can I switch MAM/PAMM vendors later?
How much does a MAM or PAMM setup cost?
Sources
- MAMM plugin for MetaTrader 5 now available — MetaQuotes (accessed 8 October 2026)
- Brokeree Solutions releases PAMM for MetaTrader 5 — MetaQuotes (accessed 8 October 2026)
- MetaTrader 5 for hedge funds — MetaQuotes (accessed 8 October 2026)
- Trading Signals in MetaTrader 5 — MetaQuotes (accessed 8 October 2026)
- How to Subscribe to a Signal, MetaTrader 5 Help — MetaQuotes (accessed 8 October 2026)
- MetaTrader 4 for brokers — MetaQuotes (accessed 8 October 2026)
- MetaTrader 5 vs MetaTrader 4 comparison — MetaQuotes (accessed 8 October 2026)
- ESMA provides guidance for supervision of copy trading services — ESMA (accessed 8 October 2026)
- Supervisory Briefing on Copy Trading, ESMA35-42-1428 — ESMA (accessed 8 October 2026)
- MAM/PAMM account solutions — PLUGIT (accessed 8 October 2026)
- PAMM Solution for Brokers — Brokeree Solutions (accessed 8 October 2026)
- PAMM Platform for FX & CFD Brokerages — B2Broker (accessed 8 October 2026)
FXSUPPORT is not affiliated with MetaQuotes Ltd. or the vendors named on this page. General information, not legal or investment advice.
Planning a MAM or PAMM launch?
Tell us your platform (MT4, MT5 or both), the vendor module you use or are evaluating, and how your money managers want to work. We will review the setup and reply with a written plan and a quote.