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 | Gaps

The author of the idea: Scriptor

MQL5 code author: barabashkakvn

The EA opens positions having Lots volume. We can set stop loss and take profit. Trailing can be enabled for positions. It is recommended to launch the EA on M1.

When a new bar appears on a specified Timeframe, the EA checks if there has been a gap. If yes, it is compared with the Gap threshold value. After that, a position is opened depending on the gap direction.

On EURUSD, the highest profit was detected on M6:

MetaTrader Experts, Indicators, Scripts and Libraries

21617