DislikedHere's my CloseAll script (Version 2.01 - 22-July-2011) // Set the optoin prameter to the type of clsoing you want: // 0- Close all (instant and pending orders) (Default) // 1- Close all instant orders // 2- Close all pending orders // 3- Close by the magic number // 4- Close by comment // 5- Close orders in profit // 6- Close orders in loss // 7- Close not today orders // 8- Close before day orders {file}Ignored
For 1st option, eg pips=1000 (so script will close ALL opened trades when TOTAL pips=>1000pips)
2nd option, eg profit=$500 (script will close ALL opened trades when TOTAL P/L$ for these trades => $500)
3rd option, eg, profit%=2. Calculation is each trade P/L ($)/account balance/100. Thus when trade's P/L=$100 and acct balance = $5000, thats 2%, so close this trade. The script will just go thru each and every open trade and close it automatically. Its become an EA but just doesnt trade