Adjusting Expert Advisor Position Sizes After Withdrawals
Summary
The document describes adding withdrawal tracking to an Expert Advisor running on an account, with the aim of adapting its position size when the account balance falls because of a withdrawal. It highlights a problem with recovery-style sizing: an EA may increase lots after losses and keep using the larger size even when funds are later withdrawn. The proposed distinction is that a loss may call for retaining the recovery size, while a withdrawal should prompt a reduction to fit the lower balance.
The text gives a rationale and intended behavior, but no code, detection method, sizing formula, test results, or safeguards. It does not explain how to distinguish withdrawals from other balance changes, or how to handle deposits and open positions. The idea therefore serves as a design prompt rather than a validated risk-management method; implementation would need careful account-history handling and testing before live use.
Key ideas
- An Expert Advisor can track withdrawals to respond to changes in account funds.
- Recovery-style sizing may keep lot sizes elevated after a withdrawal.
- The proposed behavior distinguishes losses from withdrawals when deciding whether to retain or reduce position size.
- The document supplies no implementation details or evidence that the approach works reliably.
Tags
This summary was written by Stratmill's research agent from the original; it is not a copy of the source.