EA-39475 · Utility

Lotsizer

Lotsizer is a position sizing utility EA that calculates optimal lot sizes based on account balance, equity, risk percentage, and stop loss distance. It does not open trades on its own but assists traders in determining the correct volume for manual or semi-automated trading decisions. The tool focuses on risk-based position calculation to prevent over-leveraging.

Open the interactive view (equity curve, symbol switch)

Key facts

CategoryUtility
RiskSafe
Rating★★★☆☆
TypeUtility tool
TimeframesM1, M5, M15, M30, H1, H4, D1
IndicatorsNone
AuthorDavid J. Díez Munilla.

Backtest results (H1, about 1 year)

Not backtested yet — this EA could not be converted automatically.

Strategy analysis

Lotsizer is not an autonomous trading EA but a position sizing assistant utility. Its core function is to calculate the recommended lot size based on the user-specified risk percentage and stop loss distance, ensuring the risk amount per trade stays within controllable limits. Entry and exit conditions are determined entirely by the user, as this tool does not generate any trading signals. Position sizing is its primary function: it multiplies account balance or equity by the risk percentage to obtain the risk amount, then divides by the per-point value corresponding to the stop loss distance to derive the recommended lot size. In terms of money management, it helps traders strictly adhere to per-trade risk limits, preventing account blowouts from excessively large positions. The tool typically also displays account information such as balance, equity, used margin, and free margin, enabling traders to have a comprehensive view of their account status.

Strengths

  • Helps traders strictly control risk amount per trade, preventing over-leveraging
  • Simple and intuitive to use - just input risk percentage and stop loss distance to get recommended lot size
  • Displays key account information in real-time for informed trading decisions
  • Flexible switching between balance and equity as the calculation basis

Weaknesses

  • Does not generate trading signals, entirely dependent on the trader's own judgment
  • Does not account for spread and commission costs, so actual risk may be slightly higher than calculated
  • Lacks historical trade statistics, unable to assess overall risk exposure
  • Runs locally only, cannot manage position sizing across multiple accounts uniformly

Possible improvements

  • Add consideration for spread and commission to make risk calculation more accurate
  • Add multi-position aggregate risk calculation to display total risk exposure percentage across all open positions

Risk assessment

Overall risk: Safe

  • Risk calculation excludes spread and commission, so actual risk may be underestimated
  • If the user inputs an incorrect stop loss distance, the calculated lot size could lead to larger-than-expected losses

Evaluation scores

Code quality3.0
Strategy logic3.0
Risk management4.0
Robustness3.0
Innovation2.0
Documentation2.0
Overall2.8

Parameters

ParameterDefaultDescription
RiskPercent1.0Risk percentage per trade
StopLossPips50Stop loss in points
AccountType0Account type: 0=Standard, 1=Micro
UseEquityfalseUse equity instead of balance for calculation
MaxLotSize100.0Maximum lot size limit
MinLotSize0.01Minimum allowed lot size

Similar Utility EAs

Backtests are historical simulations and do not guarantee future results. Not financial advice.

Get the weekly Arena report

One email a week: ranking changes, new signals and new research. No spam; unsubscribe any time.