Welcome to Our Community

Want to join the rest of our members? Feel free to register today. You will get the opportunity to participate in themes and joint purchases of products at the lowest prices. You have a great opportunity to buy products together with other members in the best international online service AliEbay. The more participants in the topic, the lower the cost of the joint purchase fee. In the Resources category, you can immediately buy a product at a low price. Register today! The words Joint purchases are translated differently in different countries. Here is the translation of these words: Compras conjuntas, Ortak alımlar, Gemeinsame Einkäufe, Achats en commun, Совместные покупки, 聯合外匯購買, مشتريات الفوركس المشتركة, Acquisti congiunti, 共同外国為替購入. There are a lot of the best and almost free products in the following categories: Forex, Binary Options, Vps, Cryptocurrency, Business, Marketing, Sports, Health, Music and other categories. After registration, you will be sent an email to confirm registration. Perhaps the email will end up in a spam box, please check and confirm registration.


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

Recruitment of participants
100.00 USD
0 of 10
Is absent
  1. James Goldman

    James Goldman Moderator
    Staff Member Organizer

    Jun 15, 2020
    Likes Received:
    You are not allowed to view links. Register or Login


    This EA employs the Stop and Reverse trading technique depicted on the article You are not allowed to view links. Register or Login Basically you start with an initial position. If the market goes in the opposite direction you stop the position and open a reverse one by increasing the size. You keep doing this until the position gets into profit of your choice. When the position is closed with profit you open a reverse position and start the trading over.

    With this EA you can open a position manually and tell the EA to get control over it and run the trading game explained above, or let the EA open a random position and let it manage it. You can customize when to stop the position and when to take the profit. You can set the size of the initial position and the factor by which you want to increase the size by.

    StopAndReverse EA uses the same magic number generator with You are not allowed to view links. Register or Login utility.

    Input parameters
    • when_optimizing_start_always_with—Set it either to sell or buy so that optimization in testing starts with the same position. Otherwise results may be off. Since you may need to optimize the EA to pick when to stop and reverse and when to take profit, this option may come in handy.
    • random_start—Set it to true if you like the EA to open the initial position randomly.
    • start_with_already_open—Set it to true if you open a position before running the EA, and you want EA to get the control of it. If you set random_start to true, it overrides this option to false.
    • ticket_of_open_pos—If you set the previous option to true, you can enter the ticket number of that position and EA does the rest.
    • start_lot—When opening the initial position or starting over, this is the trade size.
    • lot_multiplier—When reversing the order, the previous size is multiplied by this factor.
    • stop_and_reverse_in—Set an integer for points where you stop the position and reverse it.
    • take_profit_in—Set an integer for points where you take the profit and start over.
    • compansate_for_swaps—If a negative swap accumulates over a position and you want to compensate for it when closing the position, set it to true.
    • symbol_has_suffix—Some brokers modify the name of a symbol with a suffix (e.g., with a dot to indicate fix spreads, or with a "micro" suffix to indicate sub-lots). If this is the case set it to true and then set symbol_suffix so that the EA can extract the symbol properties properly.
    • auto_magic_number—EA can use automatic magic number generation for the orders. The algorithm generates the same magic number for a symbol every time, so that even if you start over, the same magic number is used on that symbol. This way you can avoid malfunctions of the EA. Sometimes there can be conflicts in magic numbers such that different symbols can get the same magic number (e.g., EURUSD and EURAUD), and these conflict can be avoided by the use of You are not allowed to view links. Register or Login utility script.
    • magic_number—If the previous option is false, you need to specify a unique magic number for the symbol that the EA is running on.

    stopandreverse-ea-screen-4492.png stopandreverse-ea-screen-7090.png


Share This Page

QR code

  • Subscribe to email with new topics

  • Best international online service AliEbay

  1. This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
    By continuing to use this site, you are consenting to our use of cookies.
    Dismiss Notice