• Overview
  • Reviews (1)
  • Comments (14)
  • What's new

Extremum

The Extremum Expert Advisor enters the market based on the indicator signals. In case the price moves in the opposite direction, the EA opens additional orders with the specified step and lot multiplier. The EA works on any timeframe and any currency pair. It features an integrated system of lot increase based on the account equity, as well as the ability to cover the unprofitable orders by profitable ones, the loss limitation system.

Recommended timeframe: H1, Н4


Input parameters

  • MagicId - unique number of the EA.
  • GlobalSL - the minimum allowed equity level, at which the EA operation is stopped.
  • MaxSpread - maximum spread of the symbol for opening/closing orders.
  • MaxNumber - maximum number of orders in one direction.
  • MaxLot - the maximum lot size of each order.
  • MainLot - lot size of the first order.
  • OnBar - open the orders at the opening of candles (true) or when reaching the specified Grid level (false).
  • OnSignal - additional orders will be opened in case of receiving a signal from indicators.
  • STH - Stochastic period, upper and lower levels.
  • RSI - RSI period, upper and lower levels.
  • WPR - WPR period, upper and lower levels.
  • CloseByOpposite - close the current series when a signal in the opposite direction is received.
  • Direction - direction for opening orders:
    • Both - buy and sell.
    • Buy - only buy.
    • Sell - only sell.
  • Mode - calculation mode of the lot size for the first order of the series:
    • ManualLot - the lot size of the first order in each new series corresponds to the MainLot value.
    • AutoLot - the lot size of the first order is increased in multiples, based on the ratio of the account equity and AutoLotSize.
  • AutoLotSize - account equity per each MainLot.
  • Progress - switch the lot increase progression type:
    • Arith - arithmetic.
    • Geo - geometric.
  • FactorArith (Mode == Arith) - lot increase value per ArithNumber orders.
  • ArithNumber (Mode == Arith) - the number of orders with the same lot size.
  • Factor1 (Mode == Geo) - coefficient for changing the lot size before opening the order with the serial number FactorNumber.
  • Factor2 (Mode == Geo) - coefficient for changing the lot size starting from the order with the serial number FactorNumber.
  • FactorNumber (Mode == Geo) - serial number of the order, starting from which Factor1 is changed to Factor2.
  • Grid1 (in points) - the distance between orders before the order with the serial number GridNumber.
  • Grid2 (in points) - the distance between orders starting from the order with the serial number GridNumber.
  • GridNumber - serial number of the order, starting from which Grid1 is changed to Grid2.
  • Takeprofit1 (in points) - take profit level for the orders less than TPNumber.
  • Takeprofit2 (in points) - take profit level for the orders starting from TPNumber.
  • TPNumber - the number of the order, starting from which the take profit value changes.
  • Overlap - enable/disable (true/false) covering the first unprofitable order by the last profitable order in the amount of OverlapPercent percent.
  • OverlapNumber - serial number of the order, starting from which covering of orders is allowed.
  • OverlapPercent - amount of profit of the last order when using it to cover the loss of the first order.
  • DDStop - close all orders on the current instrument when reaching the drawdown level specified in DDStopValue:
    • None - the mode is disabled.
    • Currency - drawdown in the deposit currency.
    • Percent - drawdown as a percentage of the balance.
  • DDStopValue - currency units (DDStop=Currency), % of the balance (DDStop=Percent)
  • NewCycle - enable/disable (true/false) starting a new series after reaching take profit.
  • ShowInfo - enable/disable (true/false) the information panel and breakeven/take profit levels (it is recommended to disable it to increase the optimization speed).
  • UpColor - level color of a buy series.
  • DnColor - level color of a sell series.
  • The Delete Pattern button closes all open orders, after which the EA waits for a signal to open a new series.

All my products: https://www.mql5.com/en/users/quattordici/seller.

ANGEL seco fernandez
238
2017.06.21 16:47 
 

Backwards very good. Forward in demo, exactly the same. Put in 7 pairs at a time, as well, very little reduction and much benefit, is a great adviser and aleksei responds very fast. Thank you aleksei

Version 3.10 - 2017.07.24
Added parameter OnSignal, as well as settings for Stohastic, RSI and WPR indicators for opening orders.
Version 3.0 - 2017.06.26
Changed the settings of indicators for opening order series, added the ability to select the progression type for increasing the lot size, added the loss limitation system.

Added input parameters:
- MaxSpread - maximum spread of the symbol for opening/closing orders.
- MaxNumber - maximum number of orders;
- Progress - switch the lot increase progression type (Arith - arithmetic; Geo - geometric)
- DDStop - close all orders on the current instrument when reaching the drawdown level specified in DDStopValue (None - the mode is disabled; Сurrency - drawdown in the deposit currency; Percent - drawdown as a percentage of the balance)
Version 2.0 - 2017.05.31
Fixed errors.