Problem with EA in post #101 — I cannot post in the other thread, but maybe Steve or Simon reads this. The problem with the EA in post #101 is probably caused by the -1 in this line: for (int cc = 0; cc < OrdersTotal() - 1; cc++) This line is ...