
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
I started to doubt a lot about the functionality of this design. No matter how hard I tried to understand the logic of the block, I couldn't (and I tried hard)....
What is the doubt? It counts correctly.
What's the problem? He's counting correctly.
And now for the hocus-pocus
1. In MT4 we write this line and execute the code on H4
Then we do the same with MT5 and the string.
as a result we get 8.
2. After that we do exactly the same operation, but with D1.
As a result MT4 returns - 1 and MT5 returns 0.
Now who can tell me how much this implementation of iBarShiftMQL4 corresponds to the necessary...
Try this one:
Again, have you read about the function you're writing about???
on mcl4 it is written exactly
For the current chart, the information about closing prices is in the predefined Close[] array.
and you have....
what are the moderators looking at...
Thanks, CoreWinTT.
Fixed functions: iClose, iLow, iHigh, iOpen, iTime, iVolume. They return 0 instead of -1 in case of error.
and when will they be in the library???
so that they were at least
Because if you open it, the question arises, and the meaning of the above written????.
and also at least collect the functions for which all questions are solved and proceed to study errors in the rest.
the other day, someone suggested a clever means of creating an μl4 environment
by using arrays of
but it will be difficult to use them because they have const state.
You can't create global buffers
because they must be declared with the help of
SetIndexBuffer
Associates the specified indicator buffer with a one-dimensional dynamic array of type double declared globally.
but only double type, and volumes and arrays of date-time type will not pass.
The only thing left is to initiate these arrays inside the mql4 module.
which is practically equal to rewriting the indicator....
and when will they be in the library???
and when will they be in the library???
so that they were at least
Because if you open it, the question arises, and the meaning of the above written????.
and also at least collect the functions for which all questions are solved and proceed to study errors in the rest.
There are a lot of solutions on this topic in private libraries for a long time.
I, for example, have been using IsTesting() and similar things from the very beginning, also everything has been solved with date and time for a long time (of course, there are other solutions)....
Another thing is the presence of such "Outdated solutions" in MT5 itself...