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 | New Martin

Inspired by "Martin damped" (in Russian).

The New Martin Expert Advisor opens two opposite positions upon start. OnTradeTransaction handling. When Take Profit triggers, it opens a position (one position) in the same direction. The intersection of two MA indicators is a signal to open a position of a larger lot.

Open two opposite positions at start

Then wait for the activation of TakeProfit (processing of trading transactions in OnTradeTransaction):

  • If a BUY position was closed, open (no only one) BUY position
  • If a Sell position was closed, open (no only one) Sell position

MetaTrader Experts, Indicators, Scripts and Libraries

Then we have a losing position

How to eliminate it: waiting for the intersection of two MAs.

MetaTrader Experts, Indicators, Scripts and Libraries

And open a position with an increased lot in the direction of the losing position.

The balance increases while equity does not grow

The method used: "Loss percent" (difference between equity and balance) is configured in the EA's inputs. It is calculated as follows:

MetaTrader Experts, Indicators, Scripts and Libraries

17438

Best MetaTrader Indicators + Profitable Expert Advisors