I need help adding code to existing EA

 

I want to add a stoploss and money management aspect to the MACD Sample EA that comes with the metatrader platform. I have tried but come up with several errors I cannot seem to fix. I believe I can make this a very profitable EA with these additions. Thanks in advance.

Kevin

 
Kaper:
I want to add a stoploss and money management aspect to the MACD Sample EA that comes with the metatrader platform. I have tried but come up with several errors I cannot seem to fix. I believe I can make this a very profitable EA with these additions. Thanks in advance. Kevin

You may look at this thread with some codes examples. It is templates to create EAs with many variation s and easy to use https://www.mql5.com/en/forum/173059

Besides there are some simple MACD EAs:

- Automated MACD Trader: public thread.

- SIMPLE-MACD-EA: public thread.

Reason: