

Description:
The MMA Breakout Strategy Volume I, coded by WhooDoo22, is a robust tool for traders looking to capitalize on market trends and ranges.
Author:
WhooDoo22
Strategy Instructions:
- Currency Pair: EUR/USD
- Timeframe: M30
- For best results, run the EA from January 1, 2003, to June 1, 2012, and use the strategy tester with "Open prices only" to speed up testing.
Strategy Explained:
This strategy is built on the principle of resistance over support (R/S) and the understanding that markets move in trends or consolidate within smaller ranges.
Strategy Objective:
The goal is to capture profits from both trends and ranges:
- Use smaller moving averages, like an EMA period of 5 and an SMMA period of 25, to snag small range profits.
- Utilize larger moving averages, like an SMMA period of 50 and an SMMA period of 200, for larger trend profits.
Strategy Open Signal:
Open a buy/sell order of 0.04 lots when the SMMA period of 1 crosses above or below the SMMA period of 200.
Strategy Close Signal:
Close buy/sell orders of 0.01 lots when the SMMA period of 1 crosses back below or above the slower moving averages of EMA 5, SMMA 25, SMMA 50, and SMMA 200. (A partial order close function is included.)
Strategy Strengths:
- Big Breakouts: A strong signal for closing big profits with the smaller moving averages of EMA 5 and SMMA 25.
- Strong Trends: A solid signal for harvesting profits with larger moving averages of SMMA 50 and SMMA 200.
Strategy Weaknesses:
- Fake Outs: These can lead to small losses that stack up. If the moving average of 1 crosses above 200 during a consolidation, then quickly reverses, it can send the EA misleading signals. This scenario is a real headache for traders!
Decrease Weakness to Increase Strength:
To enhance this strategy and boost your MQL4 skills, consider these two updates:
- Implement an iCustom indicator that draws multiple moving averages based on historical data (for instance, a Multiple Moving Averages iCustom indicator).
- Refine the order close functions to improve efficiency. For example, when the SMMA 1 crosses below SMMA 200, it may be beneficial to close all orders (0.04 lots) instead of just 0.01 lots to minimize losses.
Credits:
A big shout-out to me and the MQL4 community! Thanks for your support!
Happy trading!
Comments 0