Errors, bugs, questions - page 305

 
Rosh:

Place a tick in the box


Thank you! In MT4 it saved without user intervention. Maybe make Save deleted charts enabled by default?
 
Jager:

Some agents won't start remotely, here's the log:

Although via localhost this agent works locally.

What could be the reason?


Describe in more detail.

Do you have 2 regular local + 2 (or more) remote agents on the same computer?

 
alexvd:

Describe in more detail.

Do you have 2 full-time local + 2 (or more) remote agents on the same computer?

No, I don't.

I have 3 computers, all at different ends of the planet. All 3 computers are networked using Comodo EasyVPN. I have pings to all computers, I also tried firewalls just in case. I can start agent on my computer 2 but I can't start agent on computer 3 as I can see in my log above. But if I start agent on 3 with local (i.e. from 3), agent works, even if I prescribe IP, which is assigned in the network.

What kind of error is the agent giving out?

 
I have a position of 1 lot. Please advise how to calculate the profit on a partial closing of a 0.1 lot position. Thank you.
 
beginner:

PositionSelect(_Symbol);
профит при частичном закрытии=PositionGetDouble(POSITION_PROFIT)*(0,1 lot)/(1 lot);
excluding swap and commission.
 

build 401.

1) It seems MT5 users will never wait till the developers will add one switch on the tester form and

write one line of code with an if condition... to avoid opening of visualization window on each run.

although it was asked many times and many users in this thread many builds ago.

2) Please restore the output of remaining optimization time calculation in the full size tester window (as it was in MT4).

 
Swan:
excluding swap and commission.
Thank you!
 

When trying to test on usdjpy I get a message like this:

2011.02.19 12:47:30     Tester  USDJPY: there were 1006 attempts to get history info from server
2011.02.19 12:47:30     Tester  USDJPY: there were 1005 attempts to get history info from server
2011.02.19 12:47:30     Tester  USDJPY: there were 1004 attempts to get history info from server
2011.02.19 12:47:30     Tester  USDJPY: there were 1003 attempts to get history info from server
2011.02.19 12:47:30     Tester  USDJPY: there were 1002 attempts to get history info from server
2011.02.19 12:47:29     Tester  USDJPY: there were 1001 attempts to get history info from server

and seems to go on indefinitely, when it got to 3000 I turned it off. Tests tried to switch on 2010.10.01 - 2010.10.10, only opening prices.

bild 401

Also can't get another remote agent to start, here's the log:

QD      0       5.0.11.26       19:43:02        login (build 401)
CR      0       Network 19:43:06        17928 bytes of optimization passes loaded
QG      0       Network 19:43:06        16 bytes of input parameters loaded
IL      0       Network 19:43:11        14200 bytes of input parameters loaded
FD      0       Tester  19:43:11        initial deposit 10000.00 USD, leverage 1:500
IO      0       Tester  19:43:11        successfully initialized
IN      0       Network 19:43:11        32 Kb of total initialization data received
RH      0       Tester  19:43:11        optimization pass 7633 started
QS      0       TesterAgent     19:43:11        AMD Turion X2 Dual-Core Mobile RM-75, 3837 MB, PR21
CR      0       Symbols 19:43:13        GBPUSD: symbol synchronized, 2904 bytes of symbol info received
LF      0       Tester  19:44:23        tester thread stopped
NP      3       Debug   19:44:23        No data synchronized. 301968 bytes read
OE      2       History 19:44:23        GBPUSD: contains 0 M1 records
RG      0       Tester  19:44:23        GBPUSD,H1 (MetaQuotes-Demo): 1 minutes OHLC ticks generating. OnTick executed on the bar begin only
EH      2       History 19:44:23        GBPUSD: contains 0 M1 records
Документация по MQL5: Стандартные константы, перечисления и структуры / Константы индикаторов / Ценовые константы
Документация по MQL5: Стандартные константы, перечисления и структуры / Константы индикаторов / Ценовые константы
  • www.mql5.com
Стандартные константы, перечисления и структуры / Константы индикаторов / Ценовые константы - Документация по MQL5
 
Jager:

Some agents won't start remotely, here's the log:

Although via localhost this agent works locally.

What could be the reason?

I have encountered a similar problem - it turned out that the versions of terminals are different (terminal from MQ upgraded, terminal from A-ri did not). Including if local agent is installed for another terminal, which didn't update. The "error" appeared after the 387th build, and there it was:

14. MetaTester: Оптимизирована передача параметров тестирования

That's probably why it couldn't connect to agents whose build was lower than 387

 
notused:

I have encountered a similar problem - it turns out that the versions of the terminals are different (the terminal from MQ has updated, but the terminal from A-ri has not). Including if the local agent is installed for another terminal, which is not upgraded. The "error" appeared after the 387th build, and there it was:

That's probably why it couldn't connect to agents with a build lower than 387

QD      0       5.0.11.26       19:43:02        login (build 401)