PureBytes Links
Trading Reference Links
|
although the question has been answered it could be helpful to visualize
such questions.
you could place inside a new incicator builder:
th=29.5;
Plot(Cross(C,th),1,1);
Plot(C>th,colorRed,1);
if you now plot the QQQ's for the last year you see what is going on.
----- Original Message -----
From: "barkand" <damienb4l@xxxxxxx>
To: <amibroker@xxxxxxxxxxxxxxx>
Sent: Monday, December 15, 2003 7:32 PM
Subject: [amibroker] Cross vs. >
> Can someone help me understand why
>
> Buy = Cross (Close, Threshold)
>
> gives substantially different backtesting results than
>
> Buy = Close > Threshold
>
> (with Buy on Open)?
>
> I had been using > in Buy and Sell statements, but then noticed in
> the AFL Library that usually Cross was used. So I tried it, expecting
> that the results would be the same, but they were substantially
> different. What accounts for this?
>
> Thanks,
>
> Damien
>
>
>
> 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/
>
>
>
------------------------ Yahoo! Groups Sponsor ---------------------~-->
Buy Ink Cartridges or Refill Kits for your HP, Epson, Canon or Lexmark
Printer at MyInks.com. Free s/h on orders $50 or more to the US & Canada.
http://www.c1tracking.com/l.asp?cid=5511
http://us.click.yahoo.com/mOAaAA/3exGAA/qnsNAA/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/
|