PureBytes Links
Trading Reference Links
|
Hi,
The Cross function returns True (or 1) on the bar that Array1 CROSSES above Array2. After it has crossed above Array2 it will return False (or 0).
Whereas this formula "MA(C,30) > MA(C,50)" will produce a true signal every day that the MA30 is greater than MA50.
Here is the reference:
http://www.amibroker.com/guide/afl/afl_view.php?name=CROSS
Regards,
William Peters
www.amitools.com
-----Original Message-----
From: barkand [mailto:damienb4l@xxxxxxx]
Sent: Monday December 15, 2003 2:12 PM
To: amibroker@xxxxxxxxxxxxxxx
Subject: [amibroker] Re: Cross vs. >
HB,
Thanks for your reply.
However, I've looked at all the message titles dated Nov 29, 2002 --
#'s 28540 thru 28588 -- and didn't see any messages titled "Cross or
> ??".
Yahoo Groups' search facility is worthless. Are you sure that date is
correct?
Thanks,
Damien
--- In amibroker@xxxxxxxxxxxxxxx, "HB" <hmab@xxxx> wrote:
> Damien,
>
> Refer to a long thread titled "Cross or > ??" that started on Nov
29, 2002.
>
> HB
>
>
> ----- Original Message -----
> From: barkand
> To: amibroker@xxxxxxxxxxxxxxx
> Sent: Monday, December 15, 2003 1: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
>
>
> Yahoo! Groups Sponsor
> ADVERTISEMENT
>
>
>
>
> 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 the Yahoo! Terms of
Service.
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/
|