Watch how to download trading robots for free
Interesting script?
So post a link to it -
let others appraise it
You liked the script? Try it in the MetaTrader 5 terminal

HarVesteR - expert for MetaTrader 5 | English Русский 中文 Español Deutsch 日本語 Português

Published by:
Vladimir Karputov
votes: 28
2017.11.03 12:36
2018.02.28 10:49

Author of the idea:  Yuri, mq5 code author: barabashkakvn.

The HarVesteR Expert Advisor closes a half of the profitable position when the following condition is fulfilled: the distance between the current position price and the position open price is equal to

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

The EA additionally moves the position to breakeven.

Input Parameters

  • MACD: period for Fast average calculation - fast moving average period.
  • MACD: period for Slow average calculation - slow moving average period.
  • MACD: period for their difference averaging - the period for averaging the difference.
  • Number of bars MACD (only >= 1) - the number of MACD bars to search for high and low.
  • MA #1: averaging period - Moving Average #1 averaging period.
  • MA #2: averaging period - Moving Average #2 averaging period.
  • Minimal indentation (in pips) - the minimum distance between the price and the Moving Average.
  • Number of bars Stop loss (only >= 1) - the number of bars for calculating stop loss.
  • ADX enable: true → use adx, false → const "60" - allow/prohibit using the values of the ADX indicator.
  • Buy Level ADX (use only if "ADX enable == true") - ADX value for opening BUY positions.
  • Sell Level ADX (use only if "ADX enable == true") - ADX value for opening SELL positions.
  • ADX period - averaging period of Average Directional Movement Index.
  • Half-of-position closing ratio (only >= 2) - stop loss increase ratio.
  • Lots - position volume.

Translated from Russian by MetaQuotes Software Corp.
Original code:

Flat Channel Flat Channel

The Expert Advisor trades in a channel. When a flat channel is found or when the market slows down, the EA places a pending order expecting the channel breakout.

Differential indicator by Sultonov Differential indicator by Sultonov

Displays average values ​​of the bulls and bears power.

Alligator Alligator

A trading system based on the Alligator indicator. If possible, the EA moves positions to breakeven and then enables trailing stop.

Locker Locker

The EA lock positions.