Equity Expiration
- Utilitaires
-
Frank William Jr Colbert
Bonjour à tous ! J'ai pensé à créer des outils de trading, des utilitaires et des analyseurs approfondis pour rendre le trading plus sûr et plus facile pour moi, et j'espère que ceux-ci pourront également aider d'autres personnes dans leur parcours de trading forex, d'analyse et de gestion des - Version: 1.0
- Activations: 5
A time-based position expiration system that moves trades to a "watch list" after they reach a certain age. It does not close them immediately but waits for them to hit a profit target (or loss target) before exiting.
Features:
Global and Magic-specific expiration periods (format: HH:MM:SS).
Tracks expired trades separately and only closes them when a `MIN_PROFIT_CLOSE` target is met (or loss target if "Close Only Profitable" is false).
Includes a manual control and statistics reporting functions (`GetExpiredOrdersSummary`, `ForceCheckExpired`).
Can also delete pending orders on expiration.
Effective Uses:
Aging Off Trades: Force a trade to close only after 30 days if it hasn't hit its target, but only if it becomes profitable.
Scalping Expiration: For a scalping EA, use a short Magic expiration (e.g., 60 minutes). If a trade isn't closed in profit by then, this EA will wait for it to hit a small profit target before exiting.
Capital Preservation: Prevent trades from staying open indefinitely and tying up margin.
