![MQL5 - Language of trade strategies built-in the MetaTrader 5 client terminal](https://c.mql5.com/i/registerlandings/logo-2.png)
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
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?