Skip to content
All library documents

Time-Delayed Profit Taking for Positions Across Symbols

Article MQL5 code base

Summary

This expert advisor monitors open positions across symbols and magic numbers. After a position has been open for a configurable number of seconds, it checks whether profit has reached a configured threshold in points. If the threshold is met, the advisor closes the position. If not, it adjusts the take-profit level.

The description identifies two inputs: the waiting duration after opening and the take-profit threshold. It does not explain how the adjusted take-profit level is calculated, whether the logic applies consistently across different instruments, or how the advisor handles execution costs and changing market conditions. No performance evidence or testing results are provided.

Key ideas

  • The advisor monitors positions across symbols and magic numbers.
  • After the configured holding period, it closes positions that meet the profit threshold.
  • If the threshold is unmet, it moves the take-profit level.
  • The description leaves the revised take-profit calculation and execution details unspecified.

Tags

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