Welcome Forex EA downloads & MT4/MT5 auto-trading resources — EAs, Gold EAs, quant tools and real-world automation.
Sign In Sign Up

Autotrade - MetaTrader 5 Expert | MT5 EA Download - MetaTrader 5 Resources

author EAcpu | 2 reads | 0 comments |

Autotrade - expert for MetaTrader 5

Autotrade - expert for MetaTrader 5

Both pending orders (BuyStop and SellStop) are placed within the specified period.

The author of the ideaJohn Smith , the author of the MQL5 codeBarabashkakon .

Run starts

Place two pending orders:

Autotrade - expert for MetaTrader 5

Then we expect only one position operation - if for any reason two positions are opened, both positions should be deleted :

Manage open positions.

First we check if the minimum profit is reached. At the same time, the size of bar 1 must be smaller than the "stable point". If the conditions are met, close the position and exit.

Second check - also checks whether absolute profit or loss is achieved. If the conditions are met, the position is closed.

EUR/USD results for the first half of the year from June 1, 2016 to December 21, 2016:

Autotrade - expert for MetaTrader 5


Attachment download

📎 autotrade.mq5 (20.44 KB)

Source: MQL5 #17246

Verification code Refresh