Errors, bugs, questions - page 1102

 
MetaDriver:
with a probability of 99.9 %.

No, it's not. Guys. There is a working version of the terminal installed on this system. It was installed on this particular machine.
Well, you know the problem when the terminal won't install, but after reinstalling the operating system everything works.

But what is the cause of this malfunction? What to look at? Maybe debugging or whatever it's called? By reading a memory dump to find out what's causing the crash?

This is the data in the system log...

Event Type: Error

Event source: Application Error

Event Category: None

Event code: 1000

Date: 05.02.2014

Time: 21:17:04

User: N/A

Computer: VANYA

Description:

Error mt4setup (2).exe, version 5.0.0.883, module mt4setup (2).exe, version 5.0.0.883, address 0x0001ec1a.

Data:

0000: 41 70 70 6c 69 63 61 74 Applicat

0008: 69 6f 6e 20 46 61 69 6c

0010: 75 72 65 20 20 6d 74 34 ure mt4

0018: 73 65 74 75 70 20 28 32 setup (2

0020: 29 2e 65 78 65 20 35 2e )

0028: 30 2e 30 2e 38 38 33 20 0.0.883

0030: 69 6e 20 6d 74 34 73 65 in mt4se

0038: 74 75 70 20 28 32 29 2e tup (2).

0040: 65 78 65 20 35 2e 30 2e exe 5.0.

0048: 30 2e 38 38 33 20 61 74 0.883 at

0050: 20 6f 66 66 73 65 74 20

0058: 30 30 30 31 65 63 31 61 0001ec1a

0060: 0d 0a .

 
cichiniov:

No no. Guys. A working version of the terminal is installed on this system. It was installed on this particular machine.

1) Which running version of the terminal is already installed?

2) And what kind of processor do you have anyway? Does it support SSE2 instructions?

 

Can you tell me if it is possible to disable the logging of this type of message during a test ? :

KQ      0       21:03:17.634    Core 1  2000.12.01 09:00:00   instant buy 0.26 EURUSD at 0.87370 (0.87320 / 0.87370 / 0.87320)
HN      0       21:03:17.634    Core 1  2000.12.01 09:00:00   deal #6099  buy 0.26 EURUSD at 0.87370 done (based on order #15320)
 CG      0       21:03:17.634    Core 1  2000.12.01 09:00:00   deal performed [#6099  buy 0.26 EURUSD at 0.87370]
DJ      0       21:03:17.634    Core 1  2000.12.01 09:00:00   order performed buy 0.26 at 0.87370 [#15320  buy 0.26 EURUSD at 0.87370]
OI      0       21:03:17.634    Core 1  2000.12.01 09:00:00   order canceled [#15319  sell limit 0.08 / 0.08 EURUSD at 0.87901]
PK      0       21:03:17.634    Core 1  2000.12.01 09:00:00   order canceled [#15318  sell limit 0.09 / 0.09 EURUSD at 0.87785]
RL      0       21:03:17.634    Core 1  2000.12.01 09:00:00   order canceled [#15317  sell limit 0.09 / 0.09 EURUSD at 0.87669]
CP      0       21:03:17.634    Core 1  2000.12.01 09:00:00   sell limit 0.17 EURUSD at 0.87578 (0.87320 / 0.87370 / 0.87320)
DN      0       21:03:17.634    Core 1  2000.12.01 09:00:00   sell limit 0.17 EURUSD at 0.87694 (0.87320 / 0.87370 / 0.87320)
OL      0       21:03:17.634    Core 1  2000.12.01 09:00:00   sell limit 0.18 EURUSD at 0.87810 (0.87320 / 0.87370 / 0.87320)
PH      0       21:03:17.634    Core 1  2000.12.01 10:30:40   order [#15321  sell limit 0.17 EURUSD at 0.87578] triggered
GD      0       21:03:17.634    Core 1  2000.12.01 10:30:40   deal #6100  sell 0.17 EURUSD at 0.87578 done (based on order #15321)
 ED      0       21:03:17.634    Core 1  2000.12.01 10:30:40   deal performed [#6100  sell 0.17 EURUSD at 0.87578]
CS      0       21:03:17.634    Core 1  2000.12.01 10:30:40   order performed sell 0.17 at 0.87578 [#15321  sell limit 0.17 EURUSD at 0.87578]
MP      0       21:03:17.634    Core 1  2000.12.01 10:46:40   order [#15322  sell limit 0.17 EURUSD at 0.87694] triggered
EL      0       21:03:17.634    Core 1  2000.12.01 10:46:40   deal #6101  sell 0.17 EURUSD at 0.87694 done (based on order #15322)
...
 
I downloaded the updated MQL4 help and was glad to see the

MQL4 Reference / Access to timeseries and indicators / Indexing direction in arrays and timeseries of CopyBuffer function. The MQL4 compiler in MetaEditor build 883 shows no function has been defined, I don't know it.

Will the function be available later and how soon?

 
I don't know if this has been raised or not, but! The optimiser in build 600 is crooked! I optimize EA parameters, choose the best of them and run it on the optimized area to see where the opening occurred and observe a completely different result at the end of the run! For example, the optimized result gives me $80 profit, but after running in the tester this result may be half as much!!! How it can be? Suggest where to go to fix it!
 
x100intraday:
I downloaded the updated MQL4 help and was pleased to see in the section

MQL4 Reference / Access to timeseries and indicators / Indexing direction in arrays and timeseries of CopyBuffer function. The MQL4 compiler in MetaEditor build 883 shows no function has been defined, I don't know it.

Will the function be available later and how soon?

The example with CopyBuffer in this help section was left by mistake, we will correct it. There is no CopyBuffer function in MQL4 (because it is based on working with indicator handles, they are not present in MQL4).

 

Please don't dump your mcl4 questions in this thread.

Make it a separate thread.

 

I use this code to open a position in MT5:

request.action = TRADE_ACTION_PENDING;
request.symbol = "EURUSD";
request.volume = 0.1;
request.price=NormalizeDouble(Ask+30*_Point,_Digits);
request.sl = NormalizeDouble(request.price - SL*_Point,_Digits);
request.tp = NormalizeDouble(request.price + TP*_Point,_Digits);
request.deviation=3;
request.type=ORDER_TYPE_BUY_STOP;
request.type_filling=ORDER_FILLING_FOK;
request.type_time=ORDER_TIME_SPECIFIED;
request.expiration=TimeTradeServer()+6*PeriodSeconds(PERIOD_H1);

OrderSend(request,result);


I am trying all this in the tester. If the price does not reach the required level, the order is never deleted, though it should after 6 hours. Why is the order not deleted after the specified time?

 
ingram:

I use this code to open a position in MT5:

...

I try the whole thing in the tester. If the price does not reach the required level, the order is never deleted, although it should after 6 hours. Why is the order not deleted after the specified time?

Try to better open/close positions as described in Trading Operations in MQL5, it's easy in "CTrade - a handy class for trading operations".
 
paladin800:
Try to open/close better as described in Trading in MQL5 is easy in "CTrade - a handy class for trading".
Thank you for the tip! Everything works properly through CTrade. Still not nice that the documented functions don't work as they should. (((( lost 4 hours yesterday trying to make my Expert Advisor work properly and it's not some random library, it is a documented native function. Very strange!
Reason: