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 | Fractals minimum distance

The EA trades based on the Fractals indicator. It only trades at the emergence of a new bar. Lot calculation: percentage of free margin. When an upward fractal is found, a Sell signal is generated and all Buy positions are closed. When a downward fractal is found, a Buy signal is generated and all Sell positions are closed.

For optimization purposes.

Two input parameters simplify configuration:

  • Distance (in pips)
  • and Signal bar

MetaTrader Experts, Indicators, Scripts and Libraries

Fractals minimum distance. The "Distance" parameter

Signal bar — bar number (relative to the current one) on which the fractal is checked.

18326

Best MetaTrader Indicators + Profitable Expert Advisors