PureBytes Links
Trading Reference Links
|
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 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/
|