Meta Trader – Trading Based on MACD v1

This is my first post on auto trader.  Let’s start off with very simple MACD base trading, which is not profitable yet.  We are going to work it out, so that it is profitable later.

You can get this code at


Let’s run back testing and see how profitable or not profit this program is.

OK, the trader from 2016 July 1st to 2017 Jan 23rd, monitored 7730811 ticks, tested 4339 bars, gross profit of 568.78 and gross loss of 597.23.

I have started out with 10K USD, lost -28.45 USD, not much of loss, I guess.. but considering time, it’s not just lost, but waste of time.

Let’s reorganize this code next.

Leave a Reply

This site uses Akismet to reduce spam. Learn how your comment data is processed.