bearhu:
Hi!
I found a serious bug (?):
double pbuffer[][2];
....
....
ArraySort( pbuffer );
code drops 'pbuffer' - parameter conversion is not allowed Levels.mq5 106 16
regards
ArraySort() only works for one dimension arrays. This makes sense, since with a 2D array it is not known what criterion should be used to declare that a whole row of numbers is greater or lesser than another row.
The ArrayObj class in the standard library could be used to define a 2D array that could be sorted.

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
Hi!
I found a serious bug (?):
double pbuffer[][2];
....
....
ArraySort( pbuffer );
code drops 'pbuffer' - parameter conversion is not allowed Levels.mq5 106 16
regards