Feb 22, 2012

danw2 - dollar bot EA

"Dollar Bot" from 17-06-2011 is a simple robot that tries make $1.

How hard could that be, right?

As it turns out, in Forex, it's pretty damn hard to make (and keep) even a dollar.

This robot hedges aggressively upon failing to make it's dollar. The idea was that as the price eventually decided where it wanted to go, "Dollar Bot" would open orders in that direction until it had enough to counter any trades in the "wrong" direction, and then close everything and break-even.

It kind of worked, for a little while, until the market moved aggressively one way or another, leaving orders in the "wrong" direction massively in the negative, dragging down account equity until margin call time.

I added an equity check filter to stop the robot trading if it got too low, but basically all that did was delay the inevitable.

The graph shows very small gains, and two periods of large losses. A 75% loss over-all, despite winning 74% of it's trades, averaging 6 wins to 2 losses.

Back-test from 1-1-2011 to 1-1-2012, 15 minute EURUSD chart.



It was exciting thinking at the time, but every hedging robot I've ever designed has ended this way.

This robot is also fun to run on the 1 minute chart. Unfortunately during back-testing it gets hung up at some stage and never completes the test. But try it on a demo account.