[Free] MT4 all position close EA when owning multiple positions

When using MT4 and owning multiple positions, have you ever wanted to do something like the following?
・ Close the all position
・ Set the stop loss value for all position
・ Set the Take profit value for all position

Here, we will introduce an EA that controls all position like this.

Contents

Multiple position all close/control EA

Specification

We will introduce the specifications of the EA introduced here.

  1. Batch operation of positions
    1. All positions close at once
      1. Close all currently held positions in the target Chart’s currency with the push of a button
    2. All Stop loss settings
      1. Stop loss value can be set individually for Long position and Short position
      2. Long positions apply to all Long positions.(Applies only to Long positions in currencies to which you are adding an EA.)
      3. Short positions apply to all Short positions.(Applies only to Short positions in currencies to which you are adding an EA.)
    3. All Take profit settings
      1. Take profit value can be set individually for Long position and Short position
      2. Long positions apply to all Long positions.(Applies only to Long positions in currencies to which you are adding an EA.)
      3. Short positions apply to all Short positions.(Applies only to Short positions in currencies to which you are adding an EA.)

How to use

1. Download the following EA to your PC.
  download page for MultiPositionAssistant.ex4 is here
2. Load the downloaded EA into MT4 and enable “Auto trading” of EA.(if you can see the smile mark is displayed in the upper right corner of the screen, it is
ok.)
3. When you load the EA, the buttons and input boxes shown at the bottom left of the image below will be displayed.

4. The meaning of each button is as follows.

  • T/P [long pos]:Set Take profit for BUY Position(Long Position).
  • T/P [short pos]:Set take profit for SELL Position(short Position).
  • S/L [long pos]:Set Stop loss for BUY Position(Long Position).
  • S/L [short pos]:Set Stop loss for SELL Position(short Position)
  • CLOSE:Close all position at once.

5. The above is an example when you own a BUY position, but if you want to set the Stop loss of the BUY position at once, enter the Stop loss value you want to set in the input box to the right of “S/L [long pos]”. , Press the “S/L [long pos]” button to set the Stop loss for all BUY positions at once.

6. The above is an example when you want to set the Take profit when you own the BUY position at once. Enter the Take profit value you want to set in the input box to the right of “T/P [long pos]” and click “T/P [long pos]” button to set the Take profit for all BUY positions at once.

7. Finally, if you want to close all positions you currently have in one go, press “CLOSE” above to close all the positions.