Errors, bugs, questions - page 365

 
Yedelkin:
It's OK: "30. MetaTester: Added processing of custom events for MQL5 programs in the tester."

Well then, everything is really in order and we can start creating and testing strategies.

And for the championship, if anything, we can also start preparing, it's just a matter of the rules of the new championship...

PS

For developers.

We have certainly fixed the processing, but who will be able to check the results?

The following events will be sent out

//Messages - Timer
string MsgTimerRolloverHour  = "Rollover Hour (№ %d): Processing of statistical information.";
string MsgTimerRolloverDay   = "Rollover Day (№ %d): Processing of statistical information.";
string MsgTimerRolloverWeek  = "Rollover Week (№ %d): Processing of statistical information.";
string MsgTimerRolloverMonth = "Rollover Month (№ %d): Processing of statistical information.";
string MsgTimerRolloverYear  = "Rollover Year (№ %d): Processing of statistical information.";

//Messages - Timer
int UserEvent_TimerRolloverHour  = CHARTEVENT_CUSTOM+11; //TimerRolloverHour
int UserEvent_TimerRolloverDay   = CHARTEVENT_CUSTOM+12; //TimerRolloverDay
int UserEvent_TimerRolloverWeek  = CHARTEVENT_CUSTOM+13; //TimerRolloverWeek
int UserEvent_TimerRolloverMonth = CHARTEVENT_CUSTOM+14; //TimerRolloverMonth
int UserEvent_TimerRolloverYear  = CHARTEVENT_CUSTOM+15; //TimeRolloverYear

The following comes through

2011.04.16 15:41:58     Core 1  2010.01.10 07:00:00   New event ID 11 - Rollover Hour (№ 223): Processing of statistical information.
2011.04.16 15:41:57     Core 1  2010.01.10 06:00:00   New event ID 11 - Rollover Hour (№ 222): Processing of statistical information.
2011.04.16 15:41:57     Core 1  2010.01.10 05:00:00   New event ID 11 - Rollover Hour (№ 221): Processing of statistical information.
2011.04.16 15:41:57     Core 1  2010.01.10 04:00:00   New event ID 11 - Rollover Hour (№ 220): Processing of statistical information.
2011.04.16 15:41:57     Core 1  2010.01.10 03:00:00   New event ID 11 - Rollover Hour (№ 219): Processing of statistical information.
2011.04.16 15:41:57     Core 1  2010.01.10 02:00:00   New event ID 11 - Rollover Hour (№ 218): Processing of statistical information.
2011.04.16 15:41:57     Core 1  2010.01.10 01:00:00   New event ID 11 - Rollover Hour (№ 217): Processing of statistical information.
2011.04.16 15:41:57     Core 1  2010.01.10 00:00:00   New event ID 13 - Rollover Week (№ 2): Processing of statistical information.
2011.04.16 15:41:57     Core 1  2010.01.10 00:00:00   New event ID 12 - Rollover Day (№ 9): Processing of statistical information.
2011.04.16 15:41:57     Core 1  2010.01.10 00:00:00   New event ID 11 - Rollover Hour (№ 216): Processing of statistical information.
2011.04.16 15:41:57     Core 1  2010.01.09 23:00:00   New event ID 11 - Rollover Hour (№ 215): Processing of statistical information.
2011.04.16 15:41:57     Core 1  2010.01.09 22:00:00   New event ID 11 - Rollover Hour (№ 214): Processing of statistical information.
2011.04.16 15:41:57     Core 1  2010.01.09 21:00:00   New event ID 11 - Rollover Hour (№ 213): Processing of statistical information.
2011.04.16 15:41:56     Core 1  2010.01.09 00:00:00   New event ID 12 - Rollover Day (№ 8): Processing of statistical information.

Three questions arise:

1. Where did CHARTEVENT_CUSTOM go and why is ID 11 returned instead of 1011?

2. If the rule of ID generation is no longer valid, why didn't you write about it right away in the description of the new build?

I mean this.

customEventID=CHARTEVENT_CUSTOM+1;
EventChartCustom(0,customEventID-CHARTEVENT_CUSTOM,0,0,message);

3. Need to write in Service Desk or what?

 

Addendum

And on the demo it looks something like this

2011.04.16 15:41:44     123456 (EURUSD,D1)  Stoping: Stoping timer of trade system.
2011.04.16 15:41:44     123456 (EURUSD,D1)  Timer: Timer successfully is stopped.
2011.04.16 15:41:44     123456 (EURUSD,D1)  Stoping: Stoping of the trade system.
2011.04.16 15:41:47     123456 (EURUSD,D1)  Initialization: Loading system information.
2011.04.16 15:41:47     123456 (EURUSD,D1)  Initialization: Changing the template based on the parameters of the trading system.
2011.04.16 15:41:47     123456 (EURUSD,D1)  Initialization: Loading of information on the trade account.
2011.04.16 15:41:47     123456 (EURUSD,D1)  Initialization: Activation timer of the trade system.
2011.04.16 15:41:47     123456 (EURUSD,D1)  Timer: Timer successfully is activated.
2011.04.16 15:41:47     123456 (EURUSD,D1)  Trade system: Processing...
2011.04.16 16:00:00       123456  (EURUSD,D1)    New event ID 1011 - Rollover Hour (№ 1): Processing of statistical information.
So question 2 is removed from the agenda...
 
Interesting:

And for the championship, if anything, you can also start preparing...

As they say, "Good luck in your endeavours!"
 
Yedelkin:
As they say, "Good luck in your endeavours!"
Thanks of course, but I'd rather wait a month or two. Let a couple of builds change, maybe there will be fewer obvious bugs...
 
Interesting:
Thanks of course, but I'd rather wait a month or two. Let some five builds change, maybe there will be fewer obvious bugs...
4 months to get ready for the contest? Is there enough time?
 
Yedelkin:
In four months to prepare for the competition? Is there enough time?
Better in 4 months on "normal" builds than fixing your own and others' bugs later.
 
Interesting:

1. Where did CHARTEVENT_CUSTOM go and why is ID 11 returned instead of 1011?

Checked my demo. OnChartEvent() gives id with CHARTEVENT_CUSTOM.
 
Interesting:
Better for 4 on the "normal" builds, than to fix their own and others' bugs.

There aren't that many 'bugs' that come to light. In the vast majority of cases, the platform is stable. Besides, no one guarantees that a bug concerning your program will be detected for you by someone else. And that by the moment of launch of your training the builds will be "normal" in your understanding :) . Of course, the "master is the master".

 
Yedelkin:

There aren't that many 'bugs' that come to light. In the vast majority of cases, the platform is stable. Besides, no one guarantees that a bug concerning your program will be detected for you by someone else. And that by the moment of launch of your training the builds will be "normal" in your view :) . Of course, you are the master of the game.

1. Even if my Expert Advisor has 100K lines, I will have to do it within 4 months. The main thing is to ensure that the trading conditions best suit the strategy.

For now I am focusing on the rules of 2010, but I want something more.

2. Of course there are quite a few bugs, but if anything, they cannot be avoided by the FUCKING HORSE, and I think that closer to the start of the Championship the developers should make a visualization and add new features.

 
Interesting:

1. Even if the Expert Advisor has 100K lines in 4 months, it should work. The main thing is that the trading conditions should suit the strategy best.

I am still guided by the rules of 2010, but I want something more.

2. Of course there are not too many bugs, but I don't know how to avoid them, and I think that the Championship developers should prepare visualization and add new features near the beginning of the Championship.

OK, I see. For me, the main thing is to make the strategy best suited to the trading conditions. But that is the area of outlook :) And what other new features, apart from the trade event structure, do you expect?

By the way, in my tester CHARTEVENT_CUSTOM is also missing, but I get the old error from one of the classes. So I'll look into whose side the problem is on.

Reason: