Skip to content
All library documents

Prop Firm Risk Limits and Safe Trade Sizing

Article MQL5 code base

Summary

The document presents a small open-source shield intended to check trading against prop firm account limits. Its usage outline initializes the tool with account balance and a firm profile, then updates it with equity and balance information on each tick. Before trading, a strategy can query whether trading is allowed and whether a proposed risk amount would breach a daily limit; it can also request a maximum safe risk amount.

This describes a risk-control interface rather than a complete sizing method. The document does not specify how limits are calculated, which account rules are supported beyond naming one profile, or how the checks behave around intraday updates and edge cases. It gives no test results or evidence that the checks match a firm's current terms. Users would need implementation details and independent validation before relying on the tool to enforce account constraints.

Key ideas

  • The tool is designed to check trading against prop firm account restrictions.
  • It accepts account balance and equity updates for ongoing checks.
  • A strategy can query whether trading is allowed and whether a risk amount would breach a daily limit.
  • The interface can return a maximum safe amount to risk.
  • The document omits the calculation rules and validation evidence.

Tags

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