Select language
Balance replenishment ALIEBAY

REGISTER PARTICIPANTS Expert Stopandreverse Ea Mt4

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:


    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

Select language
Balance replenishment ALIEBAY
  • Subscribe to new topics

  • International online service AliEbay