Home
Search Forums
Keywords:
Search Titles Only
User Name:
Exact Match
Show Results As:
Advanced Options
Reply
 
Thread Tools Search this Thread
  #1  
Old Jun 26, 2006 4:49pm
Member
 
Member Since Jun 2006
Default SIMPLE-MACD: An extremely simple & profitable EA based on 2 channels of MACD. Try it!

Hi again folks.

After working hard on the pivotmagic EA (which is getting popular every day), I found that simpler mechanisms are probably better for profit in the long run. I therefore developed an extremely extremely simple system based on 2 MACDs:

MACD1 is to identify the entry point: When the MACD moves from - to + do a buy and if it goes from + to - go do a sell. The fast and slow MAs are 1 point apart and should be quite high (250+)

MACD2 is to get the exit point: It's fast MA is always 100 but the slow one is the one used for MACD1. Once the value reaches the peak during the first cycle if it is a buy or a pit during the first cycle if it is a sell, then close the deal with profit. If the state is not profitable, just leave it.

In case MACD2 didn't produce profit, wait for a specific period (wait_time_b4_SL) and then exit with the least loss possible.

Check the code and you'll understand how this one works. The paramenters are good in default for EURUSD M5 charts. But you can always check other values, particularly MACD values.

Attached is also a test result for EURUSD during (4/7-6/26 2005). Really impressive!


Good testing for you all... and please update me with progress!

Attached is the source code. Please post comments/results when possible!

i_me
Attached Files
File Type: mq4 simple-macd-EA.mq4 (8.7 KB, 8713 views)
File Type: zip Simple-MACD-results-EURUSD.zip (9.3 KB, 7879 views)

Last edited by smjones, Jun 28, 2006 12:26pm
Reply With Quote
  #2  
Old Jun 26, 2006 5:10pm
Yardie's Avatar
Member
 
Member Since May 2006
Question

Hey Investor_me I am testing this one. I notice that there is not much to configure. I am using 0.2 lots instead of 1.0. Is TP and SL and all that already built into the EA?

Last edited by Yardie, Jun 26, 2006 5:24pm
Reply With Quote
  #3  
Old Jun 26, 2006 5:19pm
Member
 
Member Since Jun 2006
Default

Quote:
Originally Posted by Yardie
Hey Investor_me I am testing this one. I notice that there is not much to configure. I am using 0.2 lots instead of 1.0. Is TP and SL and all that already built into the EA?
TP and SL are dynamic and are built in. But given that the code is readily available, one can change them to static. But I always felt that EAs are best when they can have dynamic TP and SL. That's only my opinion.

BTW, there's a parameter called wait_time_b4_SL and it is basically the number of bars that you can wait before triggering an emergency exit from a losing position.

Plz post test results whenever you can.
Reply With Quote
  #4  
Old Jun 26, 2006 5:26pm
Yardie's Avatar
Member
 
Member Since May 2006
Question

More questions. Is this EA time sensitive as well? In other words, if my power goes out do I have to close the order opened myself? Are the results shown in the graph above based on the default settings? Is there anything I should be configuring other than the lot sizes? Should I leave the wait_time_b4_SL the way it is? I am assuming the graph above is based on this not being changed.



Quote:
Originally Posted by investor_me
TP and SL are dynamic and are built in. But given that the code is readily available, one can change them to static. But I always felt that EAs are best when they can have dynamic TP and SL. That's only my opinion.

BTW, there's a parameter called wait_time_b4_SL and it is basically the number of bars that you can wait before triggering an emergency exit from a losing position.

Plz post test results whenever you can.
Reply With Quote
  #5  
Old Jun 26, 2006 5:33pm
Member
 
Member Since Jun 2006
Default

Quote:
Originally Posted by Yardie
More questions. Is this EA time sensitive as well? In other words, if my power goes out do I have to close the order opened myself? Are the results shown in the graph above based on the default settings? Is there anything I should be configuring other than the lot sizes? Should I leave the wait_time_b4_SL the way it is? I am assuming the graph above is based on this not being changed.
Yes, you need to close the order yourself. But you can add a global variable with the pending_time variable set and a small conditional statement that could identify if an order has been opened by the EA and not yet closed. It's a very easy process. If you want, I'll put it in a later version.

The results are based on the default settings and were in the M5 timeframe. As for wait_time_b4_SL, it is a tricky parameter. In the ideal market conditions where there are no severe hikes/nosedives, this value could remain high because we don't expect a drastic change. But if you expect such massive movements, it's wise to reduce it let's say to 2,000 or less depending on the level of risk you want. There's no clear cut answer to this question. That's why I'm proposing that we test it together and find the best settings for the different pairs/timeframes.
Reply With Quote
  #6  
Old Jun 26, 2006 6:41pm
smjones's Avatar
THANK YOU MERLIN,TWEE and FF Team
 
Member Since Mar 2006
Default

Hi investor_me, what was the timeframe of your strategy tester statement you listed in the zip file? Thanks Scott



Quote:
Originally Posted by investor_me
Yes, you need to close the order yourself. But you can add a global variable with the pending_time variable set and a small conditional statement that could identify if an order has been opened by the EA and not yet closed. It's a very easy process. If you want, I'll put it in a later version.

The results are based on the default settings and were in the M5 timeframe. As for wait_time_b4_SL, it is a tricky parameter. In the ideal market conditions where there are no severe hikes/nosedives, this value could remain high because we don't expect a drastic change. But if you expect such massive movements, it's wise to reduce it let's say to 2,000 or less depending on the level of risk you want. There's no clear cut answer to this question. That's why I'm proposing that we test it together and find the best settings for the different pairs/timeframes.
__________________
There are no Gurus, only dead Buddhas; "If you meet the Buddha on the Road, Kill Him"
Reply With Quote
  #7  
Old Jun 26, 2006 9:13pm
Yardie's Avatar
Member
 
Member Since May 2006
Lightbulb

I think he said above that it was 5 minutes.



Quote:
Originally Posted by smjones
Hi investor_me, what was the timeframe of your strategy tester statement you listed in the zip file? Thanks Scott
Reply With Quote
  #8  
Old Jun 26, 2006 9:16pm
Yardie's Avatar
Member
 
Member Since May 2006
Arrow

The global variable would me a nice addition investor_me! I hope to see it in the next version.

One more question. How many trades per week on average can one expect from this EA? So far on the demo no trades have been triggered.


Quote:
Originally Posted by investor_me
Yes, you need to close the order yourself. But you can add a global variable with the pending_time variable set and a small conditional statement that could identify if an order has been opened by the EA and not yet closed. It's a very easy process. If you want, I'll put it in a later version.
.
Reply With Quote
  #9  
Old Jun 27, 2006 9:00am
miketoll's Avatar
Member
 
Member Since Jun 2006
Default

hi, i wanted to test your strat, but as i am relatively new i have a problem with the two macs:
I dont know where to exit and when to enter:
Is it right, that i have to BUY, when the red vertically lines cross the yellow lines from below and when the red lines cross the yellow lines from above i have to sell?. The same at exit?
Below i posted a picture of my chart, just to give you an example.
Best greets
mike


btw: if i load the indicator in metatrader4, the indicator is not displayed in the chart, why? This happend also to some other indicators. Maybe you can help me there, too.
Reply With Quote
  #10  
Old Jun 27, 2006 10:49am
americanteek's Avatar
Member
 
Member Since Apr 2006
Default

its not an indicator, its an expert advisor
Reply With Quote
  #11  
Old Jun 27, 2006 10:51am
miketoll's Avatar
Member
 
Member Since Jun 2006
Default

and what about my other question with the macds (see the graph).
Reply With Quote
  #12  
Old Jun 27, 2006 10:52am
Member
 
Member Since Apr 2006
Default optimized E/A on euro

Here my latest optimization on the MACD 5min Euro E/A 5630.00 68 1.56 82.79 3140.00 28.52% MACD_level=390 Lots=1 TrailingStop=55 MAGIC=123456 tp_limit=100 wait_time_b4_SL=10000

On the 4 months Feb to June 06 it's showing proft of $5630.
Attached Files
File Type: doc optimized euro.doc (71.0 KB, 3070 views)
Reply With Quote
  #13  
Old Jun 27, 2006 11:49am
Member
 
Member Since Apr 2006
Default

More optimization for 5min Euro, Feb to June 06, 4 months profit $7229 with defaults, but the MACD level is 395 and Trailing Stop 15
Reply With Quote
  #14  
Old Jun 27, 2006 11:56am
Member
 
Member Since Jun 2006
Default

Quote:
Originally Posted by bluemoon
More optimization for 5min Euro, Feb to June 06, 4 months profit $7229 with defaults, but the MACD level is 395 and Trailing Stop 15
That's pretty good results. I hope that with such optimum settings, one could try forward testing it on a live account and see the results.

If you can, please post the whole result report (html).

Thanks again
Reply With Quote
  #15  
Old Jun 27, 2006 12:19pm
piccolo's Avatar
Trader and Programmer
 
Member Since Feb 2006
More than 10 Vouchers  850 Posts
Default

Quote:
Originally Posted by investor_me
That's pretty good results. I hope that with such optimum settings, one could try forward testing it on a live account and see the results.

If you can, please post the whole result report (html).

Thanks again
using default settings on eurusd h4 for 12 month of 1m data.

http://www.forexfix.com/reports/simp...h4-default.htm

good profit/loss ratio, bad risk/reward
__________________
My wife singing.. http://www.youtube.com/watch?v=wU1pD4xPe2M&NR=1&fmt=18
Reply With Quote
Reply

1 Trader Viewing This Thread (0 are members)
 
Thread Tools Search this Thread
Search this Thread:

Advanced Search


Similar Threads
Thread Thread Starter Forum Replies Last Post
my new, Extremely simple, 2 indicator scalping/5min method nikolaou13 Trading Systems 78 Jan 23, 2009 12:54pm
Simple MACD System - Make 100 Pips a Week! FxPundit Rookie Discussion 10 Sep 11, 2008 9:47am
Making Money is Extremely Simple ChesterB Trading Discussion 9 Jan 7, 2008 5:19am
Simple MACD w/ Semi-Martingale MM ForexDude2 Trading Systems 8 Sep 10, 2007 12:00am
Simple MACD Trading System Moe Trading Systems 18 Jul 18, 2007 3:15pm