PureBytes Links
Trading Reference Links
|
This is possibly more straightforward to find the cross signal for 1 day ago
Buy = ref( Cross( PDI( 3 ), MDI( 3 ) ) ,-1);
Cheers,
Graham
http://e-wire.net.au/~eb_kavan/
-----Original Message-----
From: fsmart21 [mailto:jdgeddie@xxxxxxxxx]
Sent: Thursday, April 29, 2004 3:48 AM
To: amibroker@xxxxxxxxxxxxxxx
Subject: [amibroker] barssince question
This is probably an easy question for most of you guys. How do I set
this parameter so that only data from the previous day (end of day
data) is considered for generating buy/sell signals. Here's my buy
signal:
Buy = BarsSince( Cross( PDI( 3 ), MDI( 3 ) ) ) <= 1
I tried using =1 instead of <=1, but receive a syntax error. I do
not want to look at data of less than one bar (daily setting).
Any ideas?
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
Yahoo! Groups Links
------------------------ 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
Yahoo! Groups Links
<*> To visit your group on the web, go to:
http://groups.yahoo.com/group/amibroker/
<*> To unsubscribe from this group, send an email to:
amibroker-unsubscribe@xxxxxxxxxxxxxxx
<*> Your use of Yahoo! Groups is subject to:
http://docs.yahoo.com/info/terms/
|