Welcome Forex EA downloads & MT4/MT5 auto-trading resources — EAs, Gold EAs, quant tools and real-world automation.
Sign In Sign Up

Simple MACD system based on 2 channels

author EAcpu | 3 reads | 0 comments |
Hello everyone.

After working hard on pivotmagic EA (which is becoming more popular every day), I found that simpler mechanics may lead to better profits in the long run. Therefore, I developed an extremely simple system based on 2 MACDs:

MACD1 is used to identify entry points: buy when MACD moves from - to +, sell if it moves from + to -. The fast moving average and the slow moving average are 1 point apart and should be quite high (250+)

MACD2 is used to get the exit point: its fast MA is always 100, but the slow MA is the MA used for MACD1. Once the value reaches a peak in the first period (if buying) or a pit in the first period (if selling), close the trade and take a profit. If the country doesn't make money, then leave.

If MACD2 does not generate profits, wait for a specific time (wait_time_b4_SL) and exit with the smallest possible loss.

Check out the code and you'll understand how it works. These parameters apply to the EURUSD M5 chart by default. But you can always check other values, especially the MACD value.

Attached are the test results of EURUSD during the period (April 7 to June 26, 2005). How impressive!


Great test for all of you...please let me know how it goes!

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

i_me
sl12019.gif
sl12019.gif
sl12019.gif
sl12019.gif
sl12019.gif
sl12019.gif

Attachment to original post (2)

📦 Summary of post attachments (14)

Below are all the files (14) shared in the reply.

Verification code Refresh