Skip to content
All library documents

Percentage-Based Stop-Loss and Profit-Taking Expert Advisor

Article MQL5 code base

Summary

This brief description presents an expert advisor intended to manage exits using a percentage-based threshold. It says the robot will close a position when floating profit reaches a configured level, and lists a stop-loss parameter tied to a loss amount relative to account balance. The example value is presented as adjustable to suit an individual’s money management, but the text does not explain exactly how the threshold is calculated or whether it applies per position or across the account.

The description is too sparse to establish the advisor’s full behavior. It does not specify order handling, take-profit settings, execution conditions, platform compatibility, or whether the stop-loss and profit trigger use the same percentage basis. No test results, risk controls, or performance evidence are provided. Traders would need to inspect the implementation and verify how balance, floating profit, and closure thresholds are measured before relying on it for live risk management.

Key ideas

  • The advisor is described as closing positions when floating profit reaches a configured threshold.
  • Its stop-loss parameter is linked to a loss amount relative to account balance.
  • The description does not clarify whether thresholds apply per trade or account-wide.
  • No execution details, validation results, or performance evidence are included.

Tags

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