How to sell your MT4/MT5 EA on a subscription

Sell Your MT4/MT5 EA on Subscription with Free Trials

· License My Bot Team

A one-off sale pays you once. A subscription pays you every month for as long as the EA keeps earning its place on the customer's chart. That's the appeal of selling an Expert Advisor or indicator as monthly or yearly access instead of a lifetime file, with a short free trial to get traders started.

Selling on subscription takes more than a monthly price tag, though. You need a way to switch the EA off when a customer stops paying, a trial that doesn't need a separate "demo" build, and a renewal routine that doesn't flood you with support tickets. This guide shows how to set that up, both on the MQL5 Market and on your own website.

Lifetime vs subscription: what changes for the seller

Our post on common EA licensing mistakes looks at lifetime and subscription licences from the buyer's side. From the seller's side, the trade-off looks like this:

That last point decides how you set everything else up, and the answer depends on where you sell.

Option 1: Rent your EA on the MQL5 Market

The MQL5 Market has subscriptions built in, under the name "rent". According to the MetaTrader 5 help, Market products "can be rented for 1, 3, 6 or 12 months", and the rental period, fee and whether renting is allowed at all are set by the developer (MetaTrader 5 Help: How to Rent a Product). When the period ends, rented products stop automatically. A rented EA is removed from the chart, and the terminal warns the buyer in the Journal a day before.

The Market also handles payment and activations for you. The trade-offs come from its rules (Rules of Using the Market Service):

So on the Market you can't offer a free live trial or plug in your own license server. You work within the Market's rental model. Forum threads show developers running into exactly this, for example a seller asking how to stop a monthly buyer using the EA after the month ends, and being told the Market already handles it and custom limits must be removed (MQL5 forum). Others point out that the $30 minimum makes even a one-month rental expensive to try (MQL5 forum).

Option 2: Sell subscriptions from your own website

Selling directly means you set the price and periods, keep the customer relationship, can offer a genuinely free trial, and can sell through your own site, a Telegram channel or a trading community. In return, you take on what the Market did for you: taking payment, issuing access, switching it off when a subscription ends, and support.

The MQL5 moderators are clear that this is a separate business. When a developer asked whether a free EA that needs a paid subscription key from an external website was acceptable, the reply was that the only business model on MQL5.com is the Market, and other models should be developed outside it, without promotion there (MQL5 forum).

MQL5 Market rentalYour own site + license keys
Subscription periods1, 3, 6 or 12 monthsAny period you choose
PricingMinimum $30, 20% commissionYour price; you pay your own payment and licensing costs
Free live trialNo (demo runs in the Strategy Tester only)Yes, as a short time-limited key
PaymentsHandled by the MarketYour payment provider, e.g. Stripe
Switching off at expiryAutomaticYour licensing system, based on the license expiry date
Customer relationshipThrough MQL5.comDirect

Many sellers do both. If you do, keep two builds: a clean one for the Market, with no custom license check, and a licensed one for your direct customers.

Choosing subscription periods and prices

There's no single right price, but a few rules of thumb hold for most EAs and indicators:

Offering a free trial without a demo build

A common shortcut is a "trial build" with a hardcoded end date. It works, but every new trial date means a new build, and a trial user who then pays has to swap files. (Our guide to protecting an MT4/MT5 EA from piracy covers the limits of hardcoded dates and account locks.)

A cleaner approach is to ship the same licensed build to everyone and make the trial a property of the license, not the file:

  1. Issue the trial user a serial key with a short expiry date, such as 7 or 14 days, and a low activation limit.
  2. When the trial ends, the key stops working and the EA switches itself off. No new build is needed.
  3. If the trader subscribes, extend the expiry date or issue a paid license. They keep the same EA file.

Setting up subscription licensing with License My Bot

License My Bot is built for this model. Each license can have an expiry date, so you can sell monthly, yearly or trial access, and you can connect Stripe to receive payments from your clients. Here's how the pieces fit together, based on the steps in the License My Bot documentation:

  1. Create a product. Add your EA or indicator in the dashboard. It gets a unique Product Code.
  2. Add the license code to your source. Copy the MetatraderValidation library into your MQL4 or MQL5 Libraries folder and paste the License My Bot snippet into OnInit, OnTick and OnDeinit, with your Product Code. There are guides for MT4 EAs, MT5 EAs and MT4/MT5 indicators.
  3. Compile once and ship one file. Every customer, whether trial, monthly or yearly, gets the same .ex4 or .ex5 together with the MetatraderValidation library. Your source code stays with you.
  4. Issue a license per customer. Set the activation limit and an expiry date that matches what they bought: a short date for a trial, one month ahead for a monthly plan, a year ahead for a yearly plan. The customer enters the serial key in the EA's inputs.
  5. Take payment through Stripe. The Payment Integration lets your clients pay you directly through Stripe's payment gateway.
  6. Renew by changing the expiry date. From the dashboard you can see users and activations and change expiry dates. When a customer pays for the next period, move their expiry date forward and the same key keeps working.

The EA checks the key when it starts and while it runs. A valid license shows "Active" on the chart. An invalid or expired one shows "Inactive. Contact Provider to Activate" and the EA stops.

If your customers run the EA on a Mac or on MetaTrader's VPS, tell them to add https://api.licensemybot.com/ to the allowed WebRequest URLs under Tools > Options > Expert Advisors, as described in the Mac and VPS instructions. Put that in your installation guide so it doesn't turn into a support ticket.

What happens when a subscription ends

This is the part sellers often forget to explain. In the License My Bot snippet, a failed license check calls ExpertRemove(), which removes the EA from the chart. Removing an EA doesn't close the trades it opened. MetaTrader's own help gives renters the same warning: when a rental expires, the EA is removed from the chart, so "be careful not to leave your positions unattended" (MetaTrader 5 Help).

To avoid unhappy customers:

A launch checklist

What it costs to run

License My Bot plans are priced by the number of licenses you can issue, where one license is what you give one client for one product. Plans start at $20 a month (or $192 a year) for 25 licenses, every plan includes the Stripe payment integration, email support and free updates, and every plan starts with a free trial. See pricing for the current plans.

If you're still deciding whether to sell an EA or a signal service, our comparison of EAs vs trading signal services may help, and what software licensing is explains subscription, trial and per-device models in general.

Summary

On the MQL5 Market, subscriptions mean rentals of 1, 3, 6 or 12 months, with payment and expiry handled for you, but no free live trials and no custom license checks. Selling from your own site gives you free trials, your own periods and prices, and a direct relationship with customers, as long as each customer's access is tied to a license with an expiry date. Ship one licensed build, issue time-limited keys, extend them when customers renew, and tell customers clearly what happens when a subscription ends.

Frequently Asked Questions