Free EA MMA breakout

eamaster

Trader
Nov 11, 2012
6
0
17
MMA breakout EA

Hello

here i want to share i good EA.
2455d1352666618-free-ea-mma-breakout-movingqaveragesdm30dtimeframe-5b1-5d.png

Strategy Instructions: Currency pair: EUR/USD and Time-frame: M30.

(Be sure to run EA from years 2003.01.01-2012.06.01. Also, be sure to run strategy in strategy tester using “Open prices only” instead of “Every tick” to speed up testing.)

Strategy Explained: Strategy is founded on the equation resistance over support AND the theory that the market moves in trends or consolidated horizontal movement containing smaller ranges.

Strategy Objective: Capture profits of trends AND ranges.

1. To capture small range profits, the EA uses small moving averages like an EMA period of 5 and an SMMA period of 25.

2. To capture large trends, the EA uses larger moving averages such as an SMMA period of 50 and an SMMA period of 200.

Strategy Open Signal: Open buy/sell order of 0.04 lots when SMMA period of 1 crosses above/below SMMA period of 200.

Strategy Close Signal: Close buy/sell orders of 0.01 lots when SMMA period of 1 crosses back below/above slower moving averages of EMA 5, SMMA 25, SMMA 50, and SMMA 200. (partial order close function included )

Strategy Strengths:

1. Big Breakouts = Good signal for closing big profits for smaller moving averages of EMA 5 and SMMA 25.
2. Strong Trends = Good signal for closing big profits for larger moving averages of SMMA 50 and SMMA 200.

Strategy Weaknesses:

1. Fake Outs = Bad signal for closing orders creating small losses. Remember that multiple small losses accumulated ultimately create a large loss. (Typically a large moving average of 200 in a consolidated horizontal movement where the moving average of 1 crosses above 200 THEN crosses back below 200 and back above 200 can give the EA bad signals and therfore can be a moving average of 1 crossing 200 worst nightmare!)

( a possible solution for Fake Outs, if you choose to improve this strategy and use it to further improve your MQL4 education, you could use a moving average OR create a icustom moving average indicator that will adjust to a certain period of bars in history ago, example: MA indicator counts last sixty bars and write a moving average that spears through the ranges)

Credits: Me and the MQL4 community.
 

Attachments

  • MMA_Breakout_strategy_Volume%20EA[1].mq4
    18.2 KB · Views: 201
  • movingqaveragesdm30dtimeframe%5B1%5D.PNG
    movingqaveragesdm30dtimeframe%5B1%5D.PNG
    24.2 KB · Views: 216
Last edited: