Skip to content
All library documents

HarVesteR: Partial Profit Taking and Breakeven Stop Management

Article MQL5 code base

Summary

This description outlines an expert advisor that manages open positions by closing part of a profitable position when a price-distance condition is met, then moving the remaining position’s stop to breakeven. The stated condition is incomplete: it does not specify the required distance or fully define how the trigger is calculated. As a result, the central exit rule cannot be reconstructed from the text alone.

The listed settings include MACD bars used to search for highs and lows, two moving average periods, a minimum price distance from a moving average, and a lookback for stop-loss calculation. Optional ADX levels govern buy and sell entries, while lot size and a partial-close ratio are also configurable. The description gives no market, timeframe, complete entry logic, backtest results, or performance evidence. It is therefore a partial account of position management and configurable indicators, not enough to assess the strategy’s effectiveness or risk.

Key ideas

  • The expert advisor partially closes profitable positions after a price-distance trigger and moves the remaining position to breakeven.
  • The trigger distance is missing from the description, leaving the main management rule underspecified.
  • Inputs include MACD, two moving averages, stop-loss lookback, optional ADX levels, lot size, and a partial-close ratio.
  • The document provides no backtest evidence or complete trading rules, so strategy performance cannot be evaluated.

Tags

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