The only problem I see with setting up a bracket order ahead of time with your entry is that, if you get a better fill than your limit request, you've allowed the market to widen your stop and shorten your target over what you wanted initially.
It's probably a good idea to check your fill against where you wanted to get filled originally and then adjust your stop/target bracket (automatically in the script) to reestablish your original risk/reward setup. Otherwise, you could have double-slippage where you unintentionally widened your stop with a better-than-expected fill and then, if you get your stop filled on the bracket, since it's not a limit order, get dragged again for 1 or 2 more ticks of slippage. Not fun. The latter slippage is avoidable though while the former is not. --- In amibroker@yahoogroups.com, "treatmentinprogress" <[EMAIL PROTECTED]> wrote: > > If you want to trade from the chart, here is a link to some code > > http://blog.tipster.ca/2008/08/tipster-trendlines.html >