
You are missing trading opportunities:
- Free trading apps
- Over 8,000 signals for copying
- Economic news for exploring financial markets
Registration
Log in
You agree to website policy and terms of use
If you do not have an account, please register
Briefly.
Functions of system libraries for x86 (32 bits) processes have a special wrapper through which they are passed to x64, executed and returned back to x86.
To make it brief, the issue of 32/64 bits has become acute in MT5.
this is a very important issue and it's about time it was addressed.
or add a libraries64 folder so that the terminal knows where to get the libraries from
or add some way of dispersing DLLs into the Windows folders System32/SysWow64
or let them #ifdef
https://www.mql5.com/ru/forum/6729#comment_199764
ZS.
application to SD #381730
Array of any dimensionality (for clarity, let's say, limit it to ^16).
The dimensionality is set at creation by the number of parameters, as for normal arrays.
XXArray xx2(5,7), xx5(12,12,16,16,8);
Indexers should work for all dimensions ( A[i][j][k][n][m]....)
Well, since the community is silent, I'll continue...
An outline of an N-dimensional (double) array class and a test to test it.
The dimensionality is described by (int) array in the constructor.
The second variant is an N-dimensional (double) array. The structure of the array is also specified in the constructor by another (int) array.
This variant is a bit faster than the previous one. And in this variant it is easier to create operations with subarrays.
The second variant is an N-dimensional (double) array. The structure of the array is also specified in the constructor by another (int) array.
This variant is a bit faster than the previous one. And in this variant, it is easier to create operations with subarrays.
Yurich, you are a cool guy. I was distracted from the forum for a couple of days, and you have already made a couple of variants.
First impression - first variant is fraught with glitches at incorrect call with less number of indexes: for example double x=A[i][j][k]; "three-dimensional call" for four-dimensional array will return double as no big deal, but from any other position of array which user wanted.And it's not obvious how to trace and handle such errors. But the first implementation's indisputable advantage is economy in memory. The second way is much more wasteful. But, as you have correctly noticed, you can try to get through to subarrays in it and all the difficulties are quite manageable in this case.
I've got some ideas, but I won't get to free time until the night before, if I get there at all. But we'll get there, I promise. :)
--
Basic idea: use one more class, something like "left indexes controller", and the rightmost index to process by main class (if it will work. If not, then one more class for the right index). In doing so, the base array double (one-dimensional and the only one) should be made a member of the main class CNArray. Something like this.
Tx. First impression - the first variant is fraught with glitches at incorrect call with less number of indexes: i.e. for example double x=A[i][j][k]; "three-dimensional call" for four-dimensional array will return double as if nothing had happened, but at the same time from the array position which user wanted. Moreover, to track down and handle such errors is not visible in what way.
I've been playing around with Yurich's first method, and it seems to be possible to control the array rank this way:
Task:
- To pass an array of numbers from the Expert Advisor to the indicator.
Requirements.
Do not use
- chart events,
- files,
- global variables (also known as files),
- dll
Task:
- To pass an array of numbers from the Expert Advisor to the indicator.
Requirements.
- Do not use chart events, files, dll for data transfer
Then the named channels remain.
Task:
- To pass an array of numbers from the Expert Advisor to the indicator.
Conditions.
Do not use
- chart events,
- files,
- global variables (aka files),
- dll
There is no one to do it :)
Then I propose another variant - use subchart andChartSetString()andChartGetString() functions.