Home » Expert Advisor » Moving Average Cross EA

Moving Average Cross EA

Moving Average Cross EA - 1Moving Average Cross EA - 2Moving Average Cross EA - 3

Get the Moving Average Cross EA!

3.8/5345 ratings

About the Moving Average Cross EA

The MA Cross EA (MA Crossover 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.

MA Crossover is a very popular and simple trading strategy. This MA Cross EA allows you to trade Simple, Exponential, Smoothed and Linear-weighted Moving Averages for the fast and slow MA. You can also choose the Applied Price for both MAs.

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

Starter Bundle

The Moving Average Cross EA is included in the EA Starter Bundle.

More about the Moving Average Cross EA

  • You can install the Moving Average Cross EA on limitless demo and live accounts.
  • Note that this Metatrader Expert Advisor does not draw any indicator on the chart.
  • You do not understand all the functions? Take a look at our function glossary.
  • This EA is not pre-optimized. Please read the article about optimization first.
  • 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.03
  • MT4 Advanced v1.03
  • MT4 Pro v1.03
  • Dez 13, 2017

  • Fixed: Problem with trading sessions of some brokers
  • Aug 28, 2017

  • Fixed: Martingale function in Pro version
  • 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

Need a good Forex Broker for your trading tools?

147 thoughts on “Moving Average Cross EA”

  1. Ian says:

    Hi, After installing Moving Average Cross EA I get message saying it is not a custom indicator and will be removed in MT4 journal. Any ideas please? Thanks.

    1. Yannick says:

      You have to add it to the MQL4/experts folder since it is an Expert Advisor

    2. Ian says:

      Sorry my mistake, thanks.

  2. Mitchell Pietersz says:

    I don’t know why, but it doesn’t seem to be opening a trade on every cross over. Is this intended? Default settings yield a lot of crossovers being unopened.

    1. Yannick says:

      There is probably something wrong with your settings. Please open a new topic in the forum to help you.

  3. Fahlifi says:

    hello yancik, I bought Movavig Average Cross Pro, first I tried to get demo and already several trading, for the past three days I tried to get real estate and demo account no trading at all, what’s the problem, please ask if the problem is in the settigan or VPS, I use 15M Time Frame , Thanks

    1. Yannick says:

      Maybe the spread on your real account is higher? Do you see some errors in the journal or experts tab?

      1. Fahlifi says:

        I use the pepperstone broker, the highest spread is 4 points on the major curency, I set the max spread 5, there is no error in the EA journal, now I am trying to change the VPS, I’ll let you know the results again.

        1. Yannick says:

          Ok. Let me know if it works with a new VPS.

          1. Fahlifi says:

            Change VPS, Work well, and my first Trading on Real account, Profit 25 Pip = $ 25, Thanks

  4. Paul says:

    Hi I purchased the pro version and I’m just wondering when does the EA open a trade? when there are two moving average crossovers? if so, where are these settings please? thanks.

    1. Yannick says:

      Yes, on a crossover. The EA does this already using only the default settings. Try it in the visual mode of the strategy tester to test it.

  5. Pradip Suthar says:

    Hi Yannick
    I have puchase MA Cross EA (Pro) Can you add filter Stochastic Oscillator in this version, and want to know which EA I have that is updated version?

    1. Yannick says:

      Unfortunately, at the moment it is not possible to add this. You’ll find the version number of the EA in the about tab of the EAs settings.

      1. Pradip Suthar says:

        Ok No problem, but can you add some option like Partially Close Trades with profit and re-enter into current trade again till reversal entry

        1. Yannick says:

          Unfortunately, at the moment it is not possible to add any new features.

  6. laminetv says:

    Hi Yannick. the EA cuirus chamelon no longer available? I try to filter the periods of range, thank you in advance

    1. Yannick says:

      No, this EA is no longer available, you can use the MA EA and the MA Cross EA instead. They provide the same functionalities.

  7. pradip suthar says:

    Today i have send my query please it is not display, the query is what is the success ratio of MA Cross EA Pro and how much time will take after payment

    1. Yannick says:

      I have replied in the forum.

  8. Pradip Suthar says:

    Hi Yannick
    I am interested in this MA Cross EA (Pro Version) but would like to know that

    1) How much time will take to download after payment
    2) What is success ratio of this EA
    3) You will provide the complete details of Installation and other important instructions
    4) Is there any updating charges and validity of this EA

    1. Yannick says:

      1. The download will be available immediately.
      2. I have no statistics about this.
      3. Yes, in the school section.
      4. No, you have a lifetime access and updates. You will need to download the latest version at least once a year (for free).

  9. pradip suthar says:

    Can this ma pro version will increase lot size with current balance of equity

    1. Yannick says:

      Yes, with the money management function.

  10. Abdul says:

    free version is not working

    1. Yannick says:

      What symbol, timeframe and broker are you using?

  11. laminetv says:

    Hello sir
    I would like a customization of moving averages. can you do it for me? I’ll give you the details if it’s possible. Thank you in advance.

    1. Yannick says:

      Unfortunately, I do not make custom modification anymore.

  12. Richard Spalding says:

    Interesting…..This is how I trade now, but manually, short term in AM, est. I would like the automation ability. How many pair can be auto- traded at one time. R there any time limitations like( 8:00 – 16:00)

    1. Yannick says:

      You can use it on limitless pairs at the same time.

  13. ÖZTÜRK ULUDAĞ says:

    Hello Yannick,

    Moving avarage crosss ea pro is really perfect expert advisor and running in my metatreader 4 without any error. As i see in the expert, you have put ATR trail. if you want to improve the EA you can put ATR take profit in same logic with ATR trail. Even you can put ATR multipiler function. This function will optimize our TP point and set up TP according to market moves.

    Thank you very much for such a good EA.


    1. Yannick says:

      Glad you like the EA.

      Unfortunately, I do not make custom modifications anymore.

  14. Mark says:

    Does the EA take into account 4 and 5 digits broker quotes?

    1. Yannick says:

      Yes it does.

  15. aj saini says:

    Can you please provide documentation for each parameters and also if you any any recommended settings /set file

    1. Yannick says:

      Take a look at the functions glossary. Unfortunately, I do not provide any settings.

  16. Adewale Fajingbesi says:

    Hi Yannick,

    I want to commend you for good job with these EAs and indicators. I purchase the moving average across ea and been working on getting a profitable setting, I have one that makes a considerable profit but still needs to filter out some trades, I was wondering if you sell the source code to the ea so I can make some adjustments, also I was wondering if I can send you the set file of the setting I have for you to do a back test on your end. Thanks and have a nice day


    1. Yannick says:

      Unfortunately, I do not sell the source code.
      I do not offer a backtest service, but you can share your settings with other in the forum if you like.

  17. Lucas says:

    Hello….Whats happens if Break even , and Trailing stop both are active ? I cant imagine both working together…. Can you explain with more details?

    1. Yannick says:

      They do work both together. If both are active, the SL will always be at the lowest value.

  18. Jatin Patel says:

    do you accept bitcoin as payment i want to buy few ea and indicators ?

    1. Yannick says:

      No, I do not accept bitcoin.

  19. Sekonyela says:

    Which currency pairs can I use for EA and also the timeframe please?

    1. Yannick says:

      All Symbols and Pairs.

  20. Hamid says:

    can we use 3 moving average cross?
    thank you

    1. Yannick says:

      No, only 2 and 1 filter MA.

      1. Abdo kasem says:

        How we can see the results of your EA.
        and what is the prices.

        1. Yannick says:

          I do not have any statistics about the performance of the EA. The price is 39.90 for the pro version.

  21. Marcelo says:

    Hello Yannick, I bought this Moving Average cross Pro, but the ReverseOnOppositeSignal function did not work on the actual account, only on the backtest, what could have happened? This function is very important for my strategy, thank you!

    1. Yannick says:

      Maybe a problem with the maxSpread filter? If the spread is too high, the EA will not reverse the position, it only closes it.

  22. Peter says:


    If I get the Pro version and set
    ReverseOn OppositeSignal, can I also set a SL and TP, and if neither is hit, will it still close the trade at next crossover and reopen a new trade?

    1. Yannick says:

      Yes, this is what it does.

  23. Nelson Ruiz says:

    Hello, I just bought the ea and I have been testing it with the martingale option (2.0 multiplier). I noticed that multiple times it does not open an increased trade after a loss, and sometimes it jumps from 0.1 to 0.4, and then 0.8 and stays 0.8 for a lot of trades even though they are losing trades.
    Please advise.
    Thank you

    1. Yannick says:

      This is strange. Please open a new topic on the forum and provide your settings.

  24. James Mullins says:

    Just purchased the PRO version and I am confused about the martingale settings….specifically the “martingale value” setting. It is defaulted to 0.2. What exactly does that mean? I read the settings info but still don’t understand.

    Lets say I want to do a max of 3 martingales. So I start with .01 lot and if loss occurs on next signal I want it to double lot to .02. Then if it loses again it would double to .04 lots and stop (3 max). What would I set the settings at?

    I have played around with the settings but it just keeps trading .01 lot when it reverses. I have the “reverse” set to “false” and martingale to “true”

    1. Yannick says:

      I guess you use martingal in conjunction with the reverseOnOppositeSignal function?
      Based on the documentation this is not possible: “The Martingale function is not compatible with the ReverseOnOppositeSignal function since the positions opened by the ReverseOnOppositeSignal will always have the same lotSize as the initial position.”

  25. Alwin says:

    Hi Yannick,

    I was trying to optimize the MA cross EA however I am still failing to get the good results. Could you please let me know the best inputs for this EA. I have purchased this EA just a week ago.

    1. Yannick says:

      Unfortunately, I do not have any settings. Have you read the optimization guide?

      1. Alwin says:

        Yes I tried as per the optimization guide and with different values, however still not working for me.

  26. Ladislav Prochazka says:

    Hi, does this EA works on Renko Chart? If not, could you make it please. Thanks a lot

    1. Yannick says:

      I personally have not tested it on a renko chart. But some users say it works well on the renko chart of ovo.cz

  27. doddys says:

    Hi Yannick,
    Since i did not see the setting of this EA,
    Is it working with Exponential Moving Average (EMA)? And is it working if TP only when it cross again, and soon opening new position without waiting the next bar closed first?

    1. Yannick says:

      Yes, you can choose to use an EMA if you want.
      You can choose if you want to use SL, TP or if you want to use an exit strategy (closeOnSignal) or a function called reverseOnOppositeSignal.
      If you set tradeOnNewBar = true, the EA will wait for a new bar to close before opening a new trade.

  28. doddys says:

    I’d like to purchase MA cross ea. Is there any new version released soon? what is the default value setting for fast and slow? can we change both value and use ea as my setting properly?

    1. Yannick says:

      There will be no new version release soon. Yes, you can change all values of the MAs.

  29. christopher voyles says:

    hi i was using this moving cross ea and using the stradegy testing it uesteday and today and everything was good… now when i try to use it and it runs but when it crosses it dont take the trade now….

    1. Yannick says:

      Could it be because of the spread filter? Can you check it?

  30. krasi says:

    hello again
    I want to ask if I can set the robot to put on
      stop at the bottom of the day

    1. Yannick says:

      The included time filter together with the AutoCloseTimer Tool should do the trick:

  31. Sala says:

    how close the trade ? when and how ? Thanks

    1. Yannick says:

      The trade can either be closed by the SL/TP, exitStrategy, reverseOnOppositeSignal or one of the different trailing functions.

  32. Sala says:

    I changed in the settings MAs to 10 and 25 EMA but still on chart 20 and 40 SMA. Please advice

    1. Yannick says:

      You have to change both, the MAs on the chart and the EA settings.

  33. Gilvan Pires says:

    Hello Yannick! how r y?

    May I know if you get to programmer a stategy based on 2 EMA in a Timeless Graphic Renko(R) and Range(N)? for a Meta Trade 5? Do you get it?


    Gilvan Pires

    1. Yannick says:

      No, I do not plan to programme this.

  34. krasi says:

    Moving Average Cross EA!

    where can I write to tell you exactly what I want as extra stuff?

    1. Yannick says:

      Unfortunately, at the moment I do not make custom modifications.

  35. Fardad Ali Shah says:

    Hello Yanick,
    I want the EA to open the initial trade immediately in the direction of the already crossed over direction. After that it can follow the crossover rule. Is it possible in the pro version or does it need customization.

    1. Yannick says:

      No, it has to wait for a signal first to open a trade.

  36. Christopher G. Smith says:

    Hi Yannick

    I would like to buy your Moving Avg Cross but I need one adjustment to the Filters.

    1. Yannick says:

      You can use the forum to open a discussion about the MA Cross EAs filter settings.

  37. Fardad Ali Shah says:

    Can the EA immediately open the first trade long or short depending on the position of the MAs, instead of waiting for the MAs to cross.

    1. Yannick says:

      No, it will wait for a cross signal first.

  38. Renee says:

    Hello guys
    I’m gold trader and looking for an EA apply to gold product.
    Which EA indicator is more suitable for it??

    Thank you

    1. Yannick says:

      All indicators should work on gold. I have no statistics about which works best on gold.

  39. fredje says:

    Hi Yannick,

    I’ve the ma cross ea pro but what’s the difference between ” reverse on signal” and ” close on signal ” ? What does the close on signal exactly do ?

    1. Yannick says:

      The “reverse on signal” will close a trade and open a new trade is the opposite direction as soon as there is a signal.
      The “close on signal” is a simple exit strategy, where the EA will close the trade on a new cross. This is useful if you use a trend filter at the same time.

  40. Alex12587 says:

    Hello Yannick,

    You planned to add an additional filter for this EA, I tinkered one myself. And the result is really good. Your filter ADX is you he planned on this ea?
    I put personally, a filter RSI and it walks very well. It works in zone and the cross of MA in this zone. for example RSI 60-70. Because The main problem which I meet, and I owe absolutely the filter, it is when MA crosses in range when there in a horizontal way. Please tell me do you think about that. Sorry for my english

    1. Yannick says:

      No, at the moment I do not plan to include an RSI filter.

  41. Alexandre says:

    I have a suggestion, in added in option of the ea, the choice of the order to buy or to sell. And a cycle of signal, an example to wait for one or two or three signal for take position.

    1. Yannick says:

      Thanks for your suggestions. Unfortunately, at the moment I am very busy and not able to add more functions to this EA.

  42. 'Chosen says:

    Can you customize this MA Crossing EA for Binary Options trading?

    1. Yannick says:

      No, unfortunately not.

  43. me says:

    thats ma 20 and 40. mere looking at the chart, this only work in a trending market. it will be so awful in a ranging market

    1. Yannick says:

      Yes, you can use the MA Trend Filter to filter the current market trend.

      1. 'Chosen says:

        Please, how can I use the MA trend filter feature correctly?

        1. Yannick says:

          It is described in the function glossary.

  44. Michael Omosomwan says:

    My license for MA EA Pro has expired.

    1. Yannick says:

      Log in to your account and download the newest version for there.

  45. Carl Jordan says:

    Hello Yannik,
    Great work you are doing. Your MA CrossOver EA is of interest to me and I want to buy but I need clarification on the the statement
    “The license of every Expert Advisor you download is time limited, but you can re-download newer versions any time in your purchase history.”

    What does ‘Time Limited’ mean?


    1. Yannick says:

      Once a year you have to login on quivofx and download the newest version in your account for free.

  46. Walter says:

    Hello Yannick!

    I really liked the features of Curious Chameleon EA v3.2 because it has 3 EMA’s I can configure, but I cannot seem to find the download anywhere, including downloading from Market in Metatrader. The Moving Average Cross EA Pro is close, but I really need the 3 EMA’s. Do you know how I can get a download, please?

    Thank you.

    Best regards,

    1. Yannick says:

      The CC EA not available anymore. You can add third MA (MA Filter) in the MA Cross EA. It has the same function as the CC EA had.

      1. Walter says:

        Thanks for the quick reply! I will try the MA Cross EA. I think it will still work for me. Yes, the filter MA makes 3 MA’s, but the CC had 4 MA’s – 3 MA’s plus filter MA.

        Keep up the great work!

        1. Yannick says:

          Oh, I forgot that the CC had 4 MAs.
          Thanks, I will 🙂

  47. Alex says:

    Hi , i am testing the EA , and is there a way to trade only the cross .. open when cross and close the previous and open the new one on cross ???

    1. Yannick says:

      Yes, you should use the ReverseOnOppositeSignal for this.

  48. stu says:

    ive done some extensive back testing. I cannot turn off the trailing stop and make the EA take the stop loss amount or the take profit amount without the trail interfering, even with the settings set to 0. can you have a look please?

    1. Yannick says:

      If you set UseTrailingStop to false, the trailing stop should be turned off.

      1. stu says:

        Hi Yannick, thanks for the reply. Yes its set to false. Still using trailing as the profit is always different etc.

        1. Yannick says:

          I’m not sure what you mean. Can you please open a new topic in the forum and provide screenshots and settings?

  49. Mohamed says:

    Hello Yannik,
    Is it possible to filter MA cross with ATR level in order to avoid range in pro version
    Thank you

    1. Yannick says:

      You can order a custom modification.

      1. greatness says:

        Yes,…. but mine first… !!

        1. Yannick says:


  50. Carlos says:

    Hello, i can’t make it work, my MT4 wouldn’t recognize it, any thoughts?

    1. Yannick says:

      Have you installed it correctly? Do you see some errors in the journal or experts tab?

  51. jean says:

    will it work if i add a shift to the moving averages ?

    1. Yannick says:

      Yes, it will work if you set a positive shift.

  52. toefex says:

    Hello yannnick. could you make MA trend filter by filtering the color of MA line? for example
    long position: MA up – Green
    Short position: MA down – red

    1. Yannick says:

      I do not intend to add this feature. Maybe consider a custom modification.

  53. 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.

  54. 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.

      1. Kevin Hughes says:

        “The EA does only open one trade at the time, but can attach the EA multiple time to a chart with different settings.”

        Hey Yannick,

        I just wanted some clarification – could I theoretically attach this EA to separate EUR/USD 1H, 4H, and D charts? If so, would I need to change any settings (Magic Number?) to make it work?

        1. Yannick says:

          Yes, exactly. You can attach an EA multiple time on the same symbol, but each time with its own Magic Number

  55. Addley says:

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

  56. 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.

  57. 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.

  58. 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.

  59. 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.

  60. 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.

  61. 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

  62. willie says:

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

    1. Yannick says:

      You’ll find the documentation here.

  63. 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 to Yannick Cancel reply

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

This site uses Akismet to reduce spam. Learn how your comment data is processed.