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
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 File(s)
simple-macd-EA.mq4
9 KB
|
11,323 downloads
Simple-MACD-results-EURUSD.zip
9 KB
|
10,009 downloads