Hey fellow traders! Today, we’re diving into the MultiNeyro Expert Advisor (EA) for MetaTrader 4 and how it can elevate your trading game.
Strategy Tester Overview
| Symbol | EURUSD (Euro vs US Dollar) | ||||
| Period | 5 Minutes (M5) 2008.11.10 00:00 - 2008.12.19 22:59 | ||||
| Model | Open prices only (for EAs controlling bar openings) | ||||
| Parameters | Trd_Up_X=true; tpx=5; slx=90; px=8; x1=44; x2=24; x3=78; x4=99; Trd_Dn_Y=true; tpy=5; sly=80; py=17; y1=2; y2=63; y3=31; y4=6; Text0="BTS F=1"; F=1; pz=6; z1=31; z2=70; z3=27; z4=99; Text1="BTS"; G=4; Text2="XXXXXXXXXXXXX"; tpX=4.5; slX=20; pX=3; X1=8; X2=44; X3=40; X4=61; Text3="YYYYYYYYYYYYY"; tpY=1; slY=80; pY=29; Y1=6; Y2=36; Y3=73; Y4=33; Text4="ZZZZZZZZZZZZ"; pZ=31; Z1=56; Z2=71; Z3=45; Z4=93; | ||||
| Bars in test |
9557 | Ticks modelled |
18110 | Modelling quality |
n/a |
| Mismatched charts errors |
0 | ||||
| Initial deposit |
£2000.00 | ||||
| Total net profit |
£797.06 | Gross profit |
£931.43 | Gross loss |
-£134.38 |
| Profit factor |
6.93 | Expected payoff |
£15.63 | ||
| Absolute drawdown |
£2.20 | Maximum drawdown |
£66.40 (2.39%) | Relative drawdown |
2.39% (66.40) |
| Total trades |
51 | Short positions (won %) | 22 (81.82%) | Long positions (won %) | 29 (68.97%) |
| Profit trades (% of total) | 38 (74.51%) | Loss trades (% of total) | 13 (25.49%) | ||
| Largest | profit trade |
£170.08 | loss trade |
-£18.40 | |
| Average | profit trade | £24.51 | loss trade | -£10.34 | |
| Maximum | consecutive wins (profit in money) | 7 (£317.36) | consecutive losses (loss in money) | 2 (-£8.80) | |
| Maximum | consecutive profit (count of wins) | £317.36 (7) | consecutive loss (count of losses) | -£18.40 (1) | |
| Average | consecutive wins | 3 | consecutive losses | 1 | |
When it comes to currency pairs, you can use different ones, but only EURUSD has undergone comprehensive testing.
For the chart period, I recommend M1, M5, and M15, but I personally prefer M5.
The EA can be tested and optimized based on open prices on M5. Just keep in mind that some minor differences may occur when testing on different timeframes due to the EA’s unique characteristics.
MultiNeyro uses a two-range tuning algorithm with a two-level, three-stage optimization process. Here’s a quick breakdown:
- First Range: Set G=0 (not equal to 2, 3, 4)
- First Level F=0
- First Stage: Trd_Up_X=true, Trd_Dn_Y=false for parameters with “x”
- Second Stage: Trd_Up_X=false, Trd_Dn_Y=true for parameters with “y”
- Second Level F=1
- Third Stage: Trd_Up_X=true, Trd_Dn_Y=true for parameters with “z”
The second range is smaller than the first and is tuned afterward, with G set to 2, 3, or 4:
- First Stage G=2 for parameters with “X”
- Second Stage G=3 for parameters with “Y”
- Third Stage G=4 for parameters with “Z”
After full optimization, the state flags should read:
Trd_Up_X=true, Trd_Dn_Y=true, F=1, G=4
The parameters (x1..y2..Y3..Z4) are optimized according to the neural network rules, ranging from 0 to 100. If you decide to change it to 100, the range will extend from 0 to 200.
As for the slx, sly, slX, and slY parameters, the initial stop is optimized from 20+ to 100+, depending on your preferences and system capabilities.
The tpx, tpy, tpX, and tpY parameters typically range from 2 to 5+, with increments of 0.2-0.5.
Lastly, determining the tuning ranges is crucial, and it can be a lengthy process. I encourage those interested to get involved! I’ve been testing two variations on demo accounts:
- First Variation: Initial range of 4-6 weeks with weekly re-optimization.
- Second Variation: Shorter range of 3-5 days with re-optimization every 1-3 days.
The second variation is still a work in progress, and I’m constantly experimenting!
Related Posts
- Unlock Trading Insights with the Support Vector Machine Learning Tool for MetaTrader 5
- Mastering the Moving Average EA for MetaTrader 5: A Trader's Guide
- Harnessing MQL5 Wizard for Trading Signals: 3 Black Crows & 3 White Soldiers with MFI
- Creating an Expert Advisor for Dark Cloud Cover and Piercing Line Patterns with CCI Confirmation
- Creating a Stochastic-Based EA for Hammer and Hanging Man Patterns in MetaTrader 5