planetman / Publications
Forum
For loop and jumping orders
Hello guys, I use the standard for(int i = OrdersTotal() - 1; i >= 0; i--) { if(OrderSelect(i, SELECT_BY_POS)) { if(Symbol() == OrderSymbol() && magicNumber == OrderMagicNumber()) ......... to pass every order from the last opened to the first opened but if I want to do the