PureBytes Links
Trading Reference Links
|
Thanks, Nigel. Unfortunately, your explanation doesn't help. The "extra"
trades sometimes occur a year after being stopped out. I am sorry for not
giving some examples. I had better do so now using the output of Backtest:
Without Equity(1):
ABAX Long 11/Aug/1982 16/Dec/1994
ABAX Long 12/Jul/1995 05/Jul/1996
ABAX Long (max loss) 09/Sep/1996 18/Dec/1996
ABAX Long (max loss) 14/Apr/1998 02/Sep/1998
With Equity(1):
ABAX Long 11/Aug/1982 16/Dec/1994
ABAX Long 12/Jul/1995 05/Jul/1996
ABAX Long (max loss) 09/Sep/1996 18/Dec/1996
ABAX Long 23/Dec/1996 21/Nov/1997 *
ABAX Long (max loss) 14/Apr/1998 02/Sep/1998
ABAX Long 20/Jul/1999 27/Mar/2003 **
* (extra trade, a few days after being stopped)
** (extra trade, almost a year after being stopped)
As I said, it's probably not a matter of "extra" trades when I use the
Equity statement. It is more likely "missing" trades when I don't use it.
Cheers
> -----Original Message-----
> From: Nigel Rowe [mailto:rho@xxxxxxxxxxx]
> Sent: Sunday, April 13, 2003 2:03 AM
> To: amibroker@xxxxxxxxxxxxxxx
> Subject: Re: [amibroker] Equity(1)?
>
>
> Chuck,
> possibly when the stops were applied, (thus cutting a trade
> short), they
> revealed another buy.
>
> For example if you originaly had a buy on monday, sell on friday
> (I'm just
> using the days as an example), but was stopped out on tue, it
> revealed a buy
> on wed, which started a new trade.
>
> ie, before
> M Buy
> T
> W
> T
> F Sell
> after
> M Buy
> T Stopped out
> W Buy
> T
> F Sell
>
> The Wednesday buy was there all along of course, but was ignored
> since there
> was already an open trade (started on Mon).
>
> I hope the explanation of my idea makes sense!
>
> --
> Nigel
>
> On Sun, 13 Apr 2003 03:52 pm, Chuck Rademacher wrote:
> > Background: I'm trying to create a composite that will show
> the amount of
> > capital required to trade every signal generated by my system
> on a basket
> > of stocks. This should be easy! I managed to determine if
> I'm long or
> > short except under the circumstances where I have been stopped out. My
> > "ApplyStop" wasn't setting the "sell" condition, nor is it
> intended to do
> > so.
> >
> > So, a little more reading and I discover the "Equity(1)" function.
> >
> > I placed the statement right after my "ApplyStop" statement.
> >
> > Everything seemed to be working fine. However, I now generate
> a few extra
> > trades that weren't being generated before adding the Equity(1) line.
> >
> > How can this be?
> >
> > I have read the help section for the Equity function more than a dozen
> > times and still find it confusing to me. It seems to set the "sell"
> > condition if a stop has been applied. That's how I want to
> use it. But
> > I cannot understand why I now pick up a few extra trades for
> most stocks.
> > The extra trades seem to be legitimate. So, I guess the real question
> > could be why weren't they generate before I added the Equity(1)
> statement?
> > Does everyone ALWAYS add the Equity(1) statement to every system?
> >
> > I look forward to hearing from someone on the issue.
> >
> > Thanks
>
------------------------ Yahoo! Groups Sponsor ---------------------~-->
Make Money Online Auctions! Make $500.00 or We Will Give You Thirty Dollars for Trying!
http://us.click.yahoo.com/yMx78A/fNtFAA/i5gGAA/GHeqlB/TM
---------------------------------------------------------------------~->
Send BUG REPORTS to bugs@xxxxxxxxxxxxx
Send SUGGESTIONS to suggest@xxxxxxxxxxxxx
-----------------------------------------
Post AmiQuote-related messages ONLY to: amiquote@xxxxxxxxxxxxxxx
(Web page: http://groups.yahoo.com/group/amiquote/messages/)
--------------------------------------------
Check group FAQ at: http://groups.yahoo.com/group/amibroker/files/groupfaq.html
Your use of Yahoo! Groups is subject to http://docs.yahoo.com/info/terms/
|