- October 25, 2019
- Posted by: Forex Wiki Team
- Category: Free Forex EA
Double extremum
A medium-time period adviser whose work relies on figuring out two extremes fashioned by indicators and evaluating them with worth extremes.
Choices EA Double extremum:
- Start_lot - the preliminary lot measurement, from which its worth will develop. When the dynamic lot is off (threat = 0) Start_Lot is fixed.
- threat - allow a dynamic lot with a given threat stage.
- MaxOrders_InOneSet - the utmost variety of orders in a single set. 0 - no management. It provides you the pliability to restrict the whole variety of orders, whereas permitting you to open orders (at the least one after the other) to all units.
- MaxOrders_InSymbol - The utmost variety of orders for the present image (the sum of all units). 0 - no management.
- PartialCloseIfProfit_ATRs - Partial shut perform. Closing worthwhile orders if greater than 3 are open in a single route throughout the identical set and the worth has gone to a distance> PartialCloseIfProfit_ATRs.
These settings are sufficient for buying and selling.
Advisor Optimization EA Double extremum:
If you wish to enhance buying and selling, you may create your individual settings by optimizing for a particular pair and write them to a daily textual content file:
"MetaTrader ... \ tester \ recordsdata \ DoubleExt.txt" - for testing, then copy to "MetaTrader ... \ MQL4 \ Recordsdata \ DoubleExt.txt" - for buying and selling.
The adviser searches for the desired file with settings, and if it doesn't discover it, it takes the bottom ones from the code.
The next parameters assist you to configure the adviser.
- OptimizationMode - allow / disable optimization mode. When OptimizationMode is enabled, the ForPeriod, Indicator, Ind_per, i3, i4, SL_ATRs, TPSL_koef, BreakEven_ATRs, TrailDist_ATRs, CoefExpr parameters are optimized. The most effective check outcomes are positioned within the specified textual content file (by the use of copy-paste), and from there, when OptimizationMode is turned off, the adviser takes parameters when buying and selling.
- ForPeriod - chart interval (timeframe) for optimization.
- Set_number - default is 0 (all units). Used to investigate a particular set, one of many recorded in a file.
- Indicator - an analyzed indicator for figuring out extremes: AO, RSI, CCI, Stochastic, MACD, RVI, WPR, Momentum.
- Ind_per - interval of the analyzed indicator (not related for AO).
- i3 is a technique for figuring out a double reducing vertex. It may possibly take a worth from 0 to 3 (see the determine under).
- i4 is a technique for figuring out a double rising peak. It may possibly take a worth from 0 to 3 (see the determine under).
- SL_ATRs - stage of the preliminary cease loss, expressed within the variety of candles (averaged). Hereinafter, the scale of the common candlestick is set by the ATR indicator (200) for the examined timeframe.
- TPSL_coef - take revenue ratio to cease loss. Advisable from 1 to 10.
- BreakEven_ATRs - breakeven stage in ATRs. Advisable from 1 to 10.
- TrailDist_ATRs - trailing distance in ATRs . Advisable from 1 to 10.
If BreakEven is larger than TrailDist, trailing won't begin till the worth goes past BreakEven stage. That's, BreakEven will maintain again trailing.
If BreakEven is lower than TrailDist, then when the worth reaches the BreakEven stage, the order might be transferred to breakeven, and this stage will stay unchanged till the worth goes past the TrailDist stage, solely then trailing will start.
- Coef_expr - the severity of the double extremum - the ratio of the smallest most to the minimal, which begins the offset of the determine. The smaller the coefficient, the extra pronounced the determine, and the much less typically it will likely be discovered. Advisable optimization vary: 0.55 to 0.95. The default is 0.95.
- ShowProfitInfo - present / conceal details about the present buying and selling outcomes of the adviser.
After optimization and evaluation, choose probably the most acceptable check outcomes and, copying them, paste right into a textual content file. At first of every line within the file (these would be the units that every work in line with their very own parameters), insert the title of the foreign money pair on which a particular consequence was obtained (for instance, "eurusd"), and press TAB (required). After optimization is full, save the file.
Then set the OptimizationMode = false parameter, and the adviser is able to commerce in line with your settings. The video is hooked up.
Have a great commerce!
[emaillocker]
Double_Extremum
[/emaillocker]