• Overview
  • Reviews (2)
  • Comments (4)
  • What's new


CloseByLossOrProfit Expert Advisor closes all positions as their total profit or loss reaches a specified value (in deposit currency). In addition, it can delete pending orders.

Allow AutoTrading before running the Expert Advisor.


Run the Expert Advisor on a chart.

Input Parameters: 

  • Language of messages displayed (EN, RU, DE, FR, ES) - language of the output messages (English, Russian, German, French, Spanish);
  • Profit in the currency - profit in points;
  • Loss in the currency - loss in points;
  • Delete of pending orders - delete pending orders after closing all positions;
  • View comment - show comment;
  • The number of tries to delete order - number of tries to delete an order or close a position (in case of requotes or other errors);
  • Slippage - slippage.

 If you need to track only specific symbols, use the following product: https://www.mql5.com/en/market/product/700

Nikolay Gaylis
Nikolay Gaylis 2019.01.14 08:23 

User didn't leave any comment to the rating

Vadim Strelkov
Vadim Strelkov 2014.04.18 09:47 

User didn't leave any comment to the rating

Version 1.3 2015.06.29
A new parameter sets a pause in milliseconds before a new try