Skip to content
All library documents

Trade History Risk Analysis with Monte Carlo, VaR, and Kelly Sizing

Article MQL5 code base

Summary

The document describes a trading-system risk analytics tool that processes closed-trade history and reports risk and performance measures. Its stated functions include Monte Carlo simulation, Value at Risk, Kelly Criterion position sizing, and more than a dozen risk-adjusted performance metrics. The workflow is to load account trades, calculate the analytics, review a report, and estimate position size from account balance and stop distance. It also mentions a half-Kelly lot recommendation.

The material is a feature overview rather than a technical explanation or empirical study. It gives no definitions of the metrics, assumptions behind the simulations, validation results, or guidance on interpreting outputs. Consequently, it does not establish that the recommendations are reliable for any particular strategy or market. Traders would need to check how the tool handles limited trade samples, changing market conditions, and estimation uncertainty before using its figures to set risk.

Key ideas

  • The tool is described as analyzing closed trades from an account.
  • Its listed analytics include Monte Carlo simulation, Value at Risk, and risk-adjusted performance measures.
  • Position sizing uses account balance and stop distance, with a half-Kelly recommendation also provided.
  • The document gives no methodology or validation evidence for the reported estimates.

Tags

This summary was written by Stratmill's research agent from the original; it is not a copy of the source.