Drag a line to your stop-loss, set your risk %, and this free MT4 indicator returns the exact lot size — no manual pip math. Download it below, drop it in your MQL4/Indicators folder, and it calculates position size live on any chart.
At barmenteros FX, we have been building custom MetaTrader tools and Expert Advisors since 2011. This position size calculator is one of the most downloaded free tools on the site — because the problem it solves is universal: traders who size positions correctly survive losing streaks; traders who don’t, don’t.
Importance of Position Sizing in Forex Trading
Position sizing in Forex trading is essential for both risk management and maximizing potential profits. Accurate position sizing helps traders:
- Protect their trading account from significant losses.
- Maintain consistent risk exposure across different trades.
- Preserve their trading capital for the long term.
Inadequate position sizing can lead to poor risk management, causing large drawdowns or wiping out an entire trading account. A balanced approach to position sizing enables traders to remain in the market and make informed decisions, ensuring long-term success.
In practice, the traders we see fail most often are not those with bad strategies — they are traders who are correct on direction but oversized on entries. A 50-pip adverse move on a 0.01-lot micro position is noise. The same move on a 1.0-lot position against a $1,000 account is a margin call.
For a deeper look at how lot size errors compound inside automated systems, see Your EA Calculates Lot Size Wrong (And Your Broker Won’t Tell You).
Position Sizing Methods: Fixed %, Fixed Amount, Volatility
There are several methods for calculating position sizes, catering to different trading styles and risk tolerance levels. Some popular methods include:
- Fixed Percentage: Traders risk a fixed percentage of their account balance on each trade. This method maintains a consistent risk level across trades and adjusts with the account balance. Most client EAs we build use this approach — it scales naturally with account growth.
- Fixed Amount: Traders risk a predetermined monetary amount on each trade, irrespective of their account balance. This method is simple but may lead to disproportionate risk exposure as account size changes.
- Volatility-Based: Position sizing is adjusted according to market volatility, typically measured by indicators like the Average True Range (ATR). This method accounts for changing market conditions and reduces risk during periods of high volatility.
| Method | How it sizes the trade | Best for | Risk profile |
|---|---|---|---|
| Fixed Percentage | Risks a set % of account equity per trade (e.g. 1–2%) | Most traders; scales with the account | Self-adjusting — shrinks after losses, grows after wins |
| Fixed Amount | Risks a fixed cash amount per trade (e.g. $50) | Fixed-risk discipline, small accounts | Static — does not scale with equity |
| Volatility-based | Sizes from ATR / recent volatility so risk is even across instruments | Multi-instrument / basket trading | Adapts to market conditions, not account size |
Understanding and choosing the right position sizing method for your trading strategy can help you manage risk effectively and improve overall performance.
Examples and Case Studies
To illustrate the importance of proper position sizing, consider two hypothetical traders with a $10,000 account balance:
- Trader A risks 5% of their account on each trade. After five consecutive losses, their account balance drops to $7,696.93 — a 23% decline.
- Trader B risks 1% of their account on each trade. After five consecutive losses, their account balance drops to $9,513.58 — a 4.86% decline.
This example highlights how smaller position sizes help protect a trader’s account and preserve capital for future trades. The deeper implication: Trader A needs a 30% gain just to return to break-even after those five losses. Trader B needs less than 5%. The math compounds in both directions.
Free Download & Install — MT4 Lot Size Calculator
Our free MT4 Position Size Calculator simplifies the process of calculating the appropriate position size. Follow these steps:
- Download the MT4 Position Size Calculator and save the
.ex4file to your MT4 terminal’sMQL4/Indicators/folder. - Restart MT4, or right-click the Indicators folder in the Navigator and select Refresh.
- Double-click the indicator in the Navigator to attach it to your chart.
- Set the Risk Percent input to the percentage of your account equity you’re willing to risk on this trade. If your broker adds suffixes to symbol names (e.g., EURUSDi, EURUSDpro), set the Symbol Suffix parameter accordingly.
- Drag the displayed line to your desired stop-loss level, then click the Lot Size button to calculate the appropriate position size.

The calculated lot size appears directly in the panel on the chart.
For traders building EAs that automate this calculation, see our MQL4 programming guide — position sizing implementation is one of the core topics covered.
Broker Compatibility: Symbol Suffixes and Non-Standard Assets
Most brokers use standard symbol names (EURUSD, GBPUSD, USDJPY). Some add a broker-specific suffix — EURUSDpro, EURUSDi, EURUSD….. — for regulatory or liquidity provider reasons. If the indicator displays an “Unknown symbol” error in the Experts tab, this is almost always a suffix issue.
Fix: Open the indicator settings and enter only the suffix in the Symbol Suffix input field. Examples:
- Broker shows
EURUSDi→ enteri - Broker shows
EURUSDpro→ enterpro - Broker shows
EURUSD.....→ enter.....
For indices and commodities (US30, US500, NAS100, XAUUSD): The pip value calculation is optimized for standard forex pairs. Instruments with non-standard contract sizes or multipliers — including most indices and some commodities — may produce incorrect lot size readings. Cross-reference with your broker’s contract specification sheet or margin calculator before placing trades on these assets.
For JPY pairs: The indicator handles JPY pairs correctly using a 2-decimal pip structure. If you see calculation errors on JPY pairs, check the symbol suffix first.
Additional Tips for Successful Position Sizing
Apart from using our MT4 Position Size Calculator, consider the following:
- Review your trading strategy regularly to ensure that your position-sizing methods still align with your overall risk tolerance and trading objectives.
- Adjust your position sizes based on market conditions or changes in your personal financial situation.
- Keep a trading journal to track your position sizes, risk exposure, and overall performance. Analyze periodically to identify areas for improvement.
- If you hold more than one position at a time, size them against combined exposure rather than one trade at a time — see position sizing with multiple open positions.
Frequently Asked Questions
How does the MT4 Position Size Calculator handle different account currencies?
The indicator reads your live account equity from MetaTrader and uses the current ask price to convert pip values to your account’s base currency. If your account is denominated in EUR, GBP, JPY, or another currency, the conversion happens automatically using live exchange rates from your broker’s feed — no manual adjustment is needed.
Note: the calculator uses account equity, not account balance. Equity includes the floating profit or loss of any open positions. This gives a more accurate picture of available capital when sizing new trades and prevents oversizing entries when you already have open drawdown.
Can the calculator be used for multiple assets, including commodities and indices?
For standard forex pairs — major, minor, and most exotic pairs — the calculator works correctly on any symbol in your broker’s offering. For commodities (XAUUSD, XAGUSD) and indices (US30, US500, NAS100, GER40), results vary by broker.
These instruments have non-standard contract sizes and pip multipliers that can cause pip value calculations to produce incorrect lot sizes. If you trade these assets, verify the calculator’s output against your broker’s own margin or position size calculator before entering the trade. We are aware of this limitation and it is on the list for a future version.
How do I adjust the calculator settings for different position sizing methods?
The calculator implements fixed-percentage sizing by default. Set your risk percentage in the Risk Percent input parameter — you can also change this directly from the panel on the chart without reopening the settings dialog.
For fixed-amount sizing: calculate the equivalent percentage manually (risk amount ÷ account equity × 100) and enter that value as your risk percentage.
For volatility-based sizing: calculate your stop-loss distance using your ATR reading first, then drag the indicator line to that level before clicking Lot Size. The calculator handles the lot size computation from the stop distance you provide.
Key Related Forex Concepts
Understanding these concepts is essential when interpreting the calculator’s output.
- Forex pip: the smallest standard price movement in a currency pair — the fourth decimal for most pairs, second decimal for JPY pairs.
- Currency pair: the exchange rate between two currencies traded in the forex market (e.g., EURUSD).
- Base currency: the first currency in a pair quotation — EUR in EURUSD.
- Quote currency: the second currency in a pair quotation — USD in EURUSD. Pip values are denominated in the quote currency.
- Account balance: total cash in a trading account, excluding open position P&L.
- Account equity: account balance adjusted for floating P&L on all open positions. The calculator uses equity.
- Forex lot: standardized trade size unit. One standard lot = 100,000 units of base currency. Mini lot = 10,000. Micro lot = 1,000.
- Stop-loss: a pending order that closes your position if price moves against you by a specified distance — the primary input the calculator uses to determine your risk per trade.
If you need a position size calculator built directly into a custom EA, see our MT4 programming services or request a free quote.

Leave a Reply