• Overview
  • Reviews
  • Comments

Close all positions in total target profit

This Expert Advisor has 3 cases:
  1. Closing positions if their total profit or loss is greater than the first set amount or less than the second set amount.
  2. Closing positions if their total profit or loss is greater than or equal to the specified amount.
  3. Close positions if their total profit or loss is less than or equal to the specified amount.
The EA can work in 2 modes:

  1. Current chart symbol: In this mode, it only examines the total profit or loss of the current chart symbolpositions, and if the conditions are met, it closes only the current chart symbolpositions.
  2. All symbols: In this mode, the total profit or loss of all open positions ( of all symbols) is checked and if the conditions are met, all positions ( of all symbols) are closed.

This expert has the ability to minimize and move the entire chart window.


Input Parameters:

  • Slippage
  • Timer(milliseconds): Period of time to check the total profit or loss of open positions in All Symbolsmode. This parameter only applies in All Symbols mode. In the current chart symbolmode, with each change of the symbol price, the total profit and loss of the positions are checked.


Notice: If you want to run this expert at the same time with another expert in a symbol, you must enable each one in a separate chart.



Recommended products
Filter:
No reviews