Errors, bugs, questions - page 183

 
xeon:

After updating to build 350 (28 Oct 2010) the tester stopped working.

My tester works only once and then crashes when optimised. I haven't figured it out yet, maybe it's my fault.
 
xeon:

After updating to build 350 (28 Oct 2010) the tester stopped working.

log attached.

CPU and memory on the laptop:

/- Intel seleron M 1.50 GHz 1014 -/

system - windows xp proff 32

Reinstalled everything in a different folder, still not working.

Same here, colleague! Already wrote above...

<log>

EM 0 Core 1 14:35:21 agent process started
QN 0 Core 1 14:35:21 connecting to 127.0.0.1:3000
RI 0 Core 1 14:35:22 connected
IS 0 Tester 14:35:22 GBPUSD,M1 (MetaQuotes-Demo): testing of experts\third_a.ex5 from 2010.10.04 00:00 to 2010.10.28 00:00 00:00 to be started
NR 0 Core 1 14:35:22 authorized (agent build 350)
QL 0 Core 1 14:35:24 general synchronization completed
EG 0 Core 1 14:35:24 3124 bytes of account info loaded
EM 0 Core 1 14:35:24 3768 bytes of group info loaded
RJ 0 Core 1 14:35:24 7170 bytes of tester parameters loaded
ES 0 Core 1 14:35:24 76 bytes of selected symbols loaded
QG 0 Core 1 14:35:24 expert file added: Experts\third_a.ex5. 28899 bytes loaded
OQ 0 Core 1 14:35:24 initial deposit 10000.00 USD, leverage 1:100
LK 0 Core 1 14:35:24 successfully initialized
FM 0 Core 1 14:35:24 55 Kb of total initialization data received
PG 0 Core 1 14:35:24 performance: 41
RM 0 Core 1 14:35:24 GBPUSD: symbol synchronized, 2904 bytes of symbol info received
CH 0 Core 1 14:35:28 GBPUSD: history for 2009 year synchronized
FP 0 Core 1 14:35:30 GBPUSD: history for 2010 year synchronized
RD 0 Core 1 14:35:30 GBPUSD: history synchronization completed [3833 Kb]
PN 0 Core 1 14:35:31 GBPUSD: load 3833 Kb of history data to synchronize
QH 0 Core 1 14:35:31 GBPUSD: history synchronized from 2009.01.02 to 2010.10.28
EJ 0 Core 1 14:35:32 disconnected
</log>

 
Ashes:
On another machine (netbook) even more interesting: after calling the tester there is no settings selection, there is only tab with optimizable variables (from previous testing)!

Got that sorted out! At one time the netbook was set to a resolution of 1024x768 (instead of the standard 1024x600). The tester was enlarged to the maximum size. After returning to the standard resolution, the tabs in the tester were below the screen...

By the way, the tester (build 350) works on a netbook.

Intermediate summary: out of three machines, the tester (build 350) works on two. There is a suspicion that it doesn't work on machines with a single core, the symptoms are similar to a similar problem with xeon.

 
Ashes:

Got that sorted out! At one time the netbook was set to a resolution of 1024x768 (instead of the standard 1024x600). The tester was enlarged to the maximum size. After returning to the standard resolution, the tabs in the tester were below the screen...

By the way, the tester (build 350) works on a netbook.

Intermediate summary: out of three machines, the tester (build 350) works on two. There is a suspicion that it doesn't work on machines with a single core, the symptoms are similar to a similar problem with xeon.

I seem to have one, but programmatically it looks like two. I'll have to run it on an AMD processor, there's definitely one...
 

Developers.

I remember asking this question, but I will say it again. Will it be possible to add CADJPY to the list of currencies? It is a synthetic currency pair, both base symbols are present, so there should be no problems.

Or did I miss something?

 

Hi all! Help me figure out how to deal with enumerations.

enum имя_перечислимого_типа
  {
   список_значений
  };
 

Task: Create an enumeration list that can be used in external parameters, like this

input ENUM_TIMEFRAMES     TF = PERIOD_CURRENT;
 
sergey1294:

Hi all! Help me deal with enumerations.

Task: Create a transfer list so that it can be used in external parameters, like this

What's the problem?

Declare an enum before declaring an input parameter.

 
komposter:

What's the problem?

Declare the enumeration before the input-parameter declaration.

Thank you! I will try it now.
 
I tried it, it worked, but for some reason there is no drop-down list, but the numeric values of the enumeration from 0 and so on are displayed. How can I make a drop-down list or is this not possible?
Документация по MQL5: Основы языка / Типы данных / Целые типы / Перечисления
Документация по MQL5: Основы языка / Типы данных / Целые типы / Перечисления
  • www.mql5.com
Основы языка / Типы данных / Целые типы / Перечисления - Документация по MQL5
 
sergey1294:
I tried it, it worked, but for some reason there is no drop-down list, but the numeric values of the enumeration from 0 and so on are displayed. How can I make a drop-down list, or is this not possible?

Like this:
enum DebugInfoLevel
{
        DBG_NONE        = 0,    // Don't show any debug info
        DBG_CRITICAL    = 1,    // Show info about critical errors only
        DBG_ERRORS      = 2,    // Show info about all errors
        DBG_INFO        = 3,    // Show main info (not very frequent)
        DBG_ALL         = 4,    // Show all debug info
        DBG_DEBUG       = 5     // Show very detailed debug info
};