ANYONE KOW HOW TO CREATE A EA OR SOMETHING THAT CAN DELETE ALL THE CURRENT TRADES AND ENTRY ORDERS ON AN ACCOUNT AT 1 TIME?

 
https://www.mql5.com/en/code/8388
 
Roger wrote >>
https://www.mql5.com/en/code/8388

Thanks, anyone got one for pending orders?

 

find attached modified source via TechTrader 's link

Will close/delete ALL market/pending orders on ALL charts running on currently logged into a/c

Test Run: Terminal > Experts Tab output included in source file.


my getOutClause:

0. ANY public code can prove hazardous to your account.

1. please test yourself on demo account by placing many and various types of order types...

2. satisfy yourself that this script will work for you prior to using on LIVE account IE, it is your total responsibility should the script not work as you expected...

3. IF not satisfied THEN hack to suit...; GOTO (1)

4. it worked? then time to smile :o)

Files: