PureBytes Links
Trading Reference Links
|
step 1: AA backtest
step 2: click the AA equity button
step 3: right click the equity window pane
step 4: edit the equity indicator formula and replace with Fred's
-----Original Message-----
From: Steve_Almond <steve_almond@xxxxxxxxx>
[mailto:steve_almond@xxxxxxxxx]
Sent: Wednesday, February 26, 2003 12:38 PM
To: amibroker@xxxxxxxxxxxxxxx
Subject: [amibroker] Re: Fred's Equity Line - Problem
Tomasz,
Here's a trivial backtest I've been trying. Don't know how I would
get the buy/sell/short/cover rules at the very top.
Should this be sufficient for the Equity New line to work?
x = ROC(MA(Foreign("^DJI","C"),50),3);
y = ROC(MA(Foreign("^XAU","C"),50),3);
Buy=Cross(x,y);
Sell=Cross(y,x);
Short=Cross(y,x);
Cover=Cross(x,y);
Steve
--- In amibroker@xxxxxxxxxxxxxxx, "Tomasz Janeczko" <amibroker@xxxx>
wrote:
> Steve,
>
> The error message is caused by undefined buy/sell/short/cover
> rules. You have to have them at the very top of the formula.
>
> Best regards,
> Tomasz Janeczko
> amibroker.com
> ----- Original Message -----
> From: <steve_almond@xxxx>
> To: <amibroker@xxxxxxxxxxxxxxx>
> Sent: Wednesday, February 26, 2003 4:00 PM
> Subject: [amibroker] Fred's Equity Line - Problem
>
>
> > When I install Equity Line.txt from the file section, and try to
> > apply it, I get the following error message:
> >
> >
> > Unknown identifier at line 30, column 33:
> >
> >
> > FirstBar = ValueWhen(ExRem(Buy OR
> > --------------------------------^
> >
> >
> > Can anyone suggest a cure?
> >
> > Thanks,
> >
> > Steve
> >
> >
> >
> > Send BUG REPORTS to bugs@xxxx
> > Send SUGGESTIONS to suggest@xxxx
> > -----------------------------------------
> > 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/
> >
> >
> >
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/
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/
|