MQL4 - automated forex trading   /  

Code Base

Code Base  Expert Advisors  The MasterMind 2 (Version2.0) To post a new code, please log in or register

This Expert Advisor is for
MetaTrader 4
Download MT 4 - 5.5 Mb

Mobile trading!
Buy a license and be mobile in your trading!

Name:
The MasterMind 2 (Version2.0) [ ru | cn ]
Author: CreativeSilence (2008.06.25 09:23)
Rating: 6.5
Downloaded: 21119
Download:
 TheMasterMind2.mq4 (32.4 Kb) View
Strategy Tester Report
TheMasterMind2
AlpariUS-Demo (Build 216)

Symbol EURUSD (Euro vs US Dollar)
Period 5 Minutes (M5) 2008.03.26 00:00 - 2008.06.23 23:55 (2008.03.26 - 2008.06.24)
Model Every tick (the most precise method based on all available least timeframes)
Parameters Lots=200; StopLoss=2000; TakeProfit=0; TradeAtCloseBar=true; TrailingStop=0; TrailingStep=1; BreakEven=0; MagicNumber=0; Repeat=3; Periods=5; UseAlert=false; SendEmail=true; TradeLog="MasterMind2"; Slippage=3; Indicator_Setting="---------- Indicator Setting"; Crash=false; TimeFrame=0; Length=5; Method=3; Smoothing=1; Filter=5; RealTime=true; Steady=false; Color=true; Alerts=true; EmailON=false; SignalPrice=true; SignalPriceBUY=Yellow; SignalPriceSELL=Aqua; CountBars=1485;
Bars in test 19210 Ticks modelled 645880 Modelling quality 64.34%
Mismatched charts errors 57
Initial deposit 10000.00
Total net profit 666081.59 Gross profit 677363.18 Gross loss -11281.59
Profit factor 60.04 Expected payoff 13060.42
Absolute drawdown 8178.20 Maximal drawdown 479872.92 (56.12%) Relative drawdown 90.30% (362204.68)
Total trades 51 Short positions (won %) 27 (77.78%) Long positions (won %) 24 (100.00%)
Profit trades (% of total) 45 (88.24%) Loss trades (% of total) 6 (11.76%)
Largest profit trade 65972.79 loss trade -2760.80
Average profit trade 15052.52 loss trade -1880.27
Maximum consecutive wins (profit in money) 21 (506188.03) consecutive losses (loss in money) 3 (-6689.41)
Maximal consecutive profit (count of wins) 506188.03 (21) consecutive loss (count of losses) -6689.41 (3)
Average consecutive wins 15 consecutive losses 3

# Time Type Order Size Price S / L T / P Profit Balance
1 2008.03.26 19:55 sell 1 1.30 1.5816 1.7816 0.0000
2 2008.03.26 19:55 sell 2 1.10 1.5817 1.7817 0.0000
3 2008.03.26 19:55 sell 3 0.80 1.5816 1.7816 0.0000
4 2008.03.31 20:50 close 1 1.30 1.5774 1.7816 0.0000 485.55 10485.55
5 2008.03.31 20:50 close 2 1.10 1.5773 1.7817 0.0000 432.85 10918.40
6 2008.03.31 20:50 close 3 0.80 1.5774 1.7816 0.0000 298.80 11217.20
7 2008.03.31 20:50 buy 4 1.50 1.5772 1.3772 0.0000
8 2008.03.31 20:50 buy 5 1.20 1.5773 1.3773 0.0000
9 2008.03.31 20:50 buy 6 0.90 1.5772 1.3772 0.0000
10 2008.04.09 19:00 close 4 1.50 1.5855 1.3772 0.0000 1281.45 12498.65
11 2008.04.09 19:00 close 5 1.20 1.5856 1.3773 0.0000 1025.16 13523.81
12 2008.04.09 19:00 close 6 0.90 1.5855 1.3772 0.0000 768.87 14292.68
13 2008.04.09 19:00 sell 7 1.90 1.5856 1.7856 0.0000
14 2008.04.09 19:00 sell 8 1.50 1.5857 1.7857 0.0000
15 2008.04.09 19:00 sell 9 1.20 1.5856 1.7856 0.0000
16 2008.04.10 18:45 close 7 1.90 1.5729 1.7856 0.0000 2359.99 16652.67
17 2008.04.10 18:45 close 8 1.50 1.5730 1.7857 0.0000 1863.15 18515.82
18 2008.04.10 18:45 close 9 1.20 1.5731 1.7856 0.0000 1466.52 19982.34
19 2008.04.10 18:45 buy 10 2.70 1.5732 1.3732 0.0000
20 2008.04.10 18:45 buy 11 2.10 1.5733 1.3733 0.0000
21 2008.04.10 18:45 buy 12 1.70 1.5734 1.3734 0.0000
22 2008.04.11 04:45 close 10 2.70 1.5773 1.3732 0.0000 1114.29 21096.63
23 2008.04.11 04:46 close 11 2.10 1.5772 1.3733 0.0000 824.67 21921.30
24 2008.04.11 04:46 close 12 1.70 1.5771 1.3734 0.0000 633.59 22554.89
25 2008.04.11 04:47 sell 13 3.10 1.5771 1.7771 0.0000
26 2008.04.11 09:40 sell 14 2.10 1.5842 1.7842 0.0000
27 2008.04.11 09:40 sell 15 1.60 1.5843 1.7843 0.0000
28 2008.05.12 05:55 close 13 3.10 1.5405 1.7771 0.0000 10509.93 33064.82
29 2008.05.12 05:55 close 14 2.10 1.5404 1.7842 0.0000 8631.63 41696.45
30 2008.05.12 05:56 close 15 1.60 1.5405 1.7843 0.0000 6576.48 48272.93
31 2008.05.12 05:56 buy 16 6.70 1.5404 1.3404 0.0000
32 2008.05.12 05:56 buy 17 5.20 1.5405 1.3405 0.0000
33 2008.05.12 05:56 buy 18 4.10 1.5406 1.3406 0.0000
34 2008.05.12 12:50 close 16 6.70 1.5461 1.3404 0.0000 3819.00 52091.93
35 2008.05.12 12:50 close 17 5.20 1.5462 1.3405 0.0000 2964.00 55055.93
36 2008.05.12 12:50 close 18 4.10 1.5461 1.3406 0.0000 2255.00 57310.93
37 2008.05.12 12:50 sell 19 8.00 1.5462 1.7462 0.0000
38 2008.05.12 12:50 sell 20 6.20 1.5461 1.7461 0.0000
39 2008.05.12 12:50 sell 21 4.90 1.5460 1.7460 0.0000
40 2008.05.19 17:20 close 19 8.00 1.5490 1.7462 0.0000 -2760.80 54550.13
41 2008.05.19 17:20 close 20 6.20 1.5489 1.7461 0.0000 -2139.62 52410.51
42 2008.05.19 17:20 close 21 4.90 1.5490 1.7460 0.0000 -1788.99 50621.52
43 2008.05.19 17:20 buy 22 7.00 1.5489 1.3489 0.0000
44 2008.05.19 17:20 buy 23 5.50 1.5490 1.3490 0.0000
45 2008.05.19 17:20 buy 24 4.30 1.5491 1.3491 0.0000
46 2008.05.21 22:10 close 22 7.00 1.5789 1.3489 0.0000 21037.80 71659.32
47 2008.05.21 22:10 close 23 5.50 1.5788 1.3490 0.0000 16419.70 88079.02
48 2008.05.21 22:10 close 24 4.30 1.5789 1.3491 0.0000 12837.22 100916.24
49 2008.05.21 22:10 sell 25 14.10 1.5790 1.7790 0.0000
50 2008.05.21 22:11 sell 26 10.90 1.5789 1.7789 0.0000
51 2008.05.21 22:11 sell 27 8.50 1.5790 1.7790 0.0000
52 2008.05.27 22:05 close 25 14.10 1.5684 1.7790 0.0000 14159.22 115075.46
53 2008.05.27 22:05 close 26 10.90 1.5685 1.7789 0.0000 10727.78 125803.24
54 2008.05.27 22:05 close 27 8.50 1.5686 1.7790 0.0000 8365.70 134168.94
55 2008.05.27 22:05 buy 28 18.70 1.5685 1.3685 0.0000
56 2008.05.27 22:06 buy 29 14.60 1.5686 1.3686 0.0000
57 2008.05.27 22:06 buy 30 11.40 1.5687 1.3687 0.0000
58 2008.05.28 09:20 close 28 18.70 1.5750 1.3685 0.0000 12205.49 146374.43
59 2008.05.28 09:20 close 29 14.60 1.5751 1.3686 0.0000 9529.42 155903.85
60 2008.05.28 09:20 close 30 11.40 1.5750 1.3687 0.0000 7212.78 163116.63
61 2008.05.28 09:20 sell 31 22.80 1.5751 1.7751 0.0000
62 2008.05.28 09:20 sell 32 17.60 1.5752 1.7752 0.0000
63 2008.05.28 09:20 sell 33 13.80 1.5751 1.7751 0.0000
64 2008.05.29 18:10 close 31 22.80 1.5517 1.7751 0.0000 52715.88 215832.51
65 2008.05.29 18:10 close 32 17.60 1.5518 1.7752 0.0000 40692.96 256525.47
66 2008.05.29 18:10 close 33 13.80 1.5515 1.7751 0.0000 32182.98 288708.45
67 2008.05.29 18:10 buy 34 40.30 1.5512 1.3512 0.0000
68 2008.05.29 18:10 buy 35 31.50 1.5513 1.3513 0.0000
69 2008.05.29 18:10 buy 36 24.30 1.5510 1.3510 0.0000
70 2008.06.05 20:15 close 34 40.30 1.5581 1.3512 0.0000 28568.67 317277.12
71 2008.06.05 20:15 close 35 31.50 1.5582 1.3513 0.0000 22330.35 339607.47
72 2008.06.05 20:15 close 36 24.30 1.5581 1.3510 0.0000 17712.27 357319.74
73 2008.06.05 20:15 sell 37 49.90 1.5582 1.7582 0.0000
74 2008.06.05 20:16 sell 38 39.00 1.5581 1.7581 0.0000
75 2008.06.05 20:16 sell 39 30.70 1.5578 1.7578 0.0000
76 2008.06.10 20:45 close 37 49.90 1.5447 1.7582 0.0000 65972.79 423292.53
77 2008.06.10 20:46 close 38 39.00 1.5445 1.7581 0.0000 51951.90 475244.43
78 2008.06.10 20:47 close 39 30.70 1.5443 1.7578 0.0000 40588.47 515832.90
79 2008.06.10 20:47 buy 40 72.10 1.5445 1.3445 0.0000
80 2008.06.10 20:47 buy 41 56.10 1.5443 1.3443 0.0000
81 2008.06.10 20:48 buy 42 43.70 1.5442 1.3442 0.0000
82 2008.06.13 00:30 close 40 72.10 1.5466 1.3445 0.0000 16114.35 531947.25
83 2008.06.13 00:30 close 41 56.10 1.5467 1.3443 0.0000 14221.35 546168.60
84 2008.06.13 00:30 close 42 43.70 1.5465 1.3442 0.0000 10640.95 556809.55
85 2008.06.13 00:31 sell 43 77.80 1.5464 1.7464 0.0000
86 2008.06.13 00:31 sell 44 60.70 1.5465 1.7465 0.0000
87 2008.06.13 00:31 sell 45 47.80 1.5463 1.7463 0.0000
88 2008.06.17 02:15 close 43 77.80 1.5465 1.7464 0.0000 -2225.08 554584.47
89 2008.06.17 02:15 close 44 60.70 1.5464 1.7465 0.0000 -522.02 554062.45
90 2008.06.17 02:15 close 45 47.80 1.5465 1.7463 0.0000 -1845.08 552217.37
91 2008.06.17 02:16 buy 46 77.20 1.5464 1.3464 0.0000
92 2008.06.17 02:18 buy 47 60.40 1.5465 1.3465 0.0000
93 2008.06.17 02:19 buy 48 47.00 1.5464 1.3464 0.0000
94 2008.06.18 19:40 close 46 77.20 1.5526 1.3464 0.0000 48072.44 600289.81
95 2008.06.18 19:40 close 47 60.40 1.5527 1.3465 0.0000 37611.08 637900.89
96 2008.06.18 19:40 close 48 47.00 1.5526 1.3464 0.0000 29266.90 667167.79
97 2008.06.18 19:40 sell 49 93.30 1.5525 1.7525 0.0000
98 2008.06.18 19:40 sell 50 72.50 1.5527 1.7527 0.0000
99 2008.06.18 19:41 sell 51 57.00 1.5525 1.7525 0.0000
100 2008.06.23 23:59 close at stop 51 57.00 1.5517 1.7525 0.0000 1909.50 669077.29
101 2008.06.23 23:59 close at stop 50 72.50 1.5517 1.7527 0.0000 3878.75 672956.04
102 2008.06.23 23:59 close at stop 49 93.30 1.5517 1.7525 0.0000 3125.55 676081.59
31 comments: 1 2 3 4   To post a new comment, please log in or register
CreativeSilence wrote:
CUADRA556 wrote:

Is 100K to a 56 Million in 3 months possible? Realistic BackTesting

I'm interested too to know about this.

Have you finally got an excellent Script for this strategy?

I've acomplished that already...the chart in that thread is actually 56 mill not 560K.

I used this script but I the script was pushing 8 lots instead of 3, and computing bigger lot sizes. The risk factor would leave 101%free margin available with each position.

I watered down the code, due to stopouts.

Thanks

What will happen if I put a TRailing Stop of 30.0 and a Profit of 61.00 on your script? Will it makes a big different from what you have done? Will it still hit the target of 56 Million too? Should it be always a 100K to start to be able to have a 56 Million? Is there a possibility to start 500 U$ turning it to Millions? If so, how will the script looks like?

11.07.2008 14:06 5463088
Mehmet wrote:

i tested 2008.03.26 - today result is very good. buy

first time 2008.01.01 - today resuly is very bad.

please test 2007.01.01-2008.02.28

Where can I find the 2007.01.01-2008.02.28 pls ?
11.07.2008 13:56 5463088

I have run GBP/USD forward test since Monday, yesterday EA open buy order trade when buy_sig reach 3 , after that all 3 single trade went to profit 90+ pips, but next day,  it drop back to 0 profit (buy_sig < 3), now go back to +45 pips.

If in this case, if take profit and open buy order again when it reach again at 0 level will be better, do you have any idea on this? I donno adding trailing stop activate after 50 pips profit will help or not.

03.07.2008 15:31 mancai

Hello,


Could you please try to help me write the EA like this:  'Can somebody try to write EA based on Taichi & deMarker indicators only on 1 hour charts?'

The above link is to my subject I have added last time on this MQL Forum...


Best regards,

Puncher

POLAND

03.07.2008 08:55 puncher
thank you CreativeSilence, i would like to know how to test with the Bars in test 19210?? how to do the setting on the strategy tester? i set the date between 2008.03.26 till 2008.06.24.then, i got the result. how to do the correct testing?
01.07.2008 15:12 choontianz2
choontianz2 wrote:

i tested this EA, this report on the strategy tester was not like what you have stated above . what's going on?


Bars in test    2620
Ticks modelled    80853
Modelling quality    86.57%
Mismatched charts errors    58
Initial deposit    10000.00
Total net profit    -124.86
Gross profit    1999.12
Gross loss    -2123.98
Profit factor    0.94
Expected payoff    -10.40
Absolute drawdown    3211.32
Maximal drawdown    8318.96 (55.06%)
Relative drawdown    55.06% (8318.96)
Total trades    12
Short positions (won %)    6 (0.00%)
Long positions (won %)    6 (83.33%)
Profit trades (% of total)    5 (41.67%)
Loss trades (% of total)    7 (58.33%)
    Largest
profit trade    809.51
loss trade    -841.28
    Average
profit trade    399.82
loss trade    -303.43
    Maximum
consecutive wins (profit in money)    3 (1992.64)
consecutive losses (loss in money)    4 (-99.36)
    Maximal
consecutive profit (count of wins)    1992.64 (3)
consecutive loss (count of losses)    -2024.62 (3)
    Average
consecutive wins    3
consecutive losses    4

Did you run it all the way through???

Your Bars in the test were only 2620, versus my 19210 bars.


 

01.07.2008 13:03 CreativeSilence

i tested this EA, this report on the strategy tester was not like what you have stated above . what's going on?



Bars in test    2620
Ticks modelled    80853
Modelling quality    86.57%
Mismatched charts errors    58
Initial deposit    10000.00
Total net profit    -124.86
Gross profit    1999.12
Gross loss    -2123.98
Profit factor    0.94
Expected payoff    -10.40
Absolute drawdown    3211.32
Maximal drawdown    8318.96 (55.06%)
Relative drawdown    55.06% (8318.96)
Total trades    12
Short positions (won %)    6 (0.00%)
Long positions (won %)    6 (83.33%)
Profit trades (% of total)    5 (41.67%)
Loss trades (% of total)    7 (58.33%)
    Largest
profit trade    809.51
loss trade    -841.28
    Average
profit trade    399.82
loss trade    -303.43
    Maximum
consecutive wins (profit in money)    3 (1992.64)
consecutive losses (loss in money)    4 (-99.36)
    Maximal
consecutive profit (count of wins)    1992.64 (3)
consecutive loss (count of losses)    -2024.62 (3)
    Average
consecutive wins    3
consecutive losses    4

01.07.2008 02:54 choontianz2
CUADRA556 wrote:

Is 100K to a 56 Million in 3 months possible? Realistic BackTesting

I'm interested too to know about this.

Have you finally got an excellent Script for this strategy?

I've acomplished that already...the chart in that thread is actually 56 mill not 560K.

I used this script but I the script was pushing 8 lots instead of 3, and computing bigger lot sizes. The risk factor would leave 101%free margin available with each position.

I watered down the code, due to stopouts.

Thanks

30.06.2008 17:05 CreativeSilence

Is 100K to a 56 Million in 3 months possible? Realistic BackTesting

I'm interested too to know about this.

Have you finally got an excellent Script for this strategy?

30.06.2008 15:31 CUADRA556

I tested 30/06/2008 - today's result is very good.

I bought and sell with an Excellent results.

30.06.2008 15:14 CUADRA556