Back to Blog

How to Implement Position Sizing for Prop Firm Rules: India 2026 Guide

A prop firm's daily loss limit and maximum drawdown are hard account-killers, usually calculated from your initial balance, not your current equity. This guide covers fixed-fractional vs Kelly sizing, MQL5 implementation, and the FEMA/RBI rules Indian traders need to know before funding a challenge.

Viprasol Tech Team
18 min read
Updated 2026

How to Implement Position Sizing for Prop Firm Rules: India 2026 Guide

TLDR

Position sizing for a prop firm account is not the same problem as position sizing for your own capital. A prop firm's daily loss limit and maximum drawdown are hard account-killers, calculated from your initial balance in most cases, not your current equity — so your position size has to shrink automatically as those buffers get consumed, not stay fixed. The safest approach is a fixed-fractional model capped well below the firm's actual limit (most traders who pass FTMO risk 0.5%–1% per trade, against a 5% daily loss ceiling), enforced in code with a hard daily-loss circuit breaker, not left to discipline. For Indian traders, there is a second constraint layered on top: FEMA rules restrict offshore forex CFD trading, and prop firm challenge participation needs to be structured correctly under the RBI's Liberalised Remittance Scheme to stay compliant.

What Is Position Sizing for Prop Firm Trading?

Position sizing is the calculation that decides how many lots (or contracts, or units) you trade on a given signal, based on your account size, your stop-loss distance, and how much of the account you are willing to risk on that single trade. In retail trading, this calculation only has to satisfy you. In prop firm trading, it has to satisfy a rulebook that can end your account the moment you breach it — regardless of whether the underlying strategy was profitable.

The core formula does not change:

Variable

Meaning

Account Risk %

The fraction of the account you are willing to lose on one trade

Stop Distance

Entry price minus stop-loss price, in pips or points

Pip/Point Value

What one pip or point is worth per lot on the instrument traded

Position Size

(Account Balance × Account Risk %) ÷ (Stop Distance × Pip Value)

What changes under a prop firm is what "Account Risk %" is allowed to be, and — critically — what balance that percentage is calculated against. Get this second part wrong and a mathematically correct position sizing formula can still blow the account.

If you want this built and enforced in code rather than tracked manually, Viprasol builds custom risk management systems for MT4/MT5 and prop firm accounts.

Why Prop Firm Position Sizing Is Different From Retail Position Sizing

The account can be killed by a rule breach, not just by losing money. A retail trader who risks 3% on a trade and loses simply has a smaller account. A prop firm trader who risks 3% on a trade that goes wrong on a bad day can breach a 5% daily loss limit in two or three trades and lose the entire evaluation, funded account, or payout eligibility — even if the account is still net profitable for the month.

Limits are usually balance-based, not equity-based. Most major firms calculate the daily loss limit from your account's opening balance for that day (or the initial balance at funding), not your floating equity. That means the dollar amount of your daily loss limit does not grow as your account grows — a $100,000 FTMO account has a fixed $5,000 daily loss ceiling whether the account is at $100,000 or $115,000.

Multiple limits stack. You are usually managing at least three numbers simultaneously: risk per trade, daily loss remaining, and total drawdown remaining. Position sizing has to respect whichever of the three is currently the tightest constraint, not just the per-trade risk rule in isolation.

The Rules That Actually Constrain Your Position Size

Position sizing decisions are meaningless without knowing the specific limits you are sizing against. Rules differ by firm and by challenge type, and they change — always verify against your firm's current rulebook before sizing a live account. As of 2026:

Firm / Plan

Daily Loss Limit

Max Drawdown

Calculation Basis

FTMO 2-Step

5%

10% static

Initial balance

FTMO 1-Step

3%

10% trailing

Equity high-water mark

FundedNext Stellar 2-Step

5%

10% static

Initial balance

FundedNext Stellar Instant

None

6% trailing

Capped at initial balance

Per PropJournal's FTMO rules breakdown, FTMO's daily loss limit is "balance-based" and does not trail your equity — meaning the dollar ceiling is fixed from the start of the trading day regardless of open floating profit. FundedNext layers on a Consistency Rule: if your best single trading day exceeds a set percentage of total profit, the account does not breach, but payout is delayed until the ratio normalizes — a rule that indirectly punishes position sizing that is too concentrated in a single winning day.

Daily limits reset at a fixed server time and typically count realized losses, floating losses, swaps, and commissions together — not just closed-trade P/L. A position sized correctly at entry can still push the account into breach territory purely from floating drawdown on an open trade before it is ever closed.

Position Sizing Methods for Prop Firm Accounts

Fixed Fractional

Fixed fractional risks a constant percentage of the current balance on every trade, recalculated trade by trade. This is the standard for prop firm accounts because it naturally shrinks position size as the account draws down — which keeps you further from the drawdown ceiling exactly when you are closest to it.

Kelly Criterion

The Kelly Criterion calculates the mathematically optimal fraction to risk based on your strategy's win rate and payoff ratio. In theory it out-performs fixed fractional over a large sample. In practice, full Kelly is fragile to estimation error — if your actual win rate is lower than the win rate you fed the formula, full Kelly oversizes badly. Most quant practitioners who use Kelly at all use a fractional Kelly (a quarter or half of the calculated value), specifically to survive the estimation error that a prop firm's hard drawdown limit will not forgive.

Kelly Criterion: A Worked Example

The formula itself is straightforward: f* = W − [(1 − W) / R], where W is win rate as a decimal and R is the payoff ratio (average win divided by average loss). Building a reliable input requires a real sample — most practitioners want at least 30 to 50 closed trades from a consistent strategy before treating W and R as trustworthy inputs, not a guess from a handful of trades.

Take a strategy with a 55% win rate, an average winner of $312, and an average loser of $208. The payoff ratio R = 312 / 208 = 1.5. Applying the formula:

f* = 0.55 − [(1 − 0.55) / 1.5] = 0.55 − 0.30 = 0.25

Full Kelly says to risk 25% of the account on this strategy — a number that would breach almost every prop firm's daily loss limit in a single losing trade. This is exactly why full Kelly is not used directly against a hard drawdown ceiling. Half Kelly (12.5% here) captures roughly 75% of the optimal long-run growth rate while meaningfully cutting drawdown risk; quarter Kelly (6.25% here) captures roughly 50% of optimal growth at much lower volatility. Even quarter Kelly at 6.25% is still far above the 0.5–1% most prop firm traders actually risk per trade — the practical lesson is that Kelly-derived percentages need to be sized down further still against a prop firm's account-ending limits, not applied at face value even in fractional form.

Method

Best For

Prop Firm Risk

Fixed Fractional

Most prop firm accounts, all experience levels

Low — predictable, shrinks with drawdown

Fractional Kelly

Quant strategies with a large, reliable trade sample

Medium — depends entirely on estimate quality

Full Kelly

Not recommended for prop firm accounts

High — a single bad estimate can breach max drawdown

Step-by-Step: Calculating Your Max Position Size

  1. Identify your tightest active constraint. Compare remaining daily loss budget, remaining max drawdown budget, and your personal per-trade risk cap. Use whichever number is smallest.

  2. Set per-trade risk well under the account-killing limit. Most traders who pass FTMO evaluations risk 0.5%–1% per trade against a 5% daily ceiling — leaving room for multiple consecutive losing trades before the daily limit is even approached.

  3. Calculate stop distance first, position size second. Never size the trade and then place a stop that fits — determine where the trade is actually invalidated technically, then size the position to that stop distance.

  4. Recalculate on every trade, not once per day. A fixed fractional model risks a percentage of the current balance, which changes after every closed trade.

  5. Build in a buffer below the hard limit. Spread, slippage, and swap can push a "correctly sized" trade slightly past its intended risk. Size against 80–90% of your personal risk cap, not 100% of it.

Implementing Position Sizing in MQL5

Manual position sizing works until a losing streak, a distraction, or a fast market causes a missed calculation. Prop-firm-ready expert advisors enforce sizing and loss limits in code rather than leaving them to discipline. AlfaTactix's guide to MT5 prop firm EA rules outlines the minimum a prop-firm-ready EA should enforce: daily and max loss limits, a block on new entries around high-impact news, and a hard lot-size cap, using AccountInfoDouble() calls to read live balance and equity rather than trusting cached values.

A practitioner walkthrough on MQL5's own blogs, "Demystifying Prop-Firm Logic: How to Hardcode Daily Loss Limits and Equity Guards in MQL5," makes the same point from the implementation side: most commercially available trading bots are built for standard retail brokers and focus on individual trade stop-losses while completely ignoring the holistic health of the account — exactly the gap that causes profitable strategies to fail prop firm evaluations.

At minimum, a position sizing module for a prop firm EA needs to:

  • Read current balance and equity on every tick, not once at startup

  • Calculate remaining daily loss budget against the correct basis (balance at day start, not current equity)

  • Reject or resize any order that would risk more than the smaller of: per-trade cap, remaining daily budget, remaining drawdown budget

  • Hard-close all positions and block new entries once a configurable percentage of the daily limit is consumed (a buffer, not the exact limit)

  • Log every sizing decision for post-trade audit, since prop firms may request logs during payout verification

If you want this engineered properly rather than adapted from a retail EA template, hire an MQL5 developer who builds specifically for prop firm constraints, or see how Viprasol ranks against other prop firm compliant EA developers in India.

The sizing logic itself is a small piece of the EA, but it has to run before every order, not just at startup:

double GetMaxLotSize(double riskPercent, double stopDistancePips, double pipValue)
{
   double balance = AccountInfoDouble(ACCOUNT_BALANCE);
   double dayStartBalance = GetDayStartBalance(); // read from a stored daily snapshot
   double dailyLossUsed   = dayStartBalance - AccountInfoDouble(ACCOUNT_EQUITY);
   double dailyLossLimit  = dayStartBalance * DAILY_LOSS_LIMIT_PCT;
   double dailyBudgetLeft = dailyLossLimit - dailyLossUsed;

double perTradeRisk = balance * riskPercent; double allowedRisk = MathMin(perTradeRisk, dailyBudgetLeft * SAFETY_BUFFER);

if(allowedRisk <= 0) return 0; // circuit breaker: no room left today

return NormalizeDouble(allowedRisk / (stopDistancePips * pipValue), 2); }

The important line is MathMin(perTradeRisk, dailyBudgetLeft * SAFETY_BUFFER) — the EA always sizes against whichever constraint is currently tighter, not against the per-trade rule in isolation. SAFETY_BUFFER (commonly 0.8–0.9) keeps the EA from sizing all the way to the exact edge of the daily limit, leaving room for spread and slippage on the trade that closes the gap.

Practical Example: $100,000 FTMO Account

Numbers make the interaction between the constraints concrete.

Parameter

Value

Initial balance

$100,000

Daily loss limit (5%, balance-based)

$5,000, fixed regardless of current equity

Personal per-trade risk (1%)

$1,000 per trade at the start of the day

After 2 losing trades

$3,000 of the $5,000 daily budget consumed; $2,000 remains

3rd trade sized correctly

min($1,000 per-trade cap, $2,000 × 0.85 buffer) = $1,000 — per-trade rule is still the binding constraint

After 4 losing trades

$4,000 consumed; $1,000 remains

5th trade sized correctly

min($1,000 per-trade cap, $1,000 × 0.85 buffer) = $850 — the daily budget is now the binding constraint, not the per-trade rule

This is exactly why a fixed per-trade percentage alone is not sufficient: by the fifth trade of a bad day, the correct position size is smaller than the trader's own risk rule would suggest, because the daily limit — not the per-trade rule — has become the tighter constraint. A sizing model that only checks the per-trade cap would still approve a $1,000-risk trade here, consuming the account's last buffer in one move.

Platform-Level Sizing Constraints Beyond Percentage Risk

Everything above assumes the only limits are percentage-based — daily loss, max drawdown, per-trade risk. In practice, several firms also impose hard, absolute caps that a percentage calculation can silently exceed even when the risk math is otherwise correct. FundingPips, for example, enforces a hard 20-lot maximum per click on every single order at the platform level, regardless of what your account balance, margin, or leverage would otherwise allow — a percentage-based sizing formula that outputs a lot size above this cap simply cannot be executed as calculated, and the EA needs an explicit ceiling check independent of the risk-percentage math. The same firm applies a separate 0.01 minimum lot requirement for a trading day to count toward minimum active-days requirements, which is a sizing floor rather than a ceiling but matters for the same reason: it is not derivable from the percentage-risk formula at all.

FundingPips also runs dynamic leverage tiers on certain instrument classes — Metals, Indices, and Energies on Master Accounts — where the effective leverage ratio decreases as position size grows, with each tier applying only to the volume that falls within its specific range. This means the effective margin requirement, and therefore the maximum position size a given account can actually hold, is not a single fixed leverage number but a stepped function of size. A sizing module that assumes constant leverage across all position sizes will misestimate margin usage specifically for larger positions on these instrument classes.

The practical implication: a production position-sizing function should apply the percentage-risk calculation first, then clamp the result against any hard platform-level lot caps and re-check margin against tiered leverage schedules where applicable — treating these as a final validation pass on top of the risk-based calculation, not a replacement for it.

India-Specific Considerations

This is not legal advice. FEMA, RBI, and SEBI rules should be reviewed with a qualified professional before you fund a prop firm challenge or route money offshore. See Viprasol's important disclaimers for more context.

Forex trading is legal in India but heavily restricted under the Foreign Exchange Management Act. Indian residents can legally trade currency only through exchange-traded futures and options via SEBI-registered brokers routing through NSE, BSE, or the MSE — INR currency pairs and a small set of cross-currency derivatives. Trading currency pairs through offshore OTC platforms, using unregistered offshore forex brokers, or funding foreign margin accounts for speculative forex trading falls into FEMA's prohibited categories, enforceable by the Enforcement Directorate.

Prop firm participation sits in a different, generally permitted category: paying a challenge fee to an overseas prop firm is typically treated as procurement of an evaluation service rather than direct speculative forex trading, and can fall under the RBI's Liberalised Remittance Scheme (LRS) — a per-person limit of USD 250,000 per financial year for permitted current account transactions. Remittances up to ₹10 lakh in a financial year currently carry no Tax Collected at Source; remittances above that threshold attract 20% TCS. This is a meaningfully different legal posture from opening a retail CFD account with an offshore broker, and traders should not assume the two are treated identically — confirm the correct transaction classification with your bank and a FEMA-aware advisor before remitting challenge fees.

Common Mistakes When Sizing Positions for Prop Firm Accounts

Sizing against current equity instead of the correct balance basis. Most major firms calculate limits from a fixed starting balance. Sizing against a floating, growing equity figure understates your real risk relative to the account-killing threshold.

Treating per-trade risk as the only constraint. A trade can be perfectly sized against your personal 1% rule and still be the trade that breaches a daily loss limit that was already 80% consumed by earlier losses that day.

Ignoring floating drawdown. Daily loss limits typically count unrealized losses on open positions, not just closed trades. A position that is well within its stop can still push the account into daily breach territory before the stop is even hit.

No buffer below the hard limit. Spread widening, slippage on news, and swap on overnight positions can push actual risk slightly past the calculated risk. Sizing to exactly 100% of the personal risk cap leaves zero room for this.

Full Kelly on a small or unreliable sample. A win rate estimated from 30 trades is not a reliable enough input for full Kelly sizing on an account that can be terminated by one bad estimate.

Ignoring hard platform lot caps. A percentage-risk calculation that outputs a lot size above a firm's absolute per-trade maximum, like FundingPips' 20-lot cap, cannot execute as calculated — the sizing function needs an explicit ceiling check independent of the risk-percentage math.

Assuming constant leverage on tiered-leverage instruments. Where a firm applies dynamic leverage that decreases as position size grows, a sizing model built around one fixed leverage number will misestimate margin usage specifically on larger positions.

Build vs Buy: When to Get a Developer

Use a commercial risk-management EA or indicator if you are testing one strategy on one firm's rule set and want to validate the approach quickly.

Get a custom-built position sizing and risk module if you are running multiple strategies, multiple funded accounts, or need audit-ready logging for payout verification — generic retail risk tools are not built for the balance-basis nuances different prop firms use.

Related Glossary Terms

For more definitions, visit the AI and software glossary.

Fixed Fractional Position Sizing: Risking a constant percentage of current account balance on every trade, recalculated after each closed trade.

Kelly Criterion: A formula for the mathematically optimal risk fraction based on win rate and payoff ratio; fragile to estimation error, so most practitioners use a fractional version.

Daily Loss Limit: The maximum a prop firm account is allowed to lose in a single trading day before automatic termination, usually calculated from a fixed balance basis.

Maximum Drawdown: The maximum the account is allowed to fall from either its initial balance (static) or its highest recorded equity (trailing) before termination.

Consistency Rule: A rule requiring no single trading day to represent too large a share of total profit, used by some firms to delay payouts rather than breach the account.

FEMA (Foreign Exchange Management Act): India's legal framework governing foreign exchange transactions, enforced by the RBI and Enforcement Directorate.

LRS (Liberalised Remittance Scheme): The RBI scheme allowing Indian residents to remit up to USD 250,000 per financial year for permitted current and capital account transactions.

Payoff Ratio: The average winning trade divided by the average losing trade, used as the R input in the Kelly Criterion formula.

Dynamic Leverage: A leverage schedule where the effective ratio decreases as position size grows, applied by some firms on volatile instrument classes like metals, indices, and energies.

FAQ

What percentage should I risk per trade on a prop firm account?

Most traders who successfully pass evaluations at firms like FTMO risk 0.5% to 1% per trade, well under the typical 5% daily loss ceiling. This leaves room to absorb several consecutive losses on a bad day without approaching the account-killing threshold.

Is daily loss calculated on my balance or my equity?

It depends on the firm, and this is the single most important number to confirm before sizing any position. Most major firms, including FTMO, calculate the daily loss limit from a fixed balance basis rather than trailing floating equity — always verify this in your specific firm's current rulebook rather than assuming.

Should I use the Kelly Criterion for a prop firm account?

Full Kelly sizing is generally not recommended for prop firm accounts because it is highly sensitive to estimation error in your win rate and payoff ratio, and a single oversized loss can breach a hard drawdown limit. A conservative fixed-fractional model, or a heavily fractional Kelly, is safer.

Can Indian residents legally trade prop firm challenges?

Prop firm challenge participation is generally treated as procurement of an evaluation service and can fall under the RBI's Liberalised Remittance Scheme, which is different from opening a retail offshore forex CFD account — an activity restricted under FEMA. This is not legal advice; confirm the correct classification and any applicable TCS with your bank and a FEMA-aware advisor before remitting funds.

Does position sizing need to be enforced in code, or is discipline enough?

For any account where a single rule breach ends the challenge or funded status, code-enforced limits are safer than manual discipline. A hard-coded daily-loss circuit breaker and lot-size cap remove the risk of a missed calculation during a fast market or a stressful losing streak.

What is the payoff ratio in the Kelly Criterion formula?

It is the average winning trade divided by the average losing trade (R in the formula f* = W − [(1 − W) / R]). A strategy averaging $312 wins against $208 losses has a payoff ratio of 1.5, which combined with a 55% win rate produces a full-Kelly result of 25% — illustrating why fractional Kelly and further downsizing against prop firm limits are both necessary in practice.

Are there sizing limits beyond percentage-based risk rules?

Yes. Some firms, including FundingPips, apply hard absolute lot caps per trade (20 lots) independent of what a percentage-risk calculation would output, plus dynamic leverage tiers on certain instruments that reduce effective leverage as position size grows. A production sizing function needs to check these platform-level constraints as a final validation step, not assume the percentage-risk calculation alone is sufficient.


Need position sizing and risk limits built directly into your EA, enforced in code rather than tracked manually? Book a free 30-minute consultation to discuss your prop firm's rule set and the right risk architecture for it.

position sizingprop firm rulesrisk managementmql5 expert advisorftmofema rbi forex india
Share this article:

About the Author

V

Viprasol Tech Team

Custom Software Development Specialists

The Viprasol Tech team specialises in algorithmic trading software, AI agent systems, and SaaS development. With 1000+ projects delivered across MT4/MT5 EAs, fintech platforms, and production AI systems, the team brings deep technical experience to every engagement.

MT4/MT5 EA DevelopmentAI Agent SystemsSaaS DevelopmentAlgorithmic Trading

Ready to Automate Your Trading?

Get a custom Expert Advisor built by professionals with verified MyFXBook results.

Free consultation • No commitment • Response within 24 hours

Viprasol · Trading Software

Need a custom EA or trading bot built?

We specialise in MT4/MT5 Expert Advisor development — prop-firm compliant, forward-tested before live, MyFXBook verifiable. 5.0★ Upwork, 100% Job Success, 1000+ projects shipped.