My own newbie EA, that works, and then dont :(

Hi,

I just worte my own EA, that works insanly well, all the way from 1999 to 2005 i go from 1000$ to around 75 000$, but after that my EA plummets :frowning:

it seems all my moving average settups works the same way, is there some clue here I am missing?


Hi Richard,

I really don’t know what is your EA trading system. My best guess that during during 1999-mid 2007 the U.S dollar is really plummet agaisnt its counter port (EUR,GBP,…), and also most of carry trades are great long (AUD/JPY,NZD/JPY) and so on.

Then I believe that we the financial crisis begin at end 2007 to early 2010. There are big difference game ball now U.S.D really really strong almost other currencies (except the AUD and the JPY), I hope my ideas may help.

Best of luck

This is a programming issue. Nothing to do with the markets. The clue is in the symmetry. You have a fundamental change in your price feed or a break in your logic kicking in perhaps in one of your variables (e.g it’s flipping to a negative number) or your broker went from 4 to 5 digits and didn’t change the feed or anything else. It’s as if it is deciding to short where it would go long or vice versa. If the code captured a market up trend in the fashion of the first half, if the markets went into a down trend then there is a flaw in the code you use to short. Your first half is making longs and shorts fine irrespective of the market. All of a sudden it’s reversing it’s behaviour. Not failing but reversing.

Investigate. If your stuck message me.

I’m so sorry bro. I have very little knowledge about programing.

Take care,

KL

nevergiveupss, actually thank you for taking the time out to ponder the problem and offer up a suggestion. the forum survives on the generosity of folks who are willing to help. and at the end of the day a fundamental change in the markets relevant to the strategy in the EA may well prove to be the underlying oversight that led to shortcomings in the code.

good for you guys, coz me and programing is like oi and water. :slight_smile: and since you said it your self its a newbie EA, there is always room for improvement, just never give up! all the best! :slight_smile:

Thanks for the replies, I really hope/dream that the code is the problem and not the strategy, because then I think I have a winner :wink:

But I do think that the market ‘changed’ somehow that time(Like MT4 came out, and a lot of people started using this kind of strategy ? :P)

Anyhow, after a lot of reading I really belive in simple systems, and will continue too investigate, and try different aproaches :slight_smile:

I would look at the data you are using to run your test first. Compare the format of the old data with the format of the recent data. I agree with modernmystery that curve makes me think that something is wrong in your code or your data.

Run your EA from 1999 up to the first of the double tops and from the second of the double tops to 2005. Avoid the chasm between the two tops, post the charts and we can theorise some more.

Can you tell us the broker and currency you are testing on? There may be some known issues/changes.
Have you optimised the EA for a period? If so what dates? Watch out for over-optimization.
If you can easily I would recommend checking your money management. Use fixed lots first (0.1) to see basic performance of the strategy and then user percentage later to see possible earnings.

Hi, currently I use Oanda.

I have a big problem with the code now, after some dropbox issues and some modifications the ea stopped working alltogether :stuck_out_tongue: So I am now trying to recreate the ea, but I still have some problems :frowning:

Here is the complete report, if you want to see all the transactions…

and the ea:

(this one does [B]not[B] work:([/B][/B]

Btw, the ea is wery simple, the strategy is to follow a 24 SMA(Close) and buy when the price cross from under to over, and sell when price crosses from upper to lower, using the highest price since last cross for SL, and a ratio of 1:1 TP

I tried enhancing the TP/Close using ‘rainbow’ stochastics, but it seems it is useless :stuck_out_tongue:

Have fun, and I will continue developing the ea…