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?
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).
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?
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?
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!
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 .
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 ? :
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 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?
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 open/close better as described in Trading in MQL5 is easy in "CTrade - a handy class for trading".