Forum

Need some help implementing an array sort in MQL5

I've just started playing around with MT5 and I'm loving the additional functionality in the strategy tester - in fact, I'm building some EAs that I've been putting off due to the inability to test them under MT4. Anyway, I've hit a bump in the road and I'm hoping someone can show me how to achieve

Any Strategy Tester experts able to assist?

I've developed an EA - the latest of many! - that I'm checking in the MT4 Strategy Tester (build 445). The strategy is essentially grid-based and not affected by spread changes to any noticable extent. For speed, I've been back-testing on the M5 timeframe and using the "Control points" modeling