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

The Simplest Hedging EA - MetaTrader 5 Expert | Forex Indicator Download - MT4/MT5 Resources

author EAcpu | 3 reads | 0 comments |

The author of the idea - Monu Ogbe , the author of the mq5 code - Balabashka Kong .

If a simpler EA exists, I'd like to see it!

The EA does not use any indicators. When a new bar appears, it simply opens two opposite positions.

It then waits until either Stop Loss or Take Profit is closed and opens the next few positions.

Manual optimization allows us to choose the best parameters with SL below TP for each of the three trading pairs and obtain three possible outcomes:

It is recommended to use the "Open Prices Only" mode as it only trades when new bars open.

EURGBP M5 achieved the best results, while EURUSD, GBPUSD and EURCHF also showed good results.

Please feel free to improve the code!


Attachment download

📎 simplest_hedging_ea_ever.mq5 (5.95 KB)

Source: MQL5 #16920

Verification code Refresh