Challenge takers running an EA
Your rules live in the code, so the EA stops before the firm stops you.
On a funded challenge, one bad afternoon can end the account, and an Expert Advisor doesn't know the rules unless they're in its code. The Prop Firm Pack stores your challenge's rules once (daily loss, maximum loss static or trailing, profit target, trades per day, news and weekend rules) and builds them into the bots and strategies Edgoro writes for you, as guards that act before the limit, not at it.
It adds 20 prop-ready strategy templates. And the free calculators on this site help you plan risk per trade before you start, with no account needed.
Start from a preset (a two-step challenge with static drawdown, a one-step with trailing drawdown, instant funding) or enter your firm's exact numbers. Check them against its current rulebook: firms differ and rules change.
On every bot, or only when your request mentions a prop challenge, a funded account or a daily loss limit.
Or start from a template. The code arrives with the guards as inputs pre-filled with your numbers, and a "Prop firm guards" section listing them in plain English.
In the Strategy Tester, set an absurdly low daily limit and check that positions close and new trades stop until the next day. Then run on a demo or trial account.
Here's the core of a guard like the ones the Pack adds, from our guide to coding a prop-firm daily loss limit, which compiles in MetaEditor. It runs before any strategy logic: when equity reaches the daily floor or the overall floor, it closes the EA's positions and halts trading until the next day.
RequestMT5 EA for EURUSD M15 with my challenge rules: 5% daily loss and 10% max loss from a $100,000 starting balance, at most 3 trades a day.
input double InpDailyLossPct = 4.0; // Daily loss limit, % (keep it below the firm's)
input bool InpDailyFromStart = true; // true: % of the starting balance; false: % of the day's base
input ENUM_DAY_BASE InpDayBase = DAY_BASE_HIGHER; // The day's reference value
input double InpMaxLossPct = 8.0; // Overall loss limit, % of the starting balance
input double InpStartBalance = 100000; // Account size the rules refer to
input int InpResetHour = 0; // Server hour at which the firm's day starts
input int InpMaxTradesDay = 3; // Max new trades per day (0 = no cap)
input ulong InpMagic = 261105; // Magic number of this EA
// False once a floor has been reached: the EA's positions are closed and trading stops until the next day.
bool GuardOk()
{
UpdateDay();
if(GlobalVariableGet(gvHalt) > 0.0)
return false;
double equity = AccountInfoDouble(ACCOUNT_EQUITY);
double base = GlobalVariableGet(gvBase);
double dailyLoss = (InpDailyFromStart ? InpStartBalance : base) * InpDailyLossPct / 100.0;
double dailyFloor = base - dailyLoss;
double overallFloor = InpStartBalance * (1.0 - InpMaxLossPct / 100.0);
if(equity <= dailyFloor || equity <= overallFloor)
{
CloseOwnPositions();
GlobalVariableSet(gvHalt, 1.0);
PrintFormat("Guard: equity %.2f reached a floor (daily %.2f, overall %.2f). Trading halted.", equity, dailyFloor, overallFloor);
return false;
}
return true;
}In the guide, the day's reference value lives in a terminal global variable so a restart doesn't reset it. EAs built with the Pack also show the guard state on the chart: the day-start reference, today's P&L, the distance to each limit and the trades taken today.
For MT5 Expert Advisors, the Pack asks for:
Python crypto bots get the same logic with a small state file. Pine Script strategies use TradingView's built-in risk functions such as strategy.risk.max_intraday_loss and a session input, and chart analyses size their risk plan against your daily allowance.
No account needed:
Your rules live in the code, so the EA stops before the firm stops you.
The same guards on every new bot, with your numbers pre-filled.
Plan risk with the free calculators, and keep the rules-dashboard template on your TradingView chart.
| Edgoro | Doing it yourself | A generic AI chatbot | |
|---|---|---|---|
| Rules in the code | Saved once, built into every bot | Rewritten for each EA | Re-explained in each chat |
| Safety buffer | 80% by default, adjustable | If you think of it | Only if you ask |
| Restarts | Trailing peak kept in a terminal global variable | Easy to miss | Depends on the code |
| News and weekends | News pause and Friday cut-off options | Manual | Only if you ask |
| Templates | 20 prop-ready strategies | Start from scratch | Start from scratch |
The Prop Firm Pack is $19 once and yours to keep, on top of a plan (Pro Monthly at $29 a month or Lifetime at $49 once). MT5 Expert Advisors and crypto bots also need the trading bots option (+$25 when you tick it as you choose your plan, or $49 once later from Settings); Pine Script strategies and chart analysis don't. Bought with your first plan, the Pack is covered by the same 7-day money-back guarantee. The calculators are free.
No tool can promise that. The Pack makes your bots enforce the limits you enter, with a buffer, so a bad sequence is less likely to break a rule. Your strategy, execution and the firm's own measurements still decide the outcome.
Any firm whose rules you can express as numbers: daily loss, maximum loss (static or trailing), profit target, trades per day, news and weekend rules. The presets describe common rule styles; enter your firm's current numbers.
At the buffered level, an MT5 EA closes its positions, deletes its pending orders and blocks new entries until the next server day. At the maximum-loss level it closes everything and stops trading for good, with a clear message in the log.
The guards live in code, so they protect bots and TradingView strategies. For manual trading, the rules-dashboard template shows your limits on the chart, and the free calculators help you plan risk.
For MT5 Expert Advisors and Python crypto bots, yes. Pine Script strategies, indicators and chart analysis work with any plan.
Yes. Every calculator on the site is free, with no sign-up.
Prop firm challenge rules explained: daily loss, static and trailing drawdown, minimum days and EA rules, and how to size trades so one bad day isn't the end.
GuideMake an MT5 Expert Advisor respect prop-firm-style rules: a daily loss guard that survives restarts, an overall loss floor and a trade cap, with MQL5 code.
GuideA pre-flight checklist for MetaTrader 5 EAs: risk-based lot sizing, broker limits, spread and session filters, daily loss guards and safe orders, in MQL5.
GuideTurn a fixed percentage of your account into a position size for forex, stocks and futures, why small risk per trade matters, and when to adjust the 1% rule.
Free toolTurn win rate and average win/loss into expectancy per trade and a 100-trade projection.
Free toolMeasure the reward-to-risk ratio of a setup and the win rate you need to break even.
Answer a few questions about how you trade, choose a plan, add the Prop Firm Pack, and describe your strategy.
Instant access after checkout. 7-day money-back guarantee on your first purchase.
Trading involves substantial risk of loss and is not suitable for every investor. Edgoro is a software tool, not a broker or financial adviser: nothing it produces is investment advice, and past or backtested performance does not guarantee future results.