Unlocking Profit Potential with HarVesteR for MetaTrader 5

Mike 2017.11.03 21:36 25 0 0
Attachments

Author of the Idea: Yuri, MQ5 Code Author: barabashkakvn.

The HarVesteR EA is a game-changer for traders using MetaTrader 5. This intuitive Expert Advisor smartly closes half of your profitable positions when a specific condition is met: the distance between the current price and the opening price equals

StopLoss * ratio "Half-of-position closing ratio"

Additionally, the EA will move your position to breakeven, ensuring you lock in profits while minimizing risk.


Input Parameters

  • MACD: Fast Average Period - Set this for the fast moving average calculation.
  • MACD: Slow Average Period - Choose the period for the slow moving average.
  • MACD: Difference Averaging Period - Define the period for averaging the MACD difference.
  • Number of Bars MACD (only >= 1) - This sets how many MACD bars to analyze for highs and lows.
  • MA #1: Averaging Period - Specify the averaging period for Moving Average #1.
  • MA #2: Averaging Period - Specify the averaging period for Moving Average #2.
  • Minimal Indentation (in pips) - This is the minimum gap between the price and the Moving Average.
  • Number of Bars for Stop Loss (only >= 1) - This determines how many bars to use for calculating the stop loss.
  • ADX Enable: true → use ADX, false → const "60" - Decide whether to use values from the ADX indicator.
  • Buy Level ADX (use only if "ADX Enable == true") - Set the ADX value for initiating BUY positions.
  • Sell Level ADX (use only if "ADX Enable == true") - Set the ADX value for initiating SELL positions.
  • ADX Period - Define the averaging period for the Average Directional Movement Index.
  • Half-of-Position Closing Ratio (only >= 2) - This is the ratio for increasing your stop loss.
  • Lots - Set your desired position volume.
List
Comments 0