help fineturn EA - page 5

 
ronaldosim:

sorry, i was changing the lot increment formula and it has an extra parenthesis; here it is again

i have notice on a demo account it has not close the one sell be for he buy

can that happen or must i set a setting for that

 
7455 wrote >>

I want to calculate the current week's cumulative profit loss and display it on the chart.

here is the indicator u need

Files:
 
delcor wrote >>

i have notice on a demo account it has not close the one sell be for he buy

can that happen or must i set a setting for that

i didnt encounter it; see log of orders made below:

1 2008.02.06 00:00 sell 1 0.10 1.4633 0.0000 0.0000 0.00 5000.00
2 2008.02.15 16:00 close 1 0.10 1.4690 0.0000 0.0000 -60.08 4939.92
3 2008.02.15 16:00 buy 2 0.10 1.4690 0.0000 0.0000 0.00 4939.92
4 2008.03.21 08:00 close 2 0.10 1.5458 0.0000 0.0000 762.75 5702.67
5 2008.03.21 08:00 sell 3 0.10 1.5458 0.0000 0.0000 0.00 5702.67
6 2008.03.26 08:00 close 3 0.10 1.5601 0.0000 0.0000 -143.84 5558.83
7 2008.03.26 08:00 buy 4 0.10 1.5601 0.0000 0.0000 0.00 5558.83
8 2008.04.03 08:00 close 4 0.10 1.5624 0.0000 0.0000 21.50 5580.33
9 2008.04.03 08:00 sell 5 0.10 1.5624 0.0000 0.0000 0.00 5580.33
10 2008.04.04 16:00 close 5 0.10 1.5735 0.0000 0.0000 -111.28 5469.05
11 2008.04.04 16:00 buy 6 0.10 1.5735 0.0000 0.0000 0.00 5469.05
12 2008.04.24 20:00 close 6 0.10 1.5676 0.0000 0.0000 -62.00 5407.05
13 2008.04.24 20:00 sell 7 0.20 1.5676 0.0000 0.0000 0.00 5407.05
14 2008.05.16 16:00 close 7 0.20 1.5592 0.0000 0.0000 155.68 5562.73
15 2008.05.16 16:00 buy 8 0.10 1.5592 0.0000 0.0000 0.00 5562.73
16 2008.05.29 12:00 close 8 0.10 1.5557 0.0000 0.0000 -36.95 5525.78
17 2008.05.29 12:00 sell 9 0.10 1.5557 0.0000 0.0000 0.00 5525.78
18 2008.06.06 20:00 close 9 0.10 1.5770 0.0000 0.0000 -215.24 5310.54
19 2008.06.06 20:00 buy 10 0.20 1.5770 0.0000 0.0000 0.00 5310.54
20 2008.06.11 00:00 close 10 0.20 1.5460 0.0000 0.0000 -620.90 4689.64
21 2008.06.11 00:00 sell 11 0.30 1.5460 0.0000 0.0000 0.00 4689.64
22 2008.06.19 04:00 close 11 0.30 1.5570 0.0000 0.0000 -338.40 4351.24
23 2008.06.19 04:00 buy 12 0.40 1.5570 0.0000 0.0000 0.00 4351.24
24 2008.07.07 08:00 close 12 0.40 1.5622 0.0000 0.0000 198.40 4549.64
25 2008.07.07 08:00 sell 13 0.10 1.5622 0.0000 0.0000 0.00 4549.64
26 2008.07.10 20:00 close 13 0.10 1.5781 0.0000 0.0000 -160.40 4389.24
27 2008.07.10 20:00 buy 14 0.10 1.5781 0.0000 0.0000 0.00 4389.24
28 2008.07.23 08:00 close 14 0.10 1.5766 0.0000 0.0000 -16.65 4372.59
29 2008.07.23 08:00 sell 15 0.20 1.5766 0.0000 0.0000 0.00 4372.59
30 2008.09.18 00:00 close 15 0.20 1.4315 0.0000 0.0000 2868.96 7241.55
31 2008.09.18 00:00 buy 16 0.10 1.4315 0.0000 0.0000 0.00 7241.55
32 2008.09.30 00:00 close 16 0.10 1.4368 0.0000 0.0000 51.50 7293.05
33 2008.09.30 00:00 sell 17 0.10 1.4368 0.0000 0.0000 0.00 7293.05
34 2008.11.05 12:00 close 17 0.10 1.2963 0.0000 0.0000 1394.92 8687.97
35 2008.11.05 12:00 buy 18 0.10 1.2963 0.0000 0.0000 0.00 8687.97
36 2008.11.07 04:00 close 18 0.10 1.2749 0.0000 0.0000 -214.60 8473.37
37 2008.11.07 04:00 sell 19 0.10 1.2749 0.0000 0.0000 0.00 8473.37
38 2008.11.24 20:00 close 19 0.10 1.2879 0.0000 0.0000 -134.20 8339.17
39 2008.11.24 20:00 buy 20 0.20 1.2879 0.0000 0.0000 0.00 8339.17
40 2008.12.01 16:00 close 20 0.20 1.2588 0.0000 0.0000 -584.10 7755.07
41 2008.12.01 16:00 sell 21 0.30 1.2588 0.0000 0.0000 0.00 7755.07
42 2008.12.08 08:00 close 21 0.30 1.2873 0.0000 0.0000 -860.88 6894.19
43 2008.12.08 08:00 buy 22 0.40 1.2873 0.0000 0.0000 0.00 6894.19
44 2009.01.04 23:00 close 22 0.40 1.3883 0.0000 0.0000 4023.80 10917.99
45 2009.01.04 23:00 sell 23 0.10 1.3883 0.0000 0.0000 0.00 10917.99
46 2009.01.28 00:00 close 23 0.10 1.3216 0.0000 0.0000 660.28 11578.27
47 2009.01.28 00:00 buy 24 0.10 1.3216 0.0000 0.0000 0.00 11578.27
48 2009.01.30 00:00 close 24 0.10 1.2937 0.0000 0.0000 -279.60 11298.67
49 2009.01.30 00:00 sell 25 0.10 1.2937 0.0000 0.0000 0.00 11298.67
50 2009.02.10 16:00 close 25 0.10 1.3039 0.0000 0.0000 -104.52 11194.15
51 2009.02.10 16:00 buy 26 0.20 1.3039 0.0000 0.0000 0.00 11194.15
52 2009.02.11 04:00 close 26 0.20 1.2884 0.0000 0.0000 -310.30 10883.85
53 2009.02.11 04:00 sell 27 0.30 1.2884 0.0000 0.0000 0.00 10883.85
54 2009.02.11 12:00 close 27 0.30 1.2939 0.0000 0.0000 -165.00 10718.85
55 2009.02.11 12:00 buy 28 0.40 1.2939 0.0000 0.0000 0.00 10718.85
56 2009.02.11 20:00 close 28 0.40 1.2906 0.0000 0.0000 -132.00 10586.85
57 2009.02.11 20:00 sell 29 0.50 1.2906 0.0000 0.0000 0.00 10586.85
58 2009.02.20 21:59 close at stop 29 0.50 1.2828 0.0000 0.0000 374.60 10961.45

 
ronaldosim:

i didnt encounter it; see log of orders made below:

1 2008.02.06 00:00 sell 1 0.10 1.4633 0.0000 0.0000 0.00 5000.00
2 2008.02.15 16:00 close 1 0.10 1.4690 0.0000 0.0000 -60.08 4939.92
3 2008.02.15 16:00 buy 2 0.10 1.4690 0.0000 0.0000 0.00 4939.92
4 2008.03.21 08:00 close 2 0.10 1.5458 0.0000 0.0000 762.75 5702.67
5 2008.03.21 08:00 sell 3 0.10 1.5458 0.0000 0.0000 0.00 5702.67
6 2008.03.26 08:00 close 3 0.10 1.5601 0.0000 0.0000 -143.84 5558.83
7 2008.03.26 08:00 buy 4 0.10 1.5601 0.0000 0.0000 0.00 5558.83
8 2008.04.03 08:00 close 4 0.10 1.5624 0.0000 0.0000 21.50 5580.33
9 2008.04.03 08:00 sell 5 0.10 1.5624 0.0000 0.0000 0.00 5580.33
10 2008.04.04 16:00 close 5 0.10 1.5735 0.0000 0.0000 -111.28 5469.05
11 2008.04.04 16:00 buy 6 0.10 1.5735 0.0000 0.0000 0.00 5469.05
12 2008.04.24 20:00 close 6 0.10 1.5676 0.0000 0.0000 -62.00 5407.05
13 2008.04.24 20:00 sell 7 0.20 1.5676 0.0000 0.0000 0.00 5407.05
14 2008.05.16 16:00 close 7 0.20 1.5592 0.0000 0.0000 155.68 5562.73
15 2008.05.16 16:00 buy 8 0.10 1.5592 0.0000 0.0000 0.00 5562.73
16 2008.05.29 12:00 close 8 0.10 1.5557 0.0000 0.0000 -36.95 5525.78
17 2008.05.29 12:00 sell 9 0.10 1.5557 0.0000 0.0000 0.00 5525.78
18 2008.06.06 20:00 close 9 0.10 1.5770 0.0000 0.0000 -215.24 5310.54
19 2008.06.06 20:00 buy 10 0.20 1.5770 0.0000 0.0000 0.00 5310.54
20 2008.06.11 00:00 close 10 0.20 1.5460 0.0000 0.0000 -620.90 4689.64
21 2008.06.11 00:00 sell 11 0.30 1.5460 0.0000 0.0000 0.00 4689.64
22 2008.06.19 04:00 close 11 0.30 1.5570 0.0000 0.0000 -338.40 4351.24
23 2008.06.19 04:00 buy 12 0.40 1.5570 0.0000 0.0000 0.00 4351.24
24 2008.07.07 08:00 close 12 0.40 1.5622 0.0000 0.0000 198.40 4549.64
25 2008.07.07 08:00 sell 13 0.10 1.5622 0.0000 0.0000 0.00 4549.64
26 2008.07.10 20:00 close 13 0.10 1.5781 0.0000 0.0000 -160.40 4389.24
27 2008.07.10 20:00 buy 14 0.10 1.5781 0.0000 0.0000 0.00 4389.24
28 2008.07.23 08:00 close 14 0.10 1.5766 0.0000 0.0000 -16.65 4372.59
29 2008.07.23 08:00 sell 15 0.20 1.5766 0.0000 0.0000 0.00 4372.59
30 2008.09.18 00:00 close 15 0.20 1.4315 0.0000 0.0000 2868.96 7241.55
31 2008.09.18 00:00 buy 16 0.10 1.4315 0.0000 0.0000 0.00 7241.55
32 2008.09.30 00:00 close 16 0.10 1.4368 0.0000 0.0000 51.50 7293.05
33 2008.09.30 00:00 sell 17 0.10 1.4368 0.0000 0.0000 0.00 7293.05
34 2008.11.05 12:00 close 17 0.10 1.2963 0.0000 0.0000 1394.92 8687.97
35 2008.11.05 12:00 buy 18 0.10 1.2963 0.0000 0.0000 0.00 8687.97
36 2008.11.07 04:00 close 18 0.10 1.2749 0.0000 0.0000 -214.60 8473.37
37 2008.11.07 04:00 sell 19 0.10 1.2749 0.0000 0.0000 0.00 8473.37
38 2008.11.24 20:00 close 19 0.10 1.2879 0.0000 0.0000 -134.20 8339.17
39 2008.11.24 20:00 buy 20 0.20 1.2879 0.0000 0.0000 0.00 8339.17
40 2008.12.01 16:00 close 20 0.20 1.2588 0.0000 0.0000 -584.10 7755.07
41 2008.12.01 16:00 sell 21 0.30 1.2588 0.0000 0.0000 0.00 7755.07
42 2008.12.08 08:00 close 21 0.30 1.2873 0.0000 0.0000 -860.88 6894.19
43 2008.12.08 08:00 buy 22 0.40 1.2873 0.0000 0.0000 0.00 6894.19
44 2009.01.04 23:00 close 22 0.40 1.3883 0.0000 0.0000 4023.80 10917.99
45 2009.01.04 23:00 sell 23 0.10 1.3883 0.0000 0.0000 0.00 10917.99
46 2009.01.28 00:00 close 23 0.10 1.3216 0.0000 0.0000 660.28 11578.27
47 2009.01.28 00:00 buy 24 0.10 1.3216 0.0000 0.0000 0.00 11578.27
48 2009.01.30 00:00 close 24 0.10 1.2937 0.0000 0.0000 -279.60 11298.67
49 2009.01.30 00:00 sell 25 0.10 1.2937 0.0000 0.0000 0.00 11298.67
50 2009.02.10 16:00 close 25 0.10 1.3039 0.0000 0.0000 -104.52 11194.15
51 2009.02.10 16:00 buy 26 0.20 1.3039 0.0000 0.0000 0.00 11194.15
52 2009.02.11 04:00 close 26 0.20 1.2884 0.0000 0.0000 -310.30 10883.85
53 2009.02.11 04:00 sell 27 0.30 1.2884 0.0000 0.0000 0.00 10883.85
54 2009.02.11 12:00 close 27 0.30 1.2939 0.0000 0.0000 -165.00 10718.85
55 2009.02.11 12:00 buy 28 0.40 1.2939 0.0000 0.0000 0.00 10718.85
56 2009.02.11 20:00 close 28 0.40 1.2906 0.0000 0.0000 -132.00 10586.85
57 2009.02.11 20:00 sell 29 0.50 1.2906 0.0000 0.0000 0.00 10586.85
58 2009.02.20 21:59 close at stop 29 0.50 1.2828 0.0000 0.0000 374.60 10961.45

is that good

double the account?

 
ronaldosim:

i didnt encounter it; see log of orders made below:

1 2008.02.06 00:00 sell 1 0.10 1.4633 0.0000 0.0000 0.00 5000.00
2 2008.02.15 16:00 close 1 0.10 1.4690 0.0000 0.0000 -60.08 4939.92
3 2008.02.15 16:00 buy 2 0.10 1.4690 0.0000 0.0000 0.00 4939.92
4 2008.03.21 08:00 close 2 0.10 1.5458 0.0000 0.0000 762.75 5702.67
5 2008.03.21 08:00 sell 3 0.10 1.5458 0.0000 0.0000 0.00 5702.67
6 2008.03.26 08:00 close 3 0.10 1.5601 0.0000 0.0000 -143.84 5558.83
7 2008.03.26 08:00 buy 4 0.10 1.5601 0.0000 0.0000 0.00 5558.83
8 2008.04.03 08:00 close 4 0.10 1.5624 0.0000 0.0000 21.50 5580.33
9 2008.04.03 08:00 sell 5 0.10 1.5624 0.0000 0.0000 0.00 5580.33
10 2008.04.04 16:00 close 5 0.10 1.5735 0.0000 0.0000 -111.28 5469.05
11 2008.04.04 16:00 buy 6 0.10 1.5735 0.0000 0.0000 0.00 5469.05
12 2008.04.24 20:00 close 6 0.10 1.5676 0.0000 0.0000 -62.00 5407.05
13 2008.04.24 20:00 sell 7 0.20 1.5676 0.0000 0.0000 0.00 5407.05
14 2008.05.16 16:00 close 7 0.20 1.5592 0.0000 0.0000 155.68 5562.73
15 2008.05.16 16:00 buy 8 0.10 1.5592 0.0000 0.0000 0.00 5562.73
16 2008.05.29 12:00 close 8 0.10 1.5557 0.0000 0.0000 -36.95 5525.78
17 2008.05.29 12:00 sell 9 0.10 1.5557 0.0000 0.0000 0.00 5525.78
18 2008.06.06 20:00 close 9 0.10 1.5770 0.0000 0.0000 -215.24 5310.54
19 2008.06.06 20:00 buy 10 0.20 1.5770 0.0000 0.0000 0.00 5310.54
20 2008.06.11 00:00 close 10 0.20 1.5460 0.0000 0.0000 -620.90 4689.64
21 2008.06.11 00:00 sell 11 0.30 1.5460 0.0000 0.0000 0.00 4689.64
22 2008.06.19 04:00 close 11 0.30 1.5570 0.0000 0.0000 -338.40 4351.24
23 2008.06.19 04:00 buy 12 0.40 1.5570 0.0000 0.0000 0.00 4351.24
24 2008.07.07 08:00 close 12 0.40 1.5622 0.0000 0.0000 198.40 4549.64
25 2008.07.07 08:00 sell 13 0.10 1.5622 0.0000 0.0000 0.00 4549.64
26 2008.07.10 20:00 close 13 0.10 1.5781 0.0000 0.0000 -160.40 4389.24
27 2008.07.10 20:00 buy 14 0.10 1.5781 0.0000 0.0000 0.00 4389.24
28 2008.07.23 08:00 close 14 0.10 1.5766 0.0000 0.0000 -16.65 4372.59
29 2008.07.23 08:00 sell 15 0.20 1.5766 0.0000 0.0000 0.00 4372.59
30 2008.09.18 00:00 close 15 0.20 1.4315 0.0000 0.0000 2868.96 7241.55
31 2008.09.18 00:00 buy 16 0.10 1.4315 0.0000 0.0000 0.00 7241.55
32 2008.09.30 00:00 close 16 0.10 1.4368 0.0000 0.0000 51.50 7293.05
33 2008.09.30 00:00 sell 17 0.10 1.4368 0.0000 0.0000 0.00 7293.05
34 2008.11.05 12:00 close 17 0.10 1.2963 0.0000 0.0000 1394.92 8687.97
35 2008.11.05 12:00 buy 18 0.10 1.2963 0.0000 0.0000 0.00 8687.97
36 2008.11.07 04:00 close 18 0.10 1.2749 0.0000 0.0000 -214.60 8473.37
37 2008.11.07 04:00 sell 19 0.10 1.2749 0.0000 0.0000 0.00 8473.37
38 2008.11.24 20:00 close 19 0.10 1.2879 0.0000 0.0000 -134.20 8339.17
39 2008.11.24 20:00 buy 20 0.20 1.2879 0.0000 0.0000 0.00 8339.17
40 2008.12.01 16:00 close 20 0.20 1.2588 0.0000 0.0000 -584.10 7755.07
41 2008.12.01 16:00 sell 21 0.30 1.2588 0.0000 0.0000 0.00 7755.07
42 2008.12.08 08:00 close 21 0.30 1.2873 0.0000 0.0000 -860.88 6894.19
43 2008.12.08 08:00 buy 22 0.40 1.2873 0.0000 0.0000 0.00 6894.19
44 2009.01.04 23:00 close 22 0.40 1.3883 0.0000 0.0000 4023.80 10917.99
45 2009.01.04 23:00 sell 23 0.10 1.3883 0.0000 0.0000 0.00 10917.99
46 2009.01.28 00:00 close 23 0.10 1.3216 0.0000 0.0000 660.28 11578.27
47 2009.01.28 00:00 buy 24 0.10 1.3216 0.0000 0.0000 0.00 11578.27
48 2009.01.30 00:00 close 24 0.10 1.2937 0.0000 0.0000 -279.60 11298.67
49 2009.01.30 00:00 sell 25 0.10 1.2937 0.0000 0.0000 0.00 11298.67
50 2009.02.10 16:00 close 25 0.10 1.3039 0.0000 0.0000 -104.52 11194.15
51 2009.02.10 16:00 buy 26 0.20 1.3039 0.0000 0.0000 0.00 11194.15
52 2009.02.11 04:00 close 26 0.20 1.2884 0.0000 0.0000 -310.30 10883.85
53 2009.02.11 04:00 sell 27 0.30 1.2884 0.0000 0.0000 0.00 10883.85
54 2009.02.11 12:00 close 27 0.30 1.2939 0.0000 0.0000 -165.00 10718.85
55 2009.02.11 12:00 buy 28 0.40 1.2939 0.0000 0.0000 0.00 10718.85
56 2009.02.11 20:00 close 28 0.40 1.2906 0.0000 0.0000 -132.00 10586.85
57 2009.02.11 20:00 sell 29 0.50 1.2906 0.0000 0.0000 0.00 10586.85
58 2009.02.20 21:59 close at stop 29 0.50 1.2828 0.0000 0.0000 374.60 10961.45

is that good

double the account?

 
delcor wrote >>

is that good

double the account?

it can more than double depending on how u increase the lot size eg u can start with $3K and end off at$30K which is ten times

 
ronaldosim:

it can more than double depending on how u increase the lot size eg u can start with $3K and end off at$30K which is ten times

that is very good

is that by using the same EA an only thing you have done is increase the lot size

 
delcor:

that is very good

is that by using the same EA an only thing you have done is increase the lot size


over what time period

 
delcor:

over what time period


i have place an trailing stop on it

but it does not take as much as with out

 

Good effort :)

There is many not so good in the CodeBase!!

Added TP & SL for sanity & better equity curve

Added Order Comment

Corrected lot handling to enable micro accounts to use it

Corrected LotsOptimized() to include check for Magic Number

Added auto-adjust for sub-pip accounts

Nailed this version to GBPUSD H1 that seems to have the most potential

FWIW my 2c worth :)

Good Luck

-BB-

Reason: