• Overview
  • Reviews
  • Comments (10)
  • What's new


MartinTrend trades in the market every day at certain times. To determine the trend direction, it uses a built-in original indicator on the specified number of bars of the current chart timeframe. After opening a trade, it either opens additional orders with decreased lot sizes, or averaging orders with an increase in the lot. It uses a risky martingale strategy with a constant coefficient of 2 both for decreasing the lot for additional orders and for increasing the lot for averaging. To reduce the risks, it sets take profit values to every order according to the trend direction, and also close the entire order series when the signal changes. It also features a control of the maximum lot of the orders series. Due to the high operation speed, it is easy to optimize the EA parameters with high repeatability of results in different parts of history.

The EA features automatic increase of the step for averaging against the trend with the growth of market volatility. The CoffIncVolStep parameter defines the relation of the step to the increase in the trade volumes. IF set to 0, the base step StepVsTrend is always used. A parameter for setting the lot multiplier is also available - MultLot. In case the volume of the averaging order is not increased, the multiplier is temporarily set to 2.

The EA works with any broker on any accounts. Recommended leverage is 1:500 and above.

Pairs and timeframes

The EA works with any pairs. Recommended pairs: EURUSD, USDJPY, EURJPY. Working timeframes: M5, M15, M30 and H1.

Recommended balance

The minimum recommended balance for the EA's use is $1000 (when using an initial lot 0.04 on the recommended pairs and timeframes).


  • MagicNumber - magic number;
  • StepOnTrend - step along the trend, in 4-digit points. In all parameters, 4-digit points are used, the values are automatically recalculated for 5-digit quotes;
  • StepVsTrend - step against the trend, in points;
  • ProfitOnTrend - profit along the trend, in points;
  • ProfitVsTrend - profit against the trend, in points;
  • Slip - maximum slippage;
  • MinLot - the minimum allowable lot size for orders placed along the trend;
  • StartLot - initial lot;
  • MaxLot - the maximum allowable order lot;
  • BarsIndTrend - the number of bars to calculate the built-in trend indicator, the current chart timeframe is used in calculations;
  • CoeffIncVolStep - coefficient of the step increase to the increase in the trade volumes;
  • MultLot - lot multiplier for averaging orders;
  • StartHour - the daily trading start hour;
  • StopHour - the daily trading stop hour (time for the EA to close orders after reaching profit and to stop opening new series;
  • Comment - comment to orders;
  • NoTextOnGraph - disable text output on the chart, used for optimization.
No reviews
Version 2.0 2018.04.06
Added the ability to adjust the averaging lot multiplier, added a variable averaging step depending on the current volume.
New parameters:
- CoeffIncVolStep - coefficient of the step increase relation to the step increase, values from 0 (increment is disabled) to 5.0;
- MultLot - lot multiplier for averaging. If it is less than 2, and if rounding the order during averaging results in the same position volume, multiplication by 2 is performed. For example, 0,01*1,4=0.01 => 0.01*2=0.02.