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

Idea by: Mikhail

MQL5 code by: barabashkakvn.

A simple Martingale. If no positions are opened, the entry is by indicator iStochastic (Stochastic Oscillator).

Inputs

  • Lots - initial lot size to open a position
  • Multiplicator - lot size increasing factor
  • Step (in pips) - step
  • Profit factor (in pips) - profit level
  • Stochastic: K-period (number of bars for calculations)
  • Stochastic: D-period (period of first smoothing)
  • Stochastic: final smoothing
  • Stochastic: type of smoothing
  • Stochastic: calculation method
  • Stochastic: BUY level - indicator level to open a BUY position
  • Stochastic: SELL level - indicator level to open a SELL position
  • magic number - a unique identifier of your positions

EURUSD,M30

MetaTrader Experts, Indicators, Scripts and Libraries

21331

Best MetaTrader Indicators + Profitable Expert Advisors