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

The Expert Advisor is rewritten from MQL4, the author is Serg_ASV, link to the source - https://www.mql5.com/ru/code/7464.

How it works

If the price moves 'Shift' points or more for one tick, a position is opened in the direction opposite to the movement of the price. As the position is profitable (at any minimum value), it closes.

MetaTrader Experts, Indicators, Scripts and Libraries 

How it works means that Shift value is 3, spread is equal to 2.

Parameters

  • Lots - Position volume.
  • Shift - Price change to open a position.
  • Limit - Loss value in points to close a position.

Note

The Expert Advisor testing in the strategy tester is likely to be unreliable. It must be tested on a demo account.
1107

Best MetaTrader Indicators + Profitable Expert Advisors