Well, I spent last evening tracking down some problems in my next foray
into programming expert advisers.It turns our that a simple logical
test was using an '&' instead of an '&&' between two terms.This little
horseshoe nail caused some position closing attempts to fail with an
error 138 -- meaning that the price being used to close the position
was too far away from the market price.I also ran
Tuesday, April 28, 2009
MT4 EA: Stupid Programming Mistakes
Labels: bugs, ea, metatrader, mt4
Monday, April 27, 2009
MT4 EA: Moving Towards Sustainability
Yesterday's experiments with creating an expert advisor to scalp the 5
minute chart show great profits and great risk.I've been working to
reduce the level of risk without taking away the reasonable chance of
making reasonable profits.Here is the most recent chart:This is running
from 01-Feb-2009 to 25-Apr-2009 and obviously surviving any ups and
downs during that period.I'm still not happy with
Sunday, April 26, 2009
MT4 EA: Aggresive 5 Minute Scalper
Well, it's the weekend, what else is a grown man to do?I had an
inspiration for an (overly) aggressive expert advisor today. Basically,
it's a simple buy low and sell high machine using oscillators.Scope out
the chart. It does fairly well for a period of time and then when the
market finds it's achilles heel it is undone.All is not lost. I have
some ideas for improving the aggression factor as