Author of the idea — Yuri, author of the MQL5 code — barabashkakvn.
This trading strategy leverages Moving Averages configured with periods of 5, 20, 40, and 60.
Here's how the strategy works:
- Set up four Simple Moving Averages (SMAs) with periods of 5, 20, 40, and 60;
- Focus on the M30 timeframe for the EUR/USD pair, using a lot size of 0.1;
- Set your STOP LOSS at 60 pips (for EUR/USD).
For Buying:
- Enter a buy trade when SMA40 crosses SMA60 from below;
- Close the position when a reverse crossing occurs.
For Selling:
- Enter a sell trade when SMA40 crosses SMA60 from above;
- Close the position upon a reverse crossing.
Here’s a glimpse of the results with this strategy on EUR/USD using M30:

Comments 0