• Overview
  • Reviews
  • Comments
  • What's new

Close Assistant

Close Assistant is a utility for monitoring and closing a set of positions placed by the trader or Expert Advisor. It closes filtered positions and removes pending orders in specified time or level or when a certain virtual profit or loss of the total positions is reached. Close Assistant uses Zero Profit Lock function to save deposit when total profit falls to zero. Profit and loss levels can be set in fixed amount of account currency or percentage of balance. The EA only monitor and work on filtered positions and don’t change anything else. It can use different ways of filtering positions include filter by symbol, position type, opening date range, comment, magic number and ticket number. The Expert Advisor also displays three quick trading buttons for removing take profits and stop losses and closing of filtered positions. Additional info on the EA status is displayed in the graphical panel.


Input parameters

  • Calculation Settings
    • Add Commission And Swap In Total Profit – add commission and swap for profit calculations
    • Include Pending Orders – if true, it takes into account pending orders
  • Filter Settings
    • Only Check Current Symbol – filter positions of current symbol or positions of all symbols
    • Filter by Position Type – filter buy/sell or both types of positions
    • Filter by Date Range – enable filter by opening date range
    • Date Range Start and End - choose only positions opened in this date range (between start and end date)
    • Filter by Comment – enable filter by comment
    • Include Text in Comment (case sensitive) – only positions which included this text in its comment are selected
    • Filter By Magic Number – enable filter by magic number
    • Magic Numbers – only positions that magic number included here are taken into account. Magic number must be written like [123]. You can add any number of magic numbers like [123][224][5041]…
    • Filter By Ticket Number - enable filter by ticket number
    • Ticket Numbers - only positions that ticket number included here are taken into account. Ticket numbers can be written like [123][224][5041]…
  • Auto Close Options
    • Auto Close Enabled – if false, all Auto Close functions will be off, no matter that is enabled or not.
    • By Min Profit Activation – enable checking minimum of total profit
    • Min Profit - If total profit of filtered position reached to this minimum profit, all positions are closed.
    • By Min Profit Percentage Activation / Min Profit Percentage – like above but with percentage of balance
    • By Max Loss Activation – enable checking maximum of total loss
    • Max Loss - If total loss of filtered position reached to this maximum loss, all positions are closed. If Max Loss is negative, the value is used to set lower range of profit.
    • By Max Loss Percentage Activation / Max Loss Percentage – like above but with percentage of balance
    • In Specified Time Activation – enable closing in specified time
    • Close Time/Time Base – specified closing time and its base
    • In Price Level 1 / 2 Activation – enable checking price level for auto close
    • In Price Level 1 / 2 Mode – mode of price level checking (Ask>, Ask<, Bid>, Bid<)
    • Price Level 1 / 2 – if price level reached to this level, all positions are closed
  • Zero Profit Lock Options
    • Zero Profit Lock Enabled – enable zero profit lock for save deposit
    • Profit for Lock on Zero Profit – if profit is reached to this amount, zero profit lock is activated. After activation, if profit falls to zero, all filtered positions are closed
    • Profit Percentage for Lock on Zero Profit – like above but in percentage of balance
  • Order Configs
    • Close Request Slippage (in points) – close request deviation
    • Max Try Number To Close Position
    • Wait Between Requests (in seconds) – wait for sending next request if first one is failed
  • Notification Settings
    • Error Notification Type – how expert inform you about any run time error (Email/Alert/Message Box/Push Notification)
  • GUI Settings
    • Panel Refresh Interval Time (in milliseconds)
    • Panel Position In Chart – position of the panel in chart
    • Scale (0.5-3) – panel drawing scale
    • Show Orders Table - show the filtered positions in panel
    • Profit Indicator Led Refresh Rate in Seconds
    • Display Profit Font Size
    • Panel Horizontal/ Vertical Offset - Offset of the Panel
    • Panel Top for Lower Positions
    • Panel /Positions Count Labels B.G Colors/Header, Text, Label, Up, Zero,Down Color – panel colors

Feel free to contact me

No reviews
Version 1.30 - 2018.02.14
1. Resolved buttons graphical problems
2. Resolved issues with numerous trades
3. Improved performance