Mar 5, 2012

dan 2adx EA

This robot from 26-02-2011 would have been near the last robots ever coded using the original code-base.

It attempts to trade pull-backs in a trend, using ADX on the 60 minute time frame for trend detection, and stochastic on 5 minute for the pull backs.

It includes options to enable or disable the various filters used by default in previous robots, although this particular robot doesn't actually call the filters even if enabled. I must have started getting disillusioned with the filters by then.

It also has options for different types of stop-loss - pivot, ATR, or high-low stops, and code to call the pivot filter originally acquired from Firedave's Universal Cross EA.

I still had not worked out proper delays with this robot and attempted to get it to sleep after opening or closing orders.

Back-test performance wasn't so great. However, I like the idea of this robot, so I coded it using the modern danw2 code-base (available here).

This version returns a small profit when back-test on EURUSD (5 minute chart, 1-1-2011 to 1-1-2012)


$411 profit, 82% win rate, averages 6 wins in a row. However, average profit is only $5.80 while the average loss is $20.10.

Back-testing on GBPUSD returns the usual terrible results.

Note, if you for some reason download the original version of this robot, you'll also need this library, installed in a folder called c:\include.