Errors, bugs, questions - page 1844

 
kaus_bonus:

and the direction of the transaction is still not fixed?

print COPY_TICKS_INFO. 2 ticks asc passes in 1ms, are the ticks duplicated?

print COPY_TICKS_TRADE. flag 120, i.e. direction N/A

If you see N/A, leave this server! The ticks there are not correct. The build is old.

On the reals of major FORTS brokers all is well.

 
Alexey Kozitsyn:

If you see N/A - leave this server! The tics there are not correct. The build is old.

On the reals of major FORTS brokers everything has been fine for a long time now.


I don't even know whether to cry or laugh, because the data and a screenshot from the demo metaquotes)) so what happens, the developers have an old build of the server?
 
kaus_bonus:

Well now I do not know whether to cry or laugh, because the data and a screenshot from the demo methaquot)) so what happens, the developers have an old build of the server?
Yes, I am aware that MQ does not want to fix their own servers. But they also do not want to do many other things, so. will wait until they get their hands on it.
 
kaus_bonus:


You should not worry, open a chart on the exchange website and compare it. what else to compare it with but the original source.

http://moex.com/ru/index/RTSI/technical/

Apparently, the quotes here are the same as MT5, so more questions to QuickBooks

I have no idea how to compare them. It's a scam all around.
 
-Aleks-:

Look for yourself - is there a gap on March 16 on the diaries in MT5?

There is one screenshot taken there - just a minimised MT5 window.

The current values are the same.


The index shown in the screenshot is the same as yours, no?

 

Can anyone suggest how to return an array from a function in MQL other than using a buffer from an array as a function argument?

void func(double &buff[]) { /*тут заполняем массив результатами вычислений*/ }

I don't like this option, I would like to use C++ style, but it seems that arrays in MQL don't have pointers.

 
prostotrader:

Thank you.
 
Konstantin:

Can anyone suggest how to return an array from a function in MQL other than using a buffer from an array as a function argument?

I don't like this option, I would like to use C++ style, but it seems that arrays in MQL don't have pointers.


OOP may help.
 
Sergey Dzyublik:

OOP is your help.

how?
 
A request to the developers.
The possibility to save some variables or arrays when switching timeframes, so that their re-initialization would not happen, is very missing. Or can it be done somehow throughOnDeinit by defining a REASON_CHARTCHANGEreason code?
I just have quite cumbersome time-independent calculations in the body of my program and I don't want to recalculate them every time. I feel we miss some special type of global variables, which aren't reinitialized when timeframe changes. I've learned how to do it with simple variables without global variables in the terminal, but with structures or arrays I have no idea how to do it, and it seems that such a possibility simply does not exist. You can, of course, use resources, but that's a very messy way to do it.
Reason: