faster method is to write a script and then drag it onto the chart.
I also enclosed a script to close individual orders by dragging a script over them
i=0; while(i<OrdersTotal()) { OrderSelect(i,SELECT_BY_POS); if(OrderSymbol()!=Symbol) // only close trades for chart symbol { i++; // skip orders for different symbols continue; } OrderClose(OrderTicket(), etc...); }
I also enclosed a script to close individual orders by dragging a script over them
Files:
closeonchart.mq4
3 kb
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
I know that I can manually close positions one at a time by right clicking on each open order listed under the Trade tab in thTerminal window and, then, stepping through the "Close Trade" dialog for each open trade--but this is time consuming if you are trying to exit numerous positions. Is there a faster method?
jvcsr1