Forum

Why the CopyBuffer step will take a lot of time?

I tested my EA system and found that when calling the system indicator, the CopyBuffer step will take a lot of time, and the time for calling the number of 1000 and 10 is the same. Does anyone know what causes this problem

Does anyone know how to configure the opencl environment?

The graphics card is NVDIA GTX550TI, the latest driver of this model is installed, and CUDA 9.1 is also installed, but after opening MT5, the following picture is still displayed, please advise how to install it to use opencl normally, thank you

A new 20-day moving average will keep appearing during the test

In the test, the 20-day moving average will be refreshed continuously. I have repeatedly debugged it and cannot find the reason. Who has encountered this situation

Newbie question: Is the official indicator calculated by BID or ASK price?

I guess the problem in the EA I'm writing now may be related to this. Does anyone know the answer to this question? thanks for answer

Why have the difference between real market and backtesting?

After my EA is connected to the VPS, there is a certain difference between the order opened in the real market and the backtest of the original strategy the next day. I use the ticks backtest. Some orders are very accurate,from one second or one point , but some orders are not opened. The VPS I use

The log keeps reporting errors in MT5. Does anyone know this error code?

GDI cache pen insertion error, cache size: 22, cache max: 503, Brush once per TICK, does anyone know what the problem is,Thank you!

Overloading operator, why does it keep prompting error “operator> has invalid parameters count”?

Where is the error in this code? Thank you! struct bar_all { datetime time; double value ; }; class test { public : test() { } ~test() {} bool operator >( const bar_all &a, const bar_all &b); }; bool test

Does mql5 support indefinite parameter functions?

For example, how to set multiple parameters for a function? void f( double & a, double &b...) { }

Can magic be modified?

I want to add the magic number to the manual open position list, but what I wrote doesn't seem to work. See if there is a solution? int total = PositionsTotal (); for ( int i = total - 1 ; i >= 0 ; i--) { if ( PositionGetString ( POSITION_SYMBOL ) == _Symbol && PositionGetInteger (

who knows how to used structure member variable name as a function parameter?

I want to make a function that can automatically sort according to the high, low, open, and close values in the mqlrates structure, but when calling the function, I find that the member variable name cannot be directly used as a function parameter. void getdata::Get_struct_sort(Type_Name