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

Return Strategies - MetaTrader 5 Expert | MT5 EA Download - MetaTrader 5 Resources

author EAcpu | 4 reads | 0 comments |

Return Strategy - expert for MetaTrader 5

Return Strategy - expert for MetaTrader 5

Return Strategy - expert for MetaTrader 5

Return Strategy - expert for MetaTrader 5

Return Strategy - expert for MetaTrader 5

Author of the idea : Andrei Konishkin

MQL5 code author : Balabashka Kong

This strategy operates with a pending limit order.

If at the start time we set the number of pending orders in the grid of pending orders, for each type (buy limit and sell limit), one or more pending orders are activated. Then, the price must return to the opening price of the bar where the pending order grid is located.

For example, at 19:00 ( start time = 19), we place four ( number of pending orders = 4) buy limit orders and four sell limit orders. We expect that after activating one or more pending orders, the price will return to the opening price of the 19-hour bar.

Note : There should be no pending order start time on the trading account.

 Distance (indent from current price) + N* steps (steps between pending orders)

The expiration life cycle value of pending orders is set in hours.

If the total profit of all positions reaches the "Total Profit" point, all positions will be closed and pending orders will be removed. At the "end time", the pending order is forcibly deleted.

EURUSD was optimized in the first half of the year from January 1, 2018 to July 12, 2018:

Return Strategy - expert for MetaTrader 5


Attachment download

📎 return_strategy.mq5 (52.68 KB)

Source: MQL5 #21440

Verification code Refresh