|
|
|
SIMPLE-MACD: An extremely simple & profitable EA based on 2 channels of MACD. Try it!
 |
|
|

Jun 26, 2006 4:49pm
|
|
|
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
Last edited by smjones, Jun 28, 2006 12:26pm
|

Jun 26, 2006 5:10pm
|
 |
Member
|
|
|
|
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
|

Jun 26, 2006 5:19pm
|
|
|
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.
|

Jun 26, 2006 5:26pm
|
 |
Member
|
|
|
|
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.
|
|

Jun 26, 2006 5:33pm
|
|
|
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.
|

Jun 26, 2006 6:41pm
|
 |
THANK YOU MERLIN,TWEE and FF Team
|
|
|
|
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"
|

Jun 26, 2006 9:13pm
|
 |
Member
|
|
|
|
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
|
|

Jun 26, 2006 9:16pm
|
 |
Member
|
|
|
|
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.
.
|
|

Jun 27, 2006 9:00am
|
 |
Member
|
|
|
|
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. 
|

Jun 27, 2006 10:49am
|
 |
Member
|
|
|
|
its not an indicator, its an expert advisor
|

Jun 27, 2006 10:51am
|
 |
Member
|
|
|
|
and what about my other question with the macds (see the graph).
|

Jun 27, 2006 10:52am
|
|
|
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.
|

Jun 27, 2006 11:49am
|
|
|
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
|

Jun 27, 2006 11:56am
|
|
|
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
|

Jun 27, 2006 12:19pm
|
 |
Trader and Programmer
|
|
|
|
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
|
 |
|
|
1 Trader Viewing This Thread (0 are members)
|
|
|
| Thread Tools |
Search this Thread |
|
|
|
|