Select language
Balance replenishment ALIEBAY


Discussion in 'Forex Market MQL5' started by James Goldman, Sep 8, 2020.

Recruitment of participants
40.00 USD
1 of 5
James Goldman
  1. James Goldman

    James Goldman Moderator
    Staff Member Organizer

    Jun 15, 2020
    Likes Received:


    This EA is intended to help traders manage all their orders.

    Specify targets for the EA to close orders:

    • max_profit
    • max_loss
    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:

    • max_profit
    • max_loss
    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: You are not allowed to view links. Register or Login
    I will gladly accept your feedback.



Share This Page

Select language
Balance replenishment ALIEBAY
  • Subscribe to new topics

  • International online service AliEbay