Prop firm challenges fail most often on rules, not on strategy. An EA can watch those rules every second, which a person at a screen cannot do. This article explains which rules can be automated, where the tricky parts are, and what to send us if you want them built into your EA.
Why rules break challenges
A strategy can be sound and still fail an evaluation because of one bad hour. A few trades in a row, a news spike, or a forgotten open position over the weekend can break a limit that took weeks to respect. Humans get tired, distracted and emotional. An EA does not, but it only follows what it is told, so the rules must be written into it precisely.
An EA that enforces rules automates discipline. It does not make a strategy profitable, and trading always carries risk.
Rules an EA can enforce
- Daily loss limit: stop trading and close positions before the limit is hit, using the firm's own reset time.
- Maximum drawdown: static or trailing, based on balance or equity as the firm defines it.
- Lot and position limits per trade and in total.
- News and weekend rules: no new trades near high-impact news, close before the weekend.
- Minimum trading days and consistency rules.
Every firm defines these a little differently, so send us the exact rule text from your firm. We do not assume what a firm allows, and you should always check your firm's current rules before you trade.
The details that cause mistakes
Most errors come from small definitions. The daily limit may be measured from the previous day's balance, or from equity at a fixed time. The reset time may follow a server clock that differs from your broker's clock. Floating profit may or may not count. Commissions and swaps may be included in the loss figure.
- Decide which clock is used for the daily reset and make the EA use the same one.
- Decide whether the limit uses balance or equity, and whether open profit counts.
- Decide what the EA does at a breach: close everything, stop new entries only, or both.
Safety buffers
An EA that closes trades exactly at the limit can still breach it, because price can move between the check and the close, and spreads widen. A common approach is a buffer: the EA stops at an internal threshold that sits a little inside the firm's limit. How large the buffer should be depends on your lot size, symbol and typical spread, so it is a setting rather than a fixed number.
A second layer helps as well. Besides the global limits, you can set a maximum loss per trade and a maximum number of trades per day, so one bad sequence cannot use up the whole allowance.
News and weekend handling
News filters need a data source. The EA can read a calendar feed, or use a list of times you provide. It then blocks new entries for a window before and after each event, and can close or tighten open trades. Weekend rules are simpler: the EA closes or protects positions at a chosen time on Friday. Check the exact windows your firm uses before setting them.
How we build it
You send the rule text and your strategy details. We review them and give a written quote after the rules are reviewed. A rules layer can be added to an existing EA or built into a new one, see Expert Advisor development for the full scope. Pricing starts at Rs 3,000 for simple work and Rs 7,000 for advanced work, with details on the pricing page. We show a working demo before final payment, and you get 3 free revisions.
If your strategy is already an EA and you only want a rules layer, the changes and upgrades service covers that. You can also use the free strategy check to describe your case first.
Testing the rules layer
A rules layer should be tested on its own, not only together with the strategy. Use a demo account and push it on purpose: set a very small daily limit and confirm the EA stops new trades and closes positions when it is reached. Restart the terminal in the middle of the day and check that the EA still knows the day's starting balance. Change the server time in a test and check the reset. These small checks find the mistakes that are expensive on a real challenge.
- Does the EA keep the correct starting balance after a restart?
- Does it block new entries during the news window?
- Does it close or protect trades before the weekend, at the right time?
- Does it show clear on-chart messages and send an alert when a limit is near?
A dashboard on the chart that shows today's loss, the remaining allowance and the next news block is useful. You see at a glance how close you are, and you can stop the EA by hand if something looks wrong.
Frequently asked questions
Can an EA guarantee I will not breach a limit?
No. It can reduce the risk by checking every tick and using a buffer, but fast markets, slippage and widened spreads can still move price past a limit. Treat the EA as a safety net, not a guarantee.
Do you know the rules of each prop firm?
We do not rely on assumptions about any firm. You send the exact rule text, and we build to that. Please check your firm's current rules, because they can change.
Can the rules layer be added to my existing EA?
Usually yes, if we can work with the code or add a separate controller EA that manages risk. Tell us your setup on the contact page and we will advise.