ATR Position Size Calculator Risk Lot Panel
- Indicators
-
Kenichiro Sakamoto
I'm Kenichiro Sakamoto, the developer behind FXEA365 — a studio building transparent, rule-based Expert Advisors for MetaTrader 5. - Version: 1.20
- Updated: 20 September 2026
FREE — a chart panel that turns the current ATR into a suggested stop-loss distance and a risk-based lot size, so position sizing stops being guesswork.
100% free, no limitations. If it earns a place on your charts, a short review is the one thing that helps us most — it takes 30 seconds and it is what lets other traders find this tool.
Our three flagship EAs — Gold Neuron EA (AI model on XAUUSD), Atlas Diversified Trend Portfolio (5 markets, one EA) and Gold Viper Breakout (XAUUSD breakout):
https://www.mql5.com/en/market/product/187329
https://www.mql5.com/en/market/product/182751
https://www.mql5.com/en/market/product/182297
Want it traded automatically? Megamax Donchian Trend does exactly this, hands off:
https://www.mql5.com/en/market/product/181838
Platform: MetaTrader 5 only — there is no MetaTrader 4 edition.
The maths is deliberately simple and fully visible — no black box:
- Suggested SL distance = ATR × a multiple (default 1.5).
- Risk amount = account balance × your risk % per trade (default 1%).
- Suggested lot = risk amount ÷ loss per lot at that SL distance, computed from the broker's own tick value and tick size, rounded down to the lot step and clamped to the broker's minimum and maximum lot.
=== WHAT IT SHOWS ===
- ATR in price units and in pips, for the current symbol and timeframe.
- Suggested stop-loss distance in pips.
- Risk amount in your account currency.
- Suggested lot, ready to type into an order ticket.
- The panel refreshes every 5 seconds and on every tick.
=== HOW TRADERS USE IT ===
A fixed lot ignores volatility: 0.10 lots on a quiet day and 0.10 lots on an NFP day are two very different risks. Sizing from the ATR keeps the money at risk roughly constant — wider stop, smaller lot; tighter stop, bigger lot. Because everything comes from the broker's own symbol properties, it works on any symbol — forex, gold, indices, crypto — with any broker.
=== SETTINGS ===
- InpAtrPeriod (default 14): ATR period.
- InpRiskPercent (default 1.0): risk per trade as % of balance.
- InpAtrSlMult (default 1.5): suggested SL = ATR × this multiple.
- Corner, position, font size and all colours are configurable.
=== HONEST NOTE ===
This panel is informational only — it never places, modifies or closes an order. The suggested lot is only correct for the SL distance shown on the panel; if you place your stop elsewhere, your risk is different.
=== WHO THIS IS FOR / NOT FOR ===
Right fit: discretionary traders who want the same money at risk on every trade regardless of volatility, anyone who has been typing the same fixed lot into every ticket out of habit, and anyone trading several instruments where a "normal" stop distance means something different on each.
Not a fit: anyone who wants the panel to place the order — it never touches your account, it only shows a number you type in yourself — and anyone sizing by a fixed lot on purpose.
=== 5-MINUTE CHART CHECK ===
1) Attach it to a symbol you actually trade and set InpRiskPercent to the risk you actually take.
2) Check the arithmetic once by hand: risk amount should equal your balance × that percentage. If it does not, you are looking at the wrong account.
3) Compare the suggested lot on a quiet symbol against a volatile one — gold versus EURUSD. The lot should be visibly smaller where the ATR is wider. That is the whole point of the panel.
4) Place one demo trade using the suggested lot and the suggested SL distance together, then check the loss shown in the terminal if that stop is hit. It should land on your risk amount.
5) Now move the stop somewhere else and note that the risk no longer matches. The suggested lot is only correct for the SL distance on the panel.
The panel never places, modifies or closes an order — it is informational only.
=== OUR EAS SIZE POSITIONS WITH THIS SAME LOGIC ===
Risk-per-trade sizing is the discipline our trend EAs use live — hard stop-loss on every trade, no martingale, no grid, every number measured in real-tick backtests:
- Atlas Diversified Trend Portfolio — profit factor 1.48, max equity drawdown 19.7%, 1,193 trades over 7.5 years. https://www.mql5.com/en/market/product/182751
- Gold Neuron EA — XAUUSD, three decision engines. Profit factor 1.49, maximum equity drawdown 27.2%, 533 trades from January 2022 to July 2026 in Ultra, the shipping default. Standard mode measured 18.5% maximum equity drawdown on the same window. https://www.mql5.com/en/market/product/187329
- Megamax Donchian Trend (USDJPY H1) — profit factor 1.50, max equity drawdown 7.3%, 631 trades over 9.4 years. https://www.mql5.com/en/market/product/181838
More free tools from us:
- Currency Strength Meter: https://www.mql5.com/en/market/product/190005
- MTF Trend Dashboard: https://www.mql5.com/en/market/product/185940
- Spread Guard: https://www.mql5.com/en/market/product/185748
- Donchian Trend Engine (free EA): https://www.mql5.com/en/market/product/185534
Our other free tools: https://www.mql5.com/en/users/app.develop.sk/seller
If this is useful, a review helps us more than anything else.
100% free, no limitations. If it earns a place on your charts, a short review is the one thing that helps us most — it takes 30 seconds and it is what lets other traders find this tool.
Our three flagship EAs — Gold Neuron EA (AI model on XAUUSD), Atlas Diversified Trend Portfolio (5 markets, one EA) and Gold Viper Breakout (XAUUSD breakout):
https://www.mql5.com/en/market/product/187329
https://www.mql5.com/en/market/product/182751
https://www.mql5.com/en/market/product/182297
Want it traded automatically? Megamax Donchian Trend does exactly this, hands off:
https://www.mql5.com/en/market/product/181838
Platform: MetaTrader 5 only — there is no MetaTrader 4 edition.
The maths is deliberately simple and fully visible — no black box:
- Suggested SL distance = ATR × a multiple (default 1.5).
- Risk amount = account balance × your risk % per trade (default 1%).
- Suggested lot = risk amount ÷ loss per lot at that SL distance, computed from the broker's own tick value and tick size, rounded down to the lot step and clamped to the broker's minimum and maximum lot.
=== WHAT IT SHOWS ===
- ATR in price units and in pips, for the current symbol and timeframe.
- Suggested stop-loss distance in pips.
- Risk amount in your account currency.
- Suggested lot, ready to type into an order ticket.
- The panel refreshes every 5 seconds and on every tick.
=== HOW TRADERS USE IT ===
A fixed lot ignores volatility: 0.10 lots on a quiet day and 0.10 lots on an NFP day are two very different risks. Sizing from the ATR keeps the money at risk roughly constant — wider stop, smaller lot; tighter stop, bigger lot. Because everything comes from the broker's own symbol properties, it works on any symbol — forex, gold, indices, crypto — with any broker.
=== SETTINGS ===
- InpAtrPeriod (default 14): ATR period.
- InpRiskPercent (default 1.0): risk per trade as % of balance.
- InpAtrSlMult (default 1.5): suggested SL = ATR × this multiple.
- Corner, position, font size and all colours are configurable.
=== HONEST NOTE ===
This panel is informational only — it never places, modifies or closes an order. The suggested lot is only correct for the SL distance shown on the panel; if you place your stop elsewhere, your risk is different.
=== WHO THIS IS FOR / NOT FOR ===
Right fit: discretionary traders who want the same money at risk on every trade regardless of volatility, anyone who has been typing the same fixed lot into every ticket out of habit, and anyone trading several instruments where a "normal" stop distance means something different on each.
Not a fit: anyone who wants the panel to place the order — it never touches your account, it only shows a number you type in yourself — and anyone sizing by a fixed lot on purpose.
=== 5-MINUTE CHART CHECK ===
1) Attach it to a symbol you actually trade and set InpRiskPercent to the risk you actually take.
2) Check the arithmetic once by hand: risk amount should equal your balance × that percentage. If it does not, you are looking at the wrong account.
3) Compare the suggested lot on a quiet symbol against a volatile one — gold versus EURUSD. The lot should be visibly smaller where the ATR is wider. That is the whole point of the panel.
4) Place one demo trade using the suggested lot and the suggested SL distance together, then check the loss shown in the terminal if that stop is hit. It should land on your risk amount.
5) Now move the stop somewhere else and note that the risk no longer matches. The suggested lot is only correct for the SL distance on the panel.
The panel never places, modifies or closes an order — it is informational only.
=== OUR EAS SIZE POSITIONS WITH THIS SAME LOGIC ===
Risk-per-trade sizing is the discipline our trend EAs use live — hard stop-loss on every trade, no martingale, no grid, every number measured in real-tick backtests:
- Atlas Diversified Trend Portfolio — profit factor 1.48, max equity drawdown 19.7%, 1,193 trades over 7.5 years. https://www.mql5.com/en/market/product/182751
- Gold Neuron EA — XAUUSD, three decision engines. Profit factor 1.49, maximum equity drawdown 27.2%, 533 trades from January 2022 to July 2026 in Ultra, the shipping default. Standard mode measured 18.5% maximum equity drawdown on the same window. https://www.mql5.com/en/market/product/187329
- Megamax Donchian Trend (USDJPY H1) — profit factor 1.50, max equity drawdown 7.3%, 631 trades over 9.4 years. https://www.mql5.com/en/market/product/181838
More free tools from us:
- Currency Strength Meter: https://www.mql5.com/en/market/product/190005
- MTF Trend Dashboard: https://www.mql5.com/en/market/product/185940
- Spread Guard: https://www.mql5.com/en/market/product/185748
- Donchian Trend Engine (free EA): https://www.mql5.com/en/market/product/185534
Our other free tools: https://www.mql5.com/en/users/app.develop.sk/seller
If this is useful, a review helps us more than anything else.
