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

    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.

  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
    325

    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
    Business Internet Services | IX Trader Forex Software
    Registered Internet Service Provider (Ripe: AS 16195)

Similar Threads

  1. Replies: 0
    Last Post: 07-21-2014, 11:18
  2. EA WITH ONLY ONE MOVING AVERAGE
    By afoson in forum Trading discussion
    Replies: 0
    Last Post: 07-09-2010, 19:09
  3. EMA exponential cross 100 MA (EA requested)
    By getting in forum Ideas for expert advisors
    Replies: 2
    Last Post: 07-01-2010, 18:37
  4. Moving average EA
    By Rascacio in forum Expert advisors backtesting
    Replies: 3
    Last Post: 02-16-2010, 18:46
  5. New Trading Idea Moving Average
    By peter1977 in forum Ideas for expert advisors
    Replies: 1
    Last Post: 11-03-2009, 23:19

Tags for this Thread

add, average, crossover, dema cross, eas, forex, forex ea, free, indicator, learn, markets, money, moving average, mql, mql4, mt4, rsi, system, trading, trading system

Posting Permissions

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