Login / Register
Add a review
Log in
Sign UP
[bws_google_captcha]
Exp5 Close Minus by Plus for MT5

0.00

Closing unprofitable positions with a series of profitable positions

Closing unprofitable positions with a series of profitable positions

You can test the Expert Advisor in the Strategy Tester and trade using our EAPADPRO panel in visual mode!

Close Loss by Profit – Full instructions

The version of the program Close Minus by Plus for MT4

You can test the Expert Advisor in the Strategy Tester and trade using our EAPADPRO panel in visual mode!

Close Loss by Profit – Full instructions

The version of the program Close Minus by Plus for MT4

  • TypeOfUnitToClose – Type of profit and loss calculations. In dollars or in points;
  • MinLossInUnit – Minimum loss of a position in units (TypeOfUnitToClose), which is taken into account by the adviser;
    • An order with a loss in “minlossposs_in_unit” units (dollars or points) should be placed in the negative zone.
    • This is the upper bar for finding unprofitable positions.
    • For example: MinLossInUnit = -100, TypeOfUnitToClose = dollars.
    • Then the ADVISER is looking for or waiting for a position with a loss greater than or equal to -100 dollars, for example: -100 dollars, -150 dollars, -200 dollars and so on.
    • A position with a loss of -99 dollars is already being ignored;
  • AdditionalProfitInUnit – The number of profit units for the difference of closing a set of positions.
    • A position (one or more) with a total profit exceeding the loss on the “Additionalprofitinunit” units.
    • For example: AdditionalProfitInUnit= 10, MinLossInUnit= -100, TypeOfUnitToClose = dollars.
    • The adviser is looking for or waiting for at least 2 positions, one of which with a loss of -100 dollars, and the second with a profit of 110 dollars. At this point, the ADVISOR decides to enable its function;
  • MaxPos_in_Class – The “maxpos_in_class” parameter should limit the number of positions of the entire “set” of closures.
    • For example: MaxPos_in_Class = 3, then the EA will look for a set to close from a maximum of 3 positions (1 unprofitable and 2 profitable);
  • FirstSymbolClose – Search for pairs of positions and close only the currency whose minus we process.
    • You can disable the FirstSymbolClose parameter, then the Expert Advisor will close any sets of unprofitable and profitable positions on the entire account, regardless of which currency pair is included in the calculation.
    • When the FirstSymbolClose function is enabled, the Expert Advisor counts and closes sets of one currency pair;
  • OrderToClose – Position type: -1 = All Orders, 1 = Sell, 0 = Buy;
  • MagicToClose – Position Magic: -1 = any magic, or you can specify a unique magic number of your positions to be processed;
  • SymbolToClose – Currency pair for monitoring: -1 = All Symbol, 1 = Current Symbol;

[spoiler title=”Read More…”]

  • An order with a loss in “minlossposs_in_unit” units (dollars or points) should be placed in the negative zone.
  • This is the upper bar for finding unprofitable positions.
  • For example: MinLossInUnit = -100, TypeOfUnitToClose = dollars.
  • Then the ADVISER is looking for or waiting for a position with a loss greater than or equal to -100 dollars, for example: -100 dollars, -150 dollars, -200 dollars and so on.
  • A position with a loss of -99 dollars is already being ignored;
  • A position (one or more) with a total profit exceeding the loss on the “Additionalprofitinunit” units.
  • For example: AdditionalProfitInUnit= 10, MinLossInUnit= -100, TypeOfUnitToClose = dollars.
  • The adviser is looking for or waiting for at least 2 positions, one of which with a loss of -100 dollars, and the second with a profit of 110 dollars. At this point, the ADVISOR decides to enable its function;
  • For example: MaxPos_in_Class = 3, then the EA will look for a set to close from a maximum of 3 positions (1 unprofitable and 2 profitable);
  • You can disable the FirstSymbolClose parameter, then the Expert Advisor will close any sets of unprofitable and profitable positions on the entire account, regardless of which currency pair is included in the calculation.
  • When the FirstSymbolClose function is enabled, the Expert Advisor counts and closes sets of one currency pair;
      • Dear friends and users of our Expforex advisors, add your ratings in the sectionReviews
    • Dear friends and users of our Expforex advisors, add your ratings in the sectionReviews
  • Dear friends and users of our Expforex advisors, add your ratings in the sectionReviews
  • Dear friends and users of our Expforex advisors, add your ratings in the sectionReviews

All the work consists in the fact that we put the expert on a separate schedule, configure it and work further on our terminal. Upon the occurrence of a programmed condition, the adviser turns on and begins its calculations.

[/spoiler]

Add review
Reviews ( 0 ):