• Overview
  • Reviews
  • Comments (13)



  1. The strategy is based on a precise mathematical calculation. It is possible to use the principles of martingale and grid trading.
  2. The algorithm for smart opening trades has been implemented in the EA. It allows to trade with minimal drawdowns.
  3. The EA is easy to configure. The EA uses Global Variables.
  4. Suitable for trading on most pairs. On any time frame.

The EA operation principle

  1. At each new price the EA performs complex mathematical computations. When the probability of a successful trade is high, the EA opens an order. If the price moves in the same direction and probability of success increases, the EA ma open another order. It stops opening orders as soon as the probability of success decreases.
  2. Trades are closed by the Stop Loss and Take Profit lines. It is possible to use TrailingStop.

Preparing the Expert Advisor to work

  1. Determine the direction for trading. Change the Buy and Sell input parameters accordingly. By default, both buying and selling are allowed: Buy=true and Sell=true.
  2. Set the volume of market orders (the Lot parameter).
  3. Set the maximum number of open orders (the Max_Orders parameter).
  4. If necessary, it is possibly to trade using only the predefined volume, to do that set Fix_Lot=true. Volume of all opened orders will be equal to the value of the Lot parameter.
  5. There is an option to enable the maximum spread filter. Set Spread=true. This way, trading will be performed only when the current spread value does not exceed the Spread_Max value.
  6. It is recommended to enable trailing of the StopLoss level. To do that, set Trailing=true. Now, the StopLoss level of orders will be trailed from the market price at the distance of the TrailingStop parameter in chart points.
  7. Set values for the StopLoss and TakeProfit parameters in chart points.


  1. Before using on a live account, test the EA using history data.
  2. If possible, use VPS or hosting server with minimal network latency to the broker's server.
  3. For best results, use the leverage from 1:100 to 1:500.
  4. Due to the use of Global variables, it is not recommended to perform trading and testing of the EA at the same time.

Input parameters

  1. StopLoss - stop loss level in chart points. Recommended value is StopLoss = 0.01.
  2. TakeProfit - take profit level in chart points. Recommended value is TakeProfit = 0.01.
  3. Fix_Lot - enable/disable trading with a fixed lot. Recommended value is Fix_Lot = false.
  4. Lot - the volume of market orders. Recommended value is Lot = 0.01.
  5. Max_Orders - the maximum allowed number of open market orders. Recommended value is Max_Orders = 20.
  6. Spread - enable/disable limitation on the maximum spread. Recommended value is Spread = false.
  7. Spread_Max - maximum spread of market orders. Recommended value is Spread_Max = 0.005.
  8. Buy - enable/disable buy orders. Recommended value is Buy = true.
  9. Sell - enable/disable sell orders. Recommended value is Sell = true.
  10. Trailing - enable/disable Trailing Stop. Recommended value is Trailing = true.
  11. TrailingStop - the distance to trail the stop loss relative to the market price. Recommended value is TrailingStop = 0.001.

Settings values do not depend on the number of quotes' decimal places. Example: TakeProfit = 0.001 is equal to 10 points at four-digit quotes or 100 points at five-digit ones.

If you have any questions you can always contact me. Below are a couple of screenshots of backtests from the beginning of 2010 for the EURUSD pair.

Best regards, Dmitriy.

No reviews