The miracles continue! - page 6

 

Yes. Once the miracles begin, there's no stopping them.

And what's typical is that the reason is likely to be simple and in plain sight. But that's the last thing we'll ever know.

I do not know what else to do. Bit by bit comparison of story files for copies? That's easy and quick. But that's hardly the point. Does the random number generator detect a different result when simulating ticks? But then it shouldn't have reproduced exactly on the same terminal.

Don't know. I've dried up so far.))

 

I also had another mishap the other day.

I am a mediocre mql user, I learned the basic functions, but I have no time to study all the fine points of the language, as usual, and I pay for it from time to time.

The essence of my mistake: I was assigning to a variable of double type the ratio of two variables of int type , which I got 0.

   int a=1;
   int b=2;
   double c= a/ b;//переменная с будет равна 0


 

In the meantime, after disconnecting from the internet, I decided to run the TS on both terminals again in autonomous mode. The results of the test on MQ's terminal are the same, so I won't show them here again. The test on the Alpari terminal turned out to be completely different again, although I didn't touch anything in the settings. Now there are more trades similar to the test with MQ terminal.

Time Type Order Volume Price S / L T / P Profit Balance
1 2009.09.02 10:55 buy 1 0.10 1.61528 0.00000 0.00000
2 2009.09.02 12:40 close 1 0.10 1.61966 0.00000 0.00000 43.80 1043.80
3 2009.09.03 05:25 buy 2 0.10 1.62827 0.00000 0.00000
4 2009.09.03 08:10 close 2 0.10 1.63116 0.00000 0.00000 28.90 1072.70
5 2009.09.03 11:05 buy 3 0.10 1.63620 0.00000 0.00000
6 2009.09.03 12:20 close 3 0.10 1.63842 0.00000 0.00000 22.20 1094.90
7 2009.09.04 16:35 buy 4 0.10 1.63454 0.00000 0.00000
8 2009.09.04 18:10 close 4 0.10 1.63972 0.00000 0.00000 51.80 1146.70
9 2009.09.08 17:05 buy 5 0.10 1.65669 0.00000 0.00000
10 2009.09.08 17:40 close 5 0.10 1.65220 0.00000 0.00000 -44.90 1101.80
11 2009.09.15 13:05 buy 6 0.10 1.64923 0.00000 0.00000
12 2009.09.15 14:39 close 6 0.10 1.64473 0.00000 0.00000 -45.00 1056.80
13 2009.09.15 18:10 buy 7 0.10 1.64387 0.00000 0.00000
14 2009.09.15 19:05 close 7 0.10 1.64628 0.00000 0.00000 24.10 1080.90
15 2009.09.16 17:10 buy 8 0.10 1.64977 0.00000 0.00000
16 2009.09.16 20:45 close 8 0.10 1.65010 0.00000 0.00000 3.30 1084.20
17 2009.09.18 11:00 buy 9 0.10 1.63482 0.00000 0.00000
18 2009.09.18 14:51 close 9 0.10 1.63479 0.00000 0.00000 -0.30 1083.90
19 2009.09.18 19:15 buy 10 0.10 1.62652 0.00000 0.00000
20 2009.09.21 00:00 close 10 0.10 1.62154 0.00000 0.00000 -49.85 1034.05
21 2009.09.21 01:40 buy 11 0.10 1.62618 0.00000 0.00000
22 2009.09.21 07:07 close 11 0.10 1.62168 0.00000 0.00000 -45.00 989.05
23 2009.09.21 17:40 buy 12 0.10 1.62315 0.00000 0.00000
24 2009.09.22 08:40 close 12 0.10 1.62798 0.00000 0.00000 48.25 1037.30
25 2009.09.23 23:20 buy 13 0.10 1.63481 0.00000 0.00000
26 2009.09.24 02:15 close 13 0.10 1.63579 0.00000 0.00000 9.65 1046.95
27 2009.09.25 03:30 buy 14 0.10 1.59312 0.00000 0.00000
28 2009.09.25 06:45 close 14 0.10 1.60030 0.00000 0.00000 71.80 1118.75

Now I do not know what to think, I may assume that the history somehow does not correspond to one terminal, but the runs on one and the same terminal shows such excellent results, while the operation of the same TS on another terminal is stable and they work with the quotes of the same brokerage company.

But this story leads us to very alarming conclusions. The terminal was given to us as a black box, no one really knows what's going on in it and if DC uploads its address into terminals, it may change other settings and we won't even know about it. Anyway, the case is clearly a dark one.

 
storm писал(а) >>

I also had another mishap the other day.

I am a mediocre mql user, I learned the basic functions, but I have no time to study all the fine points of the language, as usual, and I pay for it from time to time.

The essence of my error: I was assigning the ratio of two variables of int type to a variable of double type , which I got 0.


But it is rather from another type. It is purely program error.

 
Angela >> :

But this is somewhat of a different story. This is purely a programming error.

I agree.

But I may give you only one piece of advice: send your code to one of pros. By the way, one offered (as I understand) such help.

 

Did another experiment, installed another terminal downloaded from the Alpari server and ran the TS on it, the result is not the same as the previous two terminals:

Time Type Order Volume Price S / L T / P Profit Balance
1 2009.09.01 12:15 buy 1 0.10 1.62351 0.00000 0.00000
2 2009.09.01 15:13 close 1 0.10 1.61902 0.00000 0.00000 -44.90 955.10
3 2009.09.02 11:00 buy 2 0.10 1.61561 0.00000 0.00000
4 2009.09.02 12:40 close 2 0.10 1.61966 0.00000 0.00000 40.50 995.60
5 2009.09.02 22:45 buy 3 0.10 1.62762 0.00000 0.00000
6 2009.09.03 10:55 close 3 0.10 1.63641 0.00000 0.00000 87.75 1083.35
7 2009.09.04 16:30 buy 4 0.10 1.63389 0.00000 0.00000
8 2009.09.07 02:15 close 4 0.10 1.63976 0.00000 0.00000 58.65 1142.00
9 2009.09.09 11:20 buy 5 0.10 1.65119 0.00000 0.00000
10 2009.09.10 11:45 close 5 0.10 1.64980 0.00000 0.00000 -14.05 1127.95
11 2009.09.10 13:45 buy 6 0.10 1.66131 0.00000 0.00000
12 2009.09.10 17:00 close 6 0.10 1.66720 0.00000 0.00000 58.90 1186.85
13 2009.09.11 11:15 buy 7 0.10 1.67063 0.00000 0.00000
14 2009.09.11 16:03 close 7 0.10 1.66613 0.00000 0.00000 -45.00 1141.85
15 2009.09.11 18:05 buy 8 0.10 1.66953 0.00000 0.00000
16 2009.09.14 02:02 close 8 0.10 1.66503 0.00000 0.00000 -45.05 1096.80
17 2009.09.15 10:40 buy 9 0.10 1.66276 0.00000 0.00000
18 2009.09.15 11:23 close 9 0.10 1.65817 0.00000 0.00000 -45.90 1050.90
19 2009.09.16 05:07 buy 10 0.10 1.64748 0.00000 0.00000
20 2009.09.16 08:40 close 10 0.10 1.64598 0.00000 0.00000 -15.00 1035.90
21 2009.09.16 16:50 buy 11 0.10 1.64857 0.00000 0.00000
22 2009.09.16 22:20 close 11 0.10 1.64977 0.00000 0.00000 12.00 1047.90
23 2009.09.18 08:00 buy 12 0.10 1.63806 0.00000 0.00000
24 2009.09.18 08:46 close 12 0.10 1.63356 0.00000 0.00000 -45.00 1002.90
25 2009.09.23 23:15 buy 13 0.10 1.63482 0.00000 0.00000
26 2009.09.24 02:25 close 13 0.10 1.63664 0.00000 0.00000 18.05 1020.95
27 2009.09.24 17:30 buy 14 0.10 1.60743 0.00000 0.00000
28 2009.09.24 18:25 close 14 0.10 1.60646 0.00000 0.00000 -9.70 1011.25
29 2009.09.25 03:20 buy 15 0.10 1.59272 0.00000 0.00000
30 2009.09.25 06:40 close 15 0.10 1.59865 0.00000 0.00000 59.30 1070.55
31 2009.09.25 16:20 buy 16 0.10 1.60157 0.00000 0.00000
32 2009.09.25 16:39 close 16 0.10 1.59709 0.00000 0.00000 -44.80 1025.75

And what else are we waiting for? How in this situation we can talk about optimizing the TS, if the transfer of TS from one terminal to another, not only the optimized parameters, but the entire logic of the TS is falling apart!!! And as far as my intuition tells me, these problems have nothing to do with the market at all. "How to go on living? Where will the poor peasant go? "The whites will come and rob, the reds will come and rob!"

 
storm писал(а) >>

I agree.

I can only advise you to send the code of your EA to one of the pros, by the way one offered (as I understand it) such help.

If the problem was in the code, on the MQ terminal the operation of the TS was also not stable. I did hundreds of runs a day on this terminal, debugging the logic of TC, and did not notice any such problems.

 

Angela, let me ask you a question...

Did you connect MK terminal to the same demo account as the Alparev one? If you do not know the names of the servers or IPs, everything is the same?

Either way, it's clear that something is wrong with the quotes or the trading settings!

 

Try it this way:

  1. Uninstall both terminals and install them in new directories (folders).
  2. Load the history into the Alpari terminal.
  3. Disconnect from the internet and do NOT turn it on until testing is completed.
  4. From the Alpari terminal export the quotes into a file.
  5. From the extracted file download quotes into the MQ terminal.
  6. Run your Expert Advisor in both terminals.
 
DC2008 писал(а) >>

Try it this way:

  1. Uninstall both terminals and install them in new directories (folders).
  2. Load the history into the alpari terminal.
  3. Disconnect from the internet and do NOT turn it back on until testing is complete.
  4. From the Alpari terminal, export the quotes to a file.
  5. Load the quotes from the resulting file into the MQ terminal.
  6. Run your EA in both terminals.

You're a clown. What about low-level formatting the hard drive and reinstalling Windows ???