View Single Post
  #29 (permalink)  
Old 10-25-2006, 01:51 AM
asmocon asmocon is offline
Junior Member
 
Join Date: Oct 2006
Posts: 5
asmocon is on a distinguished road
Quote:
Originally Posted by balista4
Sashken You Rock...

You have taken an unbeatable lead, clear 7000 USD lead in one single day WOWOWOWWOW...................

Folks, This EA is the road to freedom

The compitition will heat up now.

It would be good if some experienced guys from TSD, could explain the working of this EA and put more lights and thoughts on it..as newbies like me are unable to comprehend ....

Thanks....

Basically sashken's EA trades fully on the Daily Moving Averages. He has one Moving average set at (MA1) Period 7- Smoothed-Close and the second one is (MA2) 20-Simple-Open.

What it does it it looks at the previous closed candle and says, "If MA1 is crossing MA2 and going down, sell. If MA1 is crossing MA2 and going up, buy. Also, if I have a trade currently open and it cross, close current order and reopen in the new formed direction." And it is all based on Daily charts, which is why he has only made 3 trades in 3+ weeks.

Also, he code is built around and optimized for Alpari, which has their data feed start at exactly 00:00hours (They have a Russian branch and a UK branch). If you have a US trading company (Interbank, FXDD, etc) they usually start their feed on Sunday, so you end up getting a 7-hour bar, that represents a "full" daily bar. This causes a lot of problems for US trades because that 7-hour bar will completely shift the moving averages when compared at a "daily" level. Also the Friday bar on US feeds actually have nearly 38 hours of data instead of 24 hours to make up for that for the left over hours from the Sunday, which makes the Friday bar do weird things with his code. To better see this, just look at the daily charts and compare with his and you will see that the US feeds actually have an extra candle (missing from his charts) because we have that little Sunday bar screwing everything up. I thought I would let people know this because they put his code on a US feed server and end up losing money because of it.

But, if you can get a feed that starts the day at 00:00 GMT, you will be good. I went ahead and modified this code a bit to have a stop-loss option (just for back testing to make me feel safer), plus change how it did it's lots so that it can trade mini's too. If anyone wants those just let me know.
Reply With Quote