+ Reply to Thread
Results 1 to 4 of 4
 0 Attachment(s)    

Thread: Double exponential moving average cross *EA IDEA*

  1. #1
    Junior Member
    Join Date
    Jan 2012
    Posts
    2

    Talking Double exponential moving average cross *EA IDEA*

    Hello fellow traders,

    New to the forum and here to learn more about EAs and other traders
    strategies.

    This is a trading system that I have been using for the last few years.

    It is based on the double exponential moving average (DEMA) 40 and 80 cross on the 5min timeframe.

    I was wandering if anybody could code this EA in MQL4, along with another indicator to filter out ranging markets and money management.

    The opening / exit of trades are based on the cross of the DEMAs.

    Its a basic EA for an experienced coder I think.

    Feel free to add anything to the EA that you may think make it a lot better.

    Thanks again and I'm sorry I can't post up the DEMA indicator as I'm using my blackberry at the moment.

    Thanks in advance and look foward to being apart of the forum!

  2. #2
    Member
    Join Date
    Apr 2010
    Posts
    83

    Default

    Sounds interesting but im pretty sure I've seen something similar around before. I can't remember the name but I will do my best to try to find it for you.
    Best Forex Robots <-------> Latest Forex Robot Reviews

  3. #3
    Junior Member
    Join Date
    Jan 2012
    Posts
    2

    Default

    Thanks forexfbi.

    Love your site also, visit it a lot.

    Keep up the good work

  4. #4
    Member
    Join Date
    Jan 2009
    Location
    Austria
    Posts
    310

    Default

    Quote Originally Posted by neophyte View Post
    Hello fellow traders,

    New to the forum and here to learn more about EAs and other traders
    strategies.

    This is a trading system that I have been using for the last few years.

    It is based on the double exponential moving average (DEMA) 40 and 80 cross on the 5min timeframe.

    I was wandering if anybody could code this EA in MQL4, along with another indicator to filter out ranging markets and money management.

    The opening / exit of trades are based on the cross of the DEMAs.

    Its a basic EA for an experienced coder I think.

    Feel free to add anything to the EA that you may think make it a lot better.

    Thanks again and I'm sorry I can't post up the DEMA indicator as I'm using my blackberry at the moment.

    Thanks in advance and look foward to being apart of the forum!
    there are serveral moving average crossover ea's out here and in the forex world, the easy with rsi filter:

    extern int MAMA1Period=40;//|----------------------- Exponential moving average period 1
    extern int MAMA1Method=MODE_EMA;
    extern int MAMA1Price=PRICE_CLOSE;
    extern int MAMA2Period=80;//|---------------------- Exponential moving average period 2
    extern int MAMA2Method=MODE_EMA;
    extern int MAMA2Price=PRICE_CLOSE;
    extern int MAMARSIPeriod=8;//|----------------------- Relative strenght indicator period

    if (iMA(0,0,MAMA1Period,0,MAMA1Method,MAMA1Price,0)>i MA(0,0,MAMA2Period,0,MAMA2Method,MAMA2Price,0)
    && iRSI(0,0,MAMARSIPeriod,PRICE_CLOSE,0)>55){myOrderT ype=Buy;} //Buy

    if (iMA(0,0,MAMA1Period,0,MAMA1Method,MAMA1Price,0)<i MA(0,0,MAMA2Period,0,MAMA2Method,MAMA2Price,0)
    && iRSI(0,0,MAMARSIPeriod,PRICE_CLOSE,0)<45){myOrderT ype=Sell;} //Sell
    IXBONE
    Forex VPS, IX Trader Forex Software
    Business Internet Services
    Registered Internet Service Provider (Ripe: AS 16195)

+ Reply to Thread

Similar Threads

  1. EA WITH ONLY ONE MOVING AVERAGE
    By afoson in forum General discussion
    Replies: 0
    Last Post: 07-09-2010, 18:09
  2. New Trading Idea Moving Average
    By peter1977 in forum Ideas for expert advisors
    Replies: 1
    Last Post: 11-03-2009, 22:19
  3. Moving average v2
    By funyoo in forum Expert advisors backtesting
    Replies: 5
    Last Post: 08-12-2009, 19:39

Tags for this Thread

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts