Close All Orders by Current Symbol:
This EA will show the button that can used to close all orders by the current chart symbol.
Author: Gusti Risyadi Noor
Thanks for your correction.
That miss for SELL order. EA just close BUY order.
Modfy this code (line 90):
if(OrderType()==OP_BUY) to if(OrderType()==OP_BUY || OrderType()==OP_SELL)
Bugs: EA can't close SELL order
Sir the robot is closing all the order in all the pairs in same time. I have tested it. It is not closing the orders by Symbol. Please check.
Thanks Sir, this is the right code.
Change this line
if(OrderSelect(i,SELECT_BY_POS) && OrderSymbol()==Symbol())