Expert Advisors • Indicators • Scripts • Libraries

MQL.RobotFX.org is the biggest collection of MetaTrader expert advisors (MT5 & MT4), indicators, scripts and libraries that can be used to improve trading results, minimize risks or simply automate trading tasks

MetaTrader 5 Expert Advisor | ZigZag EA

Author of the idea: Iurii Tokman

MQL5 code author: barabashkakvn

The EA applies data from the ZigZag custom indicator. This indicator is used to define the channel. Buy Stop and Sell Stop pending orders are placed along the channel borders. After a pending order is activated, trailing can be enabled for a position. Stop loss and take profit values are specified in Fibo levels (0.0%, 23.6%, 38.2%, 50%, 61.8%, 100%, 161.8%, 261.8% and 423.6%).

MetaTrader Experts, Indicators, Scripts and Libraries

Inputs

ZigZag settings:

  • Depth;
  • Deviation;
  • Backstep.

EA operation time:

  • Operation start, hours;
  • Operation start, minutes;
  • Operation stop, hours;
  • Operation stop, minutes.

Channel and indent settings:

  • Indent in points;
  • Minimum channel size;
  • Maximum channel size.

ММ settings:

  • Lots;
  • Risk.

EA settings:

  • Stop loss in %;
  • Take profit in %;
  • Trailing Stop (in pips);
  • Trailing Step (in pips);
  • Show channel lines;
  • magic number.

EURUSD,M15:

MetaTrader Experts, Indicators, Scripts and Libraries

21452