PureBytes Links
Trading Reference Links
|
I am far from a Guru, but one of the true Gurus recently
responded to a similar email of mine, and that is how I learned about how useful
Sum() can be.
When I first read about Sum() in the user manual, there
was nothing there to give me any idea at all about how valuable it
is.
Buy=yourotherconditions AND
sum(stochk(n)<30,5)>=1; Hope this helps. Ron D
<BLOCKQUOTE
>
----- Original Message -----
<DIV
>From:
bflori
To: <A title=amibroker@xxxxxxxxxxxxxxx
href="">amibroker@xxxxxxxxxxxxxxx
Sent: Wednesday, April 07, 2004 6:21
PM
Subject: [amibroker] Next 5 days
I want to create a line of code that says "if a condition is true in
any of the last 5 days".For instance, if a 17/30 sma crossover
occurs AND IF STOCH K IS BELOW 30 IN ANY OF THE LAST 5 DAYS,then Buy. Or
simply screen for stocks where this dual condition is present.Any
suggestions on how I write this "last 5 days condition"?Many thanks to
you gurus.bflori@xxxxxxx
Send BUG REPORTS to <A
href="">bugs@xxxxxxxxxxxxxSend SUGGESTIONS to
<A
href="">suggest@xxxxxxxxxxxxx-----------------------------------------Post
AmiQuote-related messages ONLY to: <A
href="">amiquote@xxxxxxxxxxxxxxx (Web
page: <A
href="">http://groups.yahoo.com/group/amiquote/messages/)--------------------------------------------Check
group FAQ at: <A
href="">http://groups.yahoo.com/group/amibroker/files/groupfaq.html
Yahoo! Groups Links<*> To visit your group on the web, go
to: <A
href="">http://groups.yahoo.com/group/amibroker/<*>
To unsubscribe from this group, send an email to:
<A
href="">amibroker-unsubscribe@xxxxxxxxxxxxxxx<*>
Your use of Yahoo! Groups is subject to: <A
href="">http://docs.yahoo.com/info/terms/
---Outgoing mail is certified Virus Free.Checked by AVG
anti-virus system (<A
href="">http://www.grisoft.com).Version: 6.0.638
/ Virus Database: 409 - Release Date: 4/7/2004
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 the Yahoo! Terms of Service.
|