Home » Expert Advisor » Moving Average Cross EA

Moving Average Cross EA


Get the Moving Average Cross EA!

  • 4.1/5
  • 98 ratings
98 ratingsX
Very bad! Bad Hmmm Oke Good!
6.1% 9.2% 12.2% 17.3% 55.1%

About the Moving Average Cross EA

The Moving Average Cross EA uses two moving average to trade. A buy signal is generated if the faster moving average crosses the slower moving average from below. Vice versa for a sell trade.

Versions overview

Functions Basic Advanced Pro
Money Management
Trade on new Bar
Inverse Strategy
Trailing Stop
Break Even
Spread Filter
MA Trend Filter
Trade max. once per Bar
Close on Signal (Exit Strategy)
Candle Trail
ATR Trail
Day/Time Filter
Reverse on Opposite Signal
Trade Direction

More about this Expert Advisor

  • You can install this Metatrader Expert Advisor on limitless demo and live accounts.
  • Note that this Expert Advisor does not draw any indicator on the chart.
  • You do not understand all the functions? Take a look at our function glossary.
  • The license of every Expert Advisor you download is time limited, but you can re-download newer versions any time in your purchase history.
  • MT4 Basic v1.02
  • MT4 Advanced v1.02
  • MT4 Pro v1.01
  • Jan 13, 2016

  • Minor updates and fixes in all MT4 versions
  • Apr 11, 2015

  • Some improvements in all MT4 versions
  • Added “Max once per Bar” function to all MT4 Advanced and Pro versions
  • Feb 07, 2015

  • Initial release MT4 Basic and MT4 Advanced

39 thoughts on “Moving Average Cross EA

  1. kwadwo says:

    hi, does this ea still work?

    1. Yannick says:

      Yes, this EA does still work 🙂

  2. xit says:


  3. PAUL says:

    Hi again, other than basic if we have a 20 tgt say and the xover happens at 9pips say will the other two EA versions abandon the first trade and take the new trade in opposite direction leaving profit or loss on the original trade.
    thanks Paul.

    1. Yannick says:

      If you use the “Reverse on opposite Signal” function, the EA will reverse the trade if another crossover happens.

  4. Michael says:

    Hello, is there a place to get documentation on the input settings. I purchased you bundle package. I am working on optimization and would like details on what each setting means for this EA. Thank you !


    1. Yannick says:

      Yes, please take a look at my functions glossary.

  5. Wolfgang Lampe says:

    Hallo Yannick,
    kann ich die beiden MA’s selber konfigurieren oder kann das nur von dir gemacht werden?
    Oder bei welcher Version kann ich das selber machen?

    1. Yannick says:

      Du kannst bei jedem Produkt alle Einstellungen selber ändern.

  6. D Ali says:

    I am looking for a EA that will take trades on a cross of two moving averages (EMA) and stay in the trade till the next time they cross again and reverse position to stay in the other trade. Do you have anything like that? thanks

    1. Yannick says:

      Yes, you can use the pro version with EMAs and the reverseOnOppositeSignal function.

  7. PHYO says:

    I can set Moving Average Levels on my charts in the dialog box settings,
    so how do I program the MA Levels into an EA lines of code?
    To cross the ma level too?

    1. Yannick says:

      You can’t access the source code of my EAs to make changes.

  8. luke says:

    Hi Yannick

    Moving Average Cross EA is about: simple moving average or Exponential Moving Average ?
    Or there is option to choose which one I want ?
    And also is it possible to open multiple positions and set up different take profits ?
    and is it any filter like ADX ?

    1. Yannick says:

      Yes, you can choose between SMA, EMA, SMMA and LWMA.
      The EA does only open one trade at the time, but can attach the EA multiple time to a chart with different settings.
      No the Moving Average Cross EA does not include a ADX filter by default.

  9. Rodrigo Moreira says:


    If I buy the PRO version, will I get the *.mq4 files from EA?
    Thank you.

    1. Yannick says:

      No, only the compiled .ex4 version.

  10. Addley says:

    Hello Yannick.. Looks like your product is interesting.. I would like to purchase the PRO version

  11. Greg Donohue says:

    Yannick, I puchased the PRO version of the Moving Average Crossover EA, and need instructions for the settings. The instructions that you provide on this website relate to a different version, as there isn’t a Max Open Orders, or Max Open Trades on the Pro version 1.01 EA that I received.



    1. Yannick says:

      That’s right, the MaxOpenTrades function is not included in the MA Cross EA. Only the functions displayed in the “included functions table” are included. For all included funtions you will find instructions in the functions glossary.

  12. Phill says:

    Hi Yannick, can it be set (PRO) so that entry is not greater than say 20 pips from crossover, sometimes with moving EA xover price action in high volatility pulls the the fast over the slow to just retreat and not revisit that price point. Thanks.

    1. Yannick says:

      Currently it is not possible to set it like this.

  13. marco says:

    How does the ma trend filter actually work?
    And this is a ma cross ea – can the moving averages which actually cross be changed by the user?
    Thanks again…

    1. Yannick says:

      If you use the Trend Filter, the EA will only open long positions if the current price is a above the Filter. Vice versa for short.
      You can change all parameters of all 3 MAs.

  14. manasses says:

    Hello, the pro Moving Average Cross EA can be used in demo account, the pro version is a license or a definitive version.

    1. Yannick says:

      Any file you download is time-limited, but you can download a new version at any moment in your account.

  15. ea says:

    Is the Expert Advisor trading also the MA cross or only the next bar after the cross? Is made also to trade Oil and DAX etc?

    1. Yannick says:

      Depends on the TradeOnNewBar settings. Yes, it trades all symbols.

  16. Jordy says:


    Thank you for your great moving average crossover expert advisor,

    But can I know what is MA Trend filter ?

    Thank you .

    1. Yannick says:

      It’s a Moving Average trend filter. The EA only opens long trades if the price is above this MA. Vice Versa

  17. JJ says:

    Is this EA for:

    1. Backtesting but cannot do actual real-time trading on MT4
    2. Actual reatl-time trading but unable to do backtesting
    3. Capable of doing both backtesting and actual trading (i.e. up to me to select the function)

    1. Yannick says:

      You can do both.

  18. willie says:

    hi, using the MACrossEA, what is meant my,
    . inverse strategy
    . reverse on opposite signal
    . close on signal

    1. Yannick says:

      You’ll find the documentation here.

  19. sean says:


    Why does this EA exit the trade so early? Looking at the pictures on this page, it seems to exit well before the lines have crossed. Will this be fixed in a later update?

    I’m very interested in buying this bot.



    1. Yannick says:

      The Moving Average Cross EA does only open a trade on a crossover. He does not close a trade on a crossover.

      The PRO version of this EA, which I will add before October, will have a CloseOnSignal (close trade if the MAs crosses again) function and a ReverseOnOppositeSignal (reverses the open position if there is a entry signal in the other direction) function.

      1. James says:

        Yannick, How much is the PRO version of this Moving Average Cross EA, which , will have a CloseOnSignal (close trade if the MAs crosses again) function and a ReverseOnOppositeSignal (reverses the open position if there is a entry signal in the other direction) function. ETC.


      2. Murthy says:

        Is this implemented in the PRO version now ? If yes, is there any chance that trail version is available ?

        “The PRO version of this EA, which I will add before October, will have a CloseOnSignal (close trade if the MAs crosses again) function and a ReverseOnOppositeSignal (reverses the open position if there is a entry signal in the other direction) function.”

        1. Yannick says:

          Yes, it is implemented now. This post is one year old :D.
          Yes, I will send you a test version per mail.

Leave a Reply

Your email address will not be published. Required fields are marked *

Error: Please enter a valid email address

Error: Invalid email

Error: Please enter your first name

Error: Please enter your last name

Error: Please enter a username

Error: Please enter a password

Error: Please confirm your password

Error: Password and password confirmation do not match