IRash: That's not the point, I probably didn't ask the question exactly. So, in the tester, what is the tick value of the dollar futures? Is it the latest current value or the historical value?
The datasheet has the answer. You can write your own tester. In order to navigate in your own forest.)
on fozzy on fast forex one of the two (either one after some time) terminals hangs with the loss of all global variables since the 858 build. half a year before that no hangs at all. has anyone experienced this? how do i fix it and what should i check?
I have also experienced frequent (several times a week) hangs without any apparent reason (no active EA), but not only MT5, but also ME5 when editing. Only rebooting the computer helps.
A100: Тоже столкнулся с частым (несколько раз за неделю) зависанием без видимых причин (в отсутствии активных советников), но не только MT5, но и ME5 при редактировании. Помогает - только перезагрузка компьютера.
I tried disabling the EAs for a while, it still froze. now i've reinstalled everything and changed the tariff. if it still happens, i'll change it...
I found this bug, when copying from iStochastic handle using CopyBuffer, I check if copying is "correct" by condition if(CopyBuffer(...)<=0) - everything is OK, but if I set CopyBuffer(...)!=1, data is not copied. I check it via Comment. In Moving Average example from MQ, section "3.2. CheckForOpen() function" exactly !=1 is used (but it's for MA).
//if(CopyBuffer(StochHandle,MAIN_LINE,0,3,StochMain)!=1) // not workingif(CopyBuffer(StochHandle,MAIN_LINE,0,3,StochMain)<=0) // it is okreturn;
ArraySetAsSeries(StochMain,true);
//---//if(CopyBuffer(StochHandle,SIGNAL_LINE,0,3,StochSignal)!=1) // not workingif(CopyBuffer(StochHandle,SIGNAL_LINE,0,3,StochSignal)<=0) // it is okreturn;
ArraySetAsSeries(StochSignal,true);
IRash: Hello again! How do I determine programmatically where the EA is running: in the terminal or in the tester? Maybe there are some global variables?
You can use the MQL5InfoInteger() function. Follow this link - the enumeration of ENUM_MQL5_INFO_INTEGER contains...
I found this bug, when copying from iStochastic handle using CopyBuffer, I check "correctness" of the copying with condition if(CopyBuffer(...)<=0) return; - everything is OK, but if(CopyBuffer(...)!=1) return; - data is not copied. I check it via Comment. In example of Moving Average from MQ, section "3.2 CheckForOpen() function" exactly !=1 is used (but it's for MA).
Allow the use of cookies to log in to the MQL5.com website.
Please enable the necessary setting in your browser, otherwise you will not be able to log in.
You are signed in. Two-factor authentication has been disabled. Set it up again and scan a new QR code, or continue with two-factor authentication disabled.
Bild 871. The instrument is a Ukrainian Exchange Index futures. The volume values are some fantastic:
The volume value on this bar should be equal to 1 contract. I see value 110034815030
That's probably because you're using a demo account. Switch to a real one, the quotes there are adequate.
That's not the point, I probably didn't ask the question exactly. So, in the tester, what is the tick value of the dollar futures? Is it the latest current value or the historical value?
on fozzy on fast forex one of the two (either one after some time) terminals hangs with the loss of all global variables since the 858 build. half a year before that no hangs at all. has anyone experienced this? how do i fix it and what should i check?
A100:
Тоже столкнулся с частым (несколько раз за неделю) зависанием без видимых причин (в отсутствии активных советников), но не только MT5, но и ME5 при редактировании. Помогает - только перезагрузка компьютера.
I tried disabling the EAs for a while, it still froze. now i've reinstalled everything and changed the tariff. if it still happens, i'll change it...
I found this bug, when copying from iStochastic handle using CopyBuffer, I check if copying is "correct" by condition if(CopyBuffer(...)<=0) - everything is OK, but if I set CopyBuffer(...)!=1, data is not copied. I check it via Comment. In Moving Average example from MQ, section "3.2. CheckForOpen() function" exactly !=1 is used (but it's for MA).
Can you tell me why?
Hello again! How do I determine programmatically where the EA is running: in the terminal or in the tester? Maybe there are some global variables?
I found this bug, when copying from iStochastic handle using CopyBuffer, I check "correctness" of the copying with condition if(CopyBuffer(...)<=0) return; - everything is OK, but if(CopyBuffer(...)!=1) return; - data is not copied. I check it via Comment. In example of Moving Average from MQ, section "3.2 CheckForOpen() function" exactly !=1 is used (but it's for MA).
Could you tell me why?
FunctionCopyBuffer() from help:
Number of copied array elements or -1 in case of error.
When you copy 3 items - this function will return 3. Replace!=1 with!=3 and everything will work. But I would still use check<3.