Skip to content
All library documents

Monitoring Prop Trading Challenge Limits and Position Size

Article MQL5 code base

Summary

This document describes an account dashboard for tracking five common proprietary trading challenge constraints: daily loss, maximum loss, profit target, minimum trading days, and the best-day consistency rule. It explains that loss limits can be configured as fixed or trailing, that floating profit and loss may count toward daily loss, and that the start of a trading day depends on a selected server hour. Status colors and an overall badge summarize how much room remains under each rule.

A position-sizing feature estimates the largest lot size for a proposed stop distance, using a chosen fraction of the smaller remaining loss allowance and never rounding the result upward. Presets provide typical challenge settings, while a custom setup accommodates firm-specific definitions. The document gives implementation details about reading account history and storing guard state, but provides no performance evaluation. It emphasizes that the indicator only reports risk; terminal history, timing, fees, and each firm's rule definitions can make its figures differ from the firm's dashboard.

Key ideas

  • The monitor tracks daily loss, maximum loss, profit target, trading days, and best-day consistency.
  • Daily and maximum loss calculations can vary with floating P&L, server-day boundaries, and trailing rules.
  • Its suggested lot size uses the smaller remaining loss allowance and a configurable share of that room.
  • Custom settings are needed because prop firms define challenge rules differently.
  • The indicator reports limits but cannot prevent trades or guarantee agreement with a firm's figures.

Tags

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