AMF Guaranteed Stop

MT4 and MT5 server plugin that insists on a Stop Loss on every trade, keeps the client from increasing the potential loss, reserves margin for the worst-case loss and can charge a fee for the guaranteed stop. Free 14-day trial.

AMF Guaranteed Stop is a pair of server plugins, one for MetaTrader 4 and one for MetaTrader 5. They make your trading server insist on a protective Stop Loss on every trade and reserve enough margin to cover the loss that the Stop Loss allows. They are built for brokers who work under AMF (France) rules and need to limit the risk a client can take.

A technical tool, not a compliance certificate. The plugins apply the rules you configure. Whether your setup meets a particular regulation remains the broker's own responsibility.

The five rules

For every account and symbol covered by your rules, each plugin does five things:

  1. Requires a Stop Loss. An order without a Stop Loss is rejected.
  2. Limits where the Stop Loss may be. The distance from the price to the Stop Loss must be between your minimum and maximum, in points.
  3. Never lets the client increase the potential loss. The Stop Loss may be moved closer to the price, never away from it and never removed. Changing only the Take Profit is always allowed.
  4. Reserves margin for the worst case. The margin of a trade is the larger of the normal margin and the maximum loss at the Stop Loss.
  5. Charges an optional premium (an extra commission per lot) when a Stop Loss is triggered, as a separate operation on the client's account.

Two optional extras: a limit on the volume per symbol, and a ban on Buy Stop and Sell Stop pending orders for chosen account groups. Distances are in points (1 pip = 10 points on a 5-digit quote).

What the plugins do not do

  • They do not change the price or the way the server executes a stop order.
  • They never block closing a position and never close a position by themselves.
  • They do not touch accounts and symbols that no rule line covers.
  • When they are not sure (for example the server cannot answer a question), they do nothing and the server handles the request as if the plugin were not installed.

MT4 and MT5 editions

Both editions apply the same rules. A few things differ because the platforms differ:

MT4 editionMT5 edition
Premium comment parameterCommission CommentCommission comment
symbols groups fieldMask over the symbol group (security group) names, for example ForexMask over the symbol path, for example Forex\*
Account typesHedgingHedging and netting
Trial14 days, extendable once by 14 daysIssued automatically on the first start; the end date is shown in the journal
Your serverTechnical guideDownload
MetaTrader 4AMF Guaranteed Stop for MT4CPlugin.AMF.dll
MetaTrader 5AMF Guaranteed Stop for MT5CPlugin.AMF.dll

Both guides describe version 2.00; please install version 2.00 or later. Each guide has the full installation steps, every configuration parameter, worked examples and the complete list of differences between the two editions.

Licence and free trial

The plugins need a licence for using the plugin on your trading server. It is not a MetaTrader licence, and your agreement with MetaQuotes is not affected. A free trial starts automatically on the first start without registration and gives the full plugin. When a trial or a licence ends, nothing breaks: the plugin stops intervening and the server executes orders as if the plugin were not installed. There is no demo mode with a limited number of trades. The licence is a subscription in CPlugin Toolbox; if you already pay for this plugin, write to support before upgrading so that you do not pay twice.

What the plugins send

Only what is needed to match your licence to your server: the plugin's own random key, the licence state, the company name and the server name, and the versions and start times. We never collect user data. Nothing about clients, accounts, orders, trades, prices, plugin settings, server journals or the server database is ever sent. The full list is on the telemetry page.

Need help?

Contact us for a trial extension, moving an existing subscription to the new licence, or a licence file for a server without internet access.

Pricing

  • MT4€399.95
  • MT5€599.95

Per month, per server. Prices in EUR.

One licence covers one live trading server. MT4 and MT5 licences are purchased separately.

Prices may change. Your invoice uses the price effective on its issue date.

Open Toolbox

How to buy

Four steps, about 15 minutes of your time. You need access to your MetaTrader server, or someone who has it.

  1. 1. Download the plugin and put it on your server

    Download the file. It is a single .dll file; there is no setup program to run.

    Download CPlugin.AMF.dll

    The link always gives the latest version. Your browser may warn that a .dll file can be harmful; this is the usual message for any such file.

    Then, on the computer where your MetaTrader 4 server runs (your server administrator can do this in a few minutes):

    • Stop the MetaTrader 4 server.
    • Copy the downloaded file into the plugins folder inside the MetaTrader 4 server folder. The server must be allowed to write files into that folder: the plugin keeps its licence there.
    • Start the MetaTrader 4 server. The plugin loads by itself.
    • Allow the server to open outgoing connections to update.cplugin.com, port 443 (the usual port for secure web traffic). The plugin talks only to this address.

    Not sure how to do this? Forward this page to your server administrator. The full installation guide is in the documentation.

  2. 2. Find the pairing code

    The pairing code is a short code that tells our system which server your licence is for. The plugin prints it by itself a few seconds after the server starts.

    • Open MetaTrader 4 Administrator and its Journal tab.
    • Look for this line:
    To link this server to your organization, enter code ABC-12345 in CPlugin Toolbox before 2026-11-06 14:20.

    The code looks like ABC-12345: three characters, a dash, five characters.

    The code works once and is valid for 72 hours. Treat it like a password: whoever has it can link your server. If it has expired or you cannot find it, restart the server and the plugin prints a new code.

  3. 3. Pair the server and buy the licence in Toolbox

    Toolbox is our customer portal where licences are bought and paid.

    Open Licenses in Toolbox

    • Sign in to Toolbox.
    • On the Licenses page click Pair server, type the code from step 2 and click Pair. Your server appears in the list with the status Paired.
    • In the row of the plugin click Buy license. Check the details, tick I accept the license agreement and click Confirm purchase.

    This is a licence for the plugin, not a MetaTrader licence. Your agreement with MetaQuotes is not affected.

  4. 4. Pay the invoice; the plugin does the rest

    • Within about 10 minutes the invoice appears in Toolbox under Billing → Invoices, and we email it to the workspace administrators.
    • Click Pay next to it and pay with one of the available payment methods.
    • About 10 minutes after we receive the payment the licence is issued. You do not copy any file or key: the plugin receives the licence by itself.

    Want it faster? Restart the server after paying: the plugin then asks for the licence within about two minutes.

    An invoice that stays unpaid for 14 days cancels the purchase; you can buy again at any time. Something unclear? Contact us and tell us the plugin and the server name.