Double extreme EA Robot – [Cost 375$] – For FREE Forex Robot Download
This Double Extreme Expert Advisor is a mid-term Expert Advisor that compares two extreme points created by indicators to the worth extreme values.
Parameters
- The first lot size is defined by start lot.The lot size of orders is constant if the dynamic lot is disabled (risk=0).
- risk – Set the required risk level for the dynamic lot.
- MaxOrders_InOneSet – the maximum number of orders in a single set 0 means there is no control. It enables you to limit the total number of orders while still enabling all sets to place orders (at least one at a time).
- MaxOrders_InSymbol – the maximum number of orders placed for the current symbol (the sum of all sets). 0 means there is no control.
- PartialCloseIfProfit_ATRs – Closure in portion Close profitable orders if more than three orders in a row are open in the same direction and the price exceeds > PartialCloseIfProfit ATRs.
EA Optimization
To optimize trading, you’ll create unique settings for a certain pair utilizing optimization and save them to a plain text file:
“MetaTrader…\tester\files\DoubleExt.txt” – for testing, then copy to “MetaTrader…\MQL4\Files\DoubleExt.txt” – for Forex trading.
The EA searches for the required settings file and takes the essential ones from the code if none are found.
The following parameters allow configuring the EA.
- OptimizationMode – enable/disable optimization mode. If OptimizationMode is enabled, the ForPeriod, Indicator, Ind_per, i3, i4, SL_ATRs, TPSL_koef, BreakEven_ATRs, TrailDist_ATRs, CoefExpr parameters are optimized. the simplest test results are placed within the specified document (by means of a copy-paste), and from there, when the OptimizationMode is off, the EA takes the parameters when trading.
- period – chart period (timeframe), that the optimization is performed.
- Set_number – default is 0 (all sets). it’s wont to analyze a selected set, one among those written to the file.
- Indicator – analyzed indicator for outlining extreme values: AO, RSI, CCI, Stochastic, MACD, RVI, WPR and Momentum.
- Ind_per – analyzed indicator period (not relevant for AO).
- i3 – method of defining a double decreasing top. It varies from 0 to three (see the image below).
- i4 – method of defining a double increasing top. It varies from 0 to three (see the image below).
- SL_ATRs – initial stop loss level within the number of averaged candles. Here and further below, the dimensions of a mean candle for the tested timeframe are defined by ATR(200) indicator.
- TPSL_coef – take profit/stop ratio . Recommended values are from 1 to 10.
- BreakEven_ATRs – breakeven level in ATRs. Recommended values are from 1 to 10.
- TrailDist_ATRs – the trailing distance in ATRs. Recommended values are from 1 to 10.
Trailing does not begin until the price breaks the BreakEven level if BreakEven exceeds TrailDist. BreakEven, in other terms, prevents trailing.
When the price reaches the BreakEven threshold, an order is pushed to breakeven if BreakEven is smaller than TrailDist. Until the price breaks the TrailDist level, this level will remain intact. Following that, the trailing begins.
- Coef_expr – To begin pattern validation, consider the expressiveness of the double extremum – the ratio of rock bottom High to Low. The smaller the coefficient, the more pronounced the pattern is, and hence the less likely it is to be discovered. The recommended range for optimization is 0.55 to 0.95. 0.95 is the default value.
- ShowProfitInfo – show/hide data on the EA’s current trading results.
- Select the most relevant test findings and copy-paste them into the document after optimization and analysis. At the beginning of each line in the file, type a currency pair name (for example, “eurusd”), and then press TAB (mandatory).These will be the sets, each with its own set of parameters that it will follow.Save the file after optimization.
Set OptimizationMode=false and therefore the EA is prepared to trade consistent with your settings.