PureBytes Links
Trading Reference Links
|
<FONT face=Arial color=#0000ff
size=2>CB,
I
think that < > is indeed appropriate. My guess is that perhaps you did not
code the time correctly. Try this...
<FONT face=Arial color=#0000ff
size=2>
Filter=TimeNum()><SPAN
class=608104217-22122003>=130000 AND TimeNum() <SPAN
class=608104217-22122003>=<160000 AND C>0;
<FONT
size=2>AddColumn(TimeNum(),""<FONT face=Arial
size=2>);
Buy<FONT
color=#0000ff>=Filter<FONT
color=#282828 size=2>;<FONT
size=2>
Sell<FONT
color=#0000ff>=C<FONT
size=2><0<FONT color=#282828
size=2>;
<FONT face=Arial
color=#0000ff>
<FONT face=Arial
color=#0000ff size=2>run it on a stock as a system test then click the test
results to provide arrows on your interday chart. I think you will see that the
arrows begin at 13:00:00 and end at 16:00:00. If this is what you are looking
for then simply change the c>0 in the filter to your
condition...
Regards,
Jayson
<FONT face=Tahoma
size=2>-----Original Message-----From: cjbrennan123
[mailto:cjbrennan123@xxxxxxxxx]Sent: Monday, December 22, 2003 12:26
PMTo: amibroker@xxxxxxxxxxxxxxxSubject: [amibroker] AFL
script between two time points...Hello:Happy
Holidays!Could you please help me with a bit of AFL logic: (it's quite
simple, but nonetheless elusive to me.)I'd like to generate a BUY
signal when conditions are right ONLY within a certain time window of 1300h
and 1600h.I later guessed that < > operators were not
appropriate when using timenum(), and that perhaps the cross function was
needed here? Please
help.Thanks,CBSend
BUG REPORTS to bugs@xxxxxxxxxxxxxSend SUGGESTIONS to
suggest@xxxxxxxxxxxxx-----------------------------------------Post
AmiQuote-related messages ONLY to: 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 the <A
href="">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
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.
|