Thanks, I've written some code in custom backtester which seems to
be working. Do you know of a better way to find out which bar the
trade opens than using if(Openpos.barsintrade==1)...? this seems
less direct that the isentry() command.
Hugh
--- In amibroker@yahoogroups.com, "gp_sydney" <[EMA
Assuming those two trades are in different stocks, I think you may
need to use the custom backtester interface.
If they were both long trades, or both short trades, you might have
been able to do something with AddToComposite and then ApplyStop with
a percentage drop, but I can't think how that wo