Quote from mischief:
I'll consolidate both replies into one post..
John
Yes, I have done a bit more work on the scripts. I got pinged as a 'pattern trader' because I manually entered one too many trades and my old script had a couple of 'unusual' flaws that triggered too many same day exits. As a result, I had to sit out for 3 months. A very expensive oversight let me tell you!!!
I can't recall which version I posted last, but this one checks for gaps, has a more sophisticated money management system and also limits the number of positions I enter in a single day (to avoid the pattern trader issue). I have also removed the need for a loop to calculate cumulative volume, which should make it run a bit faster.
If you want a copy, PM me and I'll give you my e-mail address. I get enough spam as it is without adding to it by posting my e-mail address in a public forum!
With regard to Amibroker, the standard version will do everything you need to do to run the scripts, but the smallest timeframe it uses is 1 minute. I personally would recommend the 'Professional Edition'. It doesn't cost THAT much more and the 'real time' functionality may be useful in the future. In addition, Tomasz does such an outstanding effort with the software for such a low price, I wouldn't begrudge him the extra license fee. I'll be paying for an upgrade as soon as my current version expires regardless of whether I need it or not, as my way of 'supporting' him.
Billp,
My initial stop loss is 2%. I did extend it to 4% for a while to avoid same day stop outs, but the system performance deteriorated substantially. Now I just enter fewer trades. Bear in mind that I've only switched on real trading again in the last 2 weeks after an 'enforced' trading break.
As soon as my trade has moved above the entry price, I move the stop to break even. The philosophy here is I'd rather take a wash than a loss. If the stock is only a couple of cents above, I'll leave it at the 2% level, this is a bit subjective.
After that, I just leave the stop at break even and wait for it to hit my profit target. If it doesn't, I'll generally exit after 4 days. This is an area I need to work on, since I've noticed that if it hasn't hit the profit target after 4 days, it usually retraces and I get out at break even, which gives up the profit at 4 days that I usually have. I've been tending to hang on for a couple of more days in the 'hope' of hitting 10%, which I need to stop doing.
I don't have the stats to hand, but will try and calculate them over the next few days. Subjectively, a good number do hit the 10%.
The next thing that I want to do is to start trying to automate the rocket and iceberg trades. With Amibroker, you can automatically generate trendlines and compare price to these lines, which THEORETICALLY will allow you to automatically look for FTTs. I can't see however how I could automate FTT trades on the ES or YM. Perhaps when my equities method generates enough cash, I can quit work and trade the 'night shift!'. I certainly love this stuff more than my job (even though work pays pretty well.)