COOL CLOSE EA
This EA is intended to help traders manage all their orders.
Specify targets for the EA to close orders:
Or use a deadline time by time_close parameter.
If traders just want to manage one order, they can use ticket parameter to specify that order for the EA to manage.
If traders want to manage many orders with the same symbol, they can assign ticket=0 and use symbol parameter to specify that orders.
Example: if a trader assigns symbol=GBPUSD, then the EA will scan all orders with symbol "GBPUSD" on the market and manage them, as well as close them by targets specified by the trader.
If traders want to manage all orders, they just have to assign a blank symbol (don't need to fill in a value for this parameter).
Note: the EA just scans specified orders one time when loading starts. When the EA is complete closing all specified orders, it will show a message box to inform the trader and stop running. If traders want it to work a new session, they just need to reload it, choose parameters they want and run it again.
A trader can specify targets for the EA to manage orders:
There are two management modes that can be chosen by total_mode parameter:
If total_mode = true, the EA will calculate all profit of all specified orders by its total amount. If that total amount exceeds max_profit or is less than max_loss, the EA will close all this specified orders.
If total_mode = false, the EA will manage specified orders one by one. That means that if a trader has any order with a profit more than max_profit or less than max_loss, the EA will close that order only.
A trader also can use a deadline time to close all specified orders by time_close parameter.
time_close includes: year/month/day hour:minute. When time exceeds deadline time, the EA will close all specified orders (this function helps traders to close specified orders before weekend if necessary).
To turn off the deadline time function, traders just have to assign use_time_close parameter to false (use_time_close=false).
With this EA, traders can work with many charts and many modes together to manage many orders in many ways.
If you want to add more features, you can contact me:
- skype: cuongph149
- mail: firstname.lastname@example.org
I will gladly accept your feedback.