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.
Fixed. Please, try this.
CArrayDouble::DeleteRange(int from, int to)
when pass in from==to, it does not delete.
Example, CArrayDouble a; a.Add(1); a.Add(2);
when calling DeleteRange(1,1), it does not delete item 2. Please check other similar arrays.
CArrayDouble::DeleteRange(int from, int to)
when pass in from==to, it does not delete.
Example, CArrayDouble a; a.Add(1); a.Add(2);
when calling DeleteRange(1,1), it does not delete item 2. Please check other similar arrays.
Can someone explain what is Shift method in CArrayInt used for?
assume, 0,1,2,3
when I apply Shift(0,3), it returns 1,2,3,0. It looks like rotation of elements within an array.
If I want to rotate the other direction, 3,0,1,2:
I tried Shift(3,-3) , it returns 3,1,2,2,3,0.
Is this a bug?
Please check all other similar arrays as well.
Can someone explain what is Shift method in CArrayInt used for?
assume, 0,1,2,3
when I apply Shift(0,3), it returns 1,2,3,0. It looks like rotation of elements within an array.
If I want to rotate the other direction, 3,0,1,2:
I tried Shift(3,-3) , it returns 3,1,2,2,3,0.
Is this a bug?
Please check all other similar arrays as well.
So anyone from Metaquotes, is this a bug?