SEBI's New Algo Trading Rules (2026): What MT5 Expert Advisor Users Need to Know
If you use an Expert Advisor (EA) on MetaTrader 5 to automate your trades, there's an important regulatory change you shouldn't ignore.
From 1 April 2026, SEBI's retail algorithmic trading framework became mandatory across Indian exchanges. Whether your strategy is a simple moving-average crossover or a more advanced automated system, the new rules affect how your broker, your API connection, and your trading algorithm operate.
For many traders, the biggest change isn't the strategy itself—it's the compliance requirements behind it. Every automated order now needs to be traceable, API access is more tightly controlled, and brokers are expected to actively monitor the algorithms running through their platforms.
This guide explains what the new framework means for MetaTrader 5 users, how it impacts Expert Advisors, and the practical steps you should take to remain compliant.
What Is SEBI's New Algorithmic Trading Framework?
SEBI introduced its retail algorithmic trading framework through a circular issued on 4 February 2025. After a phased rollout, the regulations became fully enforceable on 1 April 2026.
The primary objective is to make algorithmic trading more transparent and accountable without preventing retail investors from using automation.
Every automated strategy executed on Indian exchanges must be linked to a unique Algo-ID.
API access is restricted to approved static IP addresses.
Brokers are responsible for monitoring the algorithms running through their infrastructure.
Automated strategies must meet new compliance standards before they can place live orders.
For traders, this means the days of simply connecting an EA to a broker's API and letting it run without oversight are over. Automated trading is still permitted, but it now operates within a structured regulatory framework designed to improve market integrity.
Why Did SEBI Introduce These Rules?
The framework wasn't introduced to discourage algorithmic trading. Instead, it addresses several problems that had become increasingly common in the retail market.
Over the last few years, thousands of traders began purchasing automated trading systems from online sellers who advertised unrealistic returns. Many of these products were "black box" algorithms, meaning buyers had little or no understanding of how trades were being generated.
When these strategies performed poorly, there was often no accountability. Traders couldn't verify the underlying logic, brokers had limited visibility into the systems, and regulators had no reliable way to identify which algorithm was responsible for a particular order.
At the same time, SEBI's research showed that losses among retail futures and options traders had continued to increase, with aggregate net losses exceeding ₹1 lakh crore during FY25. While not all of those losses were caused by automated trading, the rapid growth of unregistered algorithm providers highlighted the need for stronger oversight.
The new framework introduces greater transparency by ensuring that every algorithm can be identified, monitored, and linked to the appropriate broker. Legitimate traders can continue using automation, while unregistered or misleading algorithm providers face significantly tighter scrutiny.
How the New Rules Affect MT5 Expert Advisor Users
If you trade through MetaTrader 5 using an Expert Advisor, these regulations are more than just another compliance update—they change how automated trading works behind the scenes.
The impact depends on how your EA is built, how frequently it places orders, and how it connects to your broker. Here's what you should know.
1. Is Your EA a White Box or a Black Box?
One of the most significant distinctions in SEBI's framework is between white box and black box algorithms.
A white box algorithm is one where the trader understands exactly how the strategy works. If you've developed your own Expert Advisor in MQL5, or you're using a strategy whose logic, indicators, and parameters are completely transparent, it generally falls into this category.
A black box algorithm, on the other hand, hides its decision-making process. You may know when it enters and exits trades, but you don't know why. Many commercially sold EAs fall into this category because the source code and trading logic aren't disclosed.
This distinction is important because SEBI places additional responsibility on providers of black box strategies. If you're purchasing an EA from a third party, don't assume it's compliant simply because it's being advertised online. Before using it on Indian exchanges, verify that the provider has the necessary regulatory approvals and exchange empanelment where required.
In short, understanding how your algorithm works isn't just good trading practice anymore—it's also part of managing compliance risk.
2. The 10 Orders-Per-Second Rule
Not every automated strategy needs to go through formal exchange registration.
SEBI has introduced a threshold based on how aggressively an algorithm places orders. If your strategy generates fewer than 10 orders per second per exchange, your broker can generally handle the required Algo-ID tagging without requiring you to register the strategy separately.
For most retail traders, this won't be an issue.
Typical swing trading systems, trend-following EAs, breakout strategies, and even many intraday bots operate well below this limit.
Where the rule becomes relevant is with high-frequency trading systems that rapidly place, modify, or cancel orders. Scalping bots, latency-based strategies, and certain grid or arbitrage systems can approach or exceed this threshold.
If your algorithm consistently operates at that level, additional registration and exchange approval may be required before it can continue trading.
For the average MT5 user, however, this rule is unlikely to affect day-to-day trading.
3. Static IP Addresses, OAuth, and Two-Factor Authentication
Another major change involves how your Expert Advisor connects to your broker.
In the past, many traders simply connected an API using their home internet connection or a cloud server with changing IP addresses. Under the new framework, that approach may no longer work.
If your EA communicates through a broker's API, you'll generally need to:
Register one or more static IP addresses with your broker.
Use OAuth-based authentication instead of older login methods.
Enable two-factor authentication (2FA) for API access.
Re-authenticate at the start of each trading session, as API sessions typically expire overnight.
This is especially important if your EA runs on a Virtual Private Server (VPS).
Many MT5 traders use VPS hosting to keep their strategies running around the clock. If that's your setup, make sure the VPS has a fixed IP address and that your broker has added it to its whitelist. Otherwise, your orders may be rejected even if your trading strategy is functioning correctly.
Spending a few minutes confirming these technical requirements can help you avoid unnecessary interruptions during live trading.
4. Every Automated Order Now Carries an Algo-ID
Under the new framework, automated orders are no longer anonymous.
Each order generated by your Expert Advisor is associated with a unique Algo-ID, allowing brokers and exchanges to identify the strategy responsible for every transaction.
This creates a clear audit trail from your EA to the exchange.
For traders, the process is mostly handled by the broker, but it also means brokers have greater oversight of automated activity. If an algorithm begins behaving abnormally—for example, by generating excessive orders or triggering unusual market activity—the broker has the authority to investigate or temporarily suspend it.
Brokers are also required to maintain detailed records of API activity and algorithmic orders for several years, making it easier to review trading activity whenever necessary.
5. Sharing Your Expert Advisor Has New Restrictions
Many traders develop an EA for personal use and later share it with friends or other traders.
The new regulations introduce clearer boundaries around that practice.
SEBI allows certain strategies to be shared within an immediate family, such as with a spouse, dependent children, or dependent parents. Outside those relationships, distributing an algorithm is treated differently.
If you plan to sell your EA, offer subscription-based trading systems, or provide automated strategies to multiple users, additional regulatory obligations may apply depending on how the service is structured.
For individual traders, the takeaway is simple: building an EA for your own account remains straightforward, but distributing that same strategy commercially involves a different level of compliance.
Perfect. Here's the final part of the article, rewritten to sound like a professional financial writer while keeping the SEO intent intact.
What Happens If You Don't Comply?
Since the framework became fully enforceable on 1 April 2026, brokers have become much stricter about how automated trading systems connect to their platforms.
If your Expert Advisor doesn't meet the required compliance standards, the most common outcome is simple: your orders won't be executed.
This can happen for several reasons, including:
Your algorithm hasn't been assigned an Algo-ID.
Your API is connecting from an IP address that hasn't been approved by your broker.
You're using an unregistered black-box strategy where regulatory approval is required.
Your authentication doesn't meet the broker's current security requirements.
Unlike a normal trading error, these issues can be confusing because your EA may appear to be working normally while the broker silently rejects incoming orders.
Before running any automated strategy with real capital, it's worth confirming that your broker has completed all the necessary compliance checks.
What About Forex and CFD Traders?
This is an area that often causes confusion.
SEBI's retail algorithmic trading framework applies specifically to trades executed on Indian exchanges such as the NSE, BSE, and MCX through SEBI-registered brokers.
If you're using MetaTrader 5 solely to trade CFDs or forex through an overseas broker, these particular Algo-ID requirements don't directly apply to those transactions.
However, Indian residents should remember that forex trading is governed by separate regulations. Retail traders are generally permitted to trade only approved INR currency pairs on recognized Indian exchanges through authorized brokers.
So while your MT5 platform may look identical regardless of the broker you use, the regulatory requirements can be very different depending on where your trades are actually executed.
Understanding that distinction can help you avoid compliance issues later.
A Practical Checklist for MT5 Traders
If you're unsure whether your current setup meets the new requirements, use this checklist before your next trading session.
✔ Review your Expert Advisor
Confirm whether your strategy is a white-box system that you fully understand or a commercially purchased black-box EA.
✔ Monitor your order frequency
Most retail strategies remain comfortably below SEBI's 10 orders-per-second threshold, but it's worth checking if you're running high-frequency or scalping systems.
✔ Use a Static IP Address
If your EA connects through your broker's API, make sure you're using a static IP address or a VPS with a fixed IP that's been approved by your broker.
✔ Verify Authentication Settings
Ensure your API uses OAuth authentication where required and that two-factor authentication is enabled.
Ask your broker whether your automated strategy has been assigned an Algo-ID. If you're unsure, it's better to verify now than discover the issue during live trading.
✔ Verify Third-Party Vendors
If you've purchased an Expert Advisor from another developer, don't rely solely on marketing claims. Check whether the provider meets the regulatory requirements before deploying the strategy on Indian exchanges.
A few minutes spent reviewing these items today could save you from unexpected interruptions when the market is open.
Why These Rules Could Benefit Serious Traders
At first glance, the framework may seem like another layer of regulation.
In practice, it could improve the overall quality of India's algorithmic trading ecosystem.
For years, retail traders have been exposed to advertisements promising unrealistic returns through "secret" trading bots and black-box algorithms that offered little transparency. Many of these products disappeared when performance deteriorated, leaving traders with no clear understanding of what went wrong.
The new framework introduces greater accountability.
Brokers now have better visibility into automated trading activity, strategies become easier to audit, and providers offering commercial algorithms face clearer regulatory expectations.
For traders who build their own systems—or who work with reputable providers—the additional compliance requirements are relatively minor compared with the long-term benefits of operating in a more transparent marketplace.
Rather than restricting algorithmic trading, the framework helps separate well-designed, responsible strategies from products built on exaggerated marketing claims.
Frequently Asked Questions
Is algorithmic trading still legal for retail traders in India?
Yes. Retail investors can continue using automated trading systems. The new framework regulates how algorithms operate rather than prohibiting them.
Do I need SEBI registration for my own MT5 Expert Advisor?
If you're using an EA for your own trading and it remains below the prescribed order-rate threshold, your broker typically manages the required Algo-ID process. Additional registration is generally relevant only for high-frequency strategies or commercial distribution.
What's the difference between a white-box and a black-box algorithm?
A white-box algorithm is transparent—you understand how it makes trading decisions.
A black-box algorithm hides its underlying logic, meaning the user can't fully evaluate how trades are generated.
Can I share my Expert Advisor with other traders?
The framework permits limited sharing within your immediate family under specified conditions.
If you intend to distribute or sell automated strategies commercially, additional regulatory requirements may apply.
What happens if my strategy isn't compliant?
Your broker may reject orders generated by the algorithm until the compliance requirements have been met.
Algorithmic trading in India is entering a more structured and transparent phase.
For most MetaTrader 5 users, the core trading experience won't change dramatically. Your Expert Advisor can still automate entries, exits, and risk management just as before.
What's changing is the infrastructure around it.
Requirements such as Algo-IDs, static IP addresses, stronger authentication, and increased broker oversight are becoming part of the standard trading environment.
If you review your setup now and address any compliance gaps early, you'll be well positioned to continue trading without unnecessary disruptions as the framework evolves.
Whether you're building your own Expert Advisors or using professionally developed strategies, staying informed is now just as important as developing a profitable trading system.
Ready to Start Trading with MetaTrader?
Open your DIY Demat account in minutes and experience the flexibility of MetaTrader 4 and MetaTrader 5 with powerful charting, automated trading support, and a platform built for modern traders.
👉 Open Your Demat Account Today