PureBytes Links
Trading Reference Links
|
An equivalence to
Buy = Cross (Close, Threshold)
would be
Buy = Close > Threshold AND ref(Close,-1) < Threshold
the difference from Buy = Close > Threshold is easily spotted here.
Johan
--- In amibroker@xxxxxxxxxxxxxxx, "barkand" <damienb4l@xxxx> wrote:
> 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
------------------------ 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/
|