PureBytes Links
Trading Reference Links
|
Mark,
Note that one equals sign is an assignment operator.
Filter = O > Ref(H,-1) AND C > O AND C == H;
AddColumn(Open,"Open");
AddColumn(High,"High");
AddColumn(Low,"Low");
AddColumn(Close,"Close");
Best regards,
William Peters
www.amitools.com
Sunday, May 16, 2004, 5:17:13 PM, you wrote:
m> I'm running a filter (below) to find stocks that gap up at the open
m> and close at their high for the day.
m> The problem is that the close in the code below does not match what
m> the close is for the built in price chart, so I'm getting tickers in
m> this filter where the chart close does not match the filter close.
m> Has anyone else run into this? If so, can you point me in a
m> direction to fix this?
Filter = O >> Ref(H,-1)
AND C >> O
m> AND C = H;
m> AddColumn(Open,"Open");
m> AddColumn(High,"High");
m> AddColumn(Low,"Low");
m> AddColumn(Close,"Close");
m> Thanks,
m> Mark
m> Send BUG REPORTS to bugs@xxxxxxxxxxxxx
m> Send SUGGESTIONS to suggest@xxxxxxxxxxxxx
m> -----------------------------------------
m> Post AmiQuote-related messages ONLY to: amiquote@xxxxxxxxxxxxxxx
m> (Web page: http://groups.yahoo.com/group/amiquote/messages/)
m> --------------------------------------------
m> Check group FAQ at:
m> http://groups.yahoo.com/group/amibroker/files/groupfaq.html
m> Yahoo! Groups Links
------------------------ Yahoo! Groups Sponsor ---------------------~-->
Yahoo! Domains - Claim yours for only $14.70
http://us.click.yahoo.com/Z1wmxD/DREIAA/yQLSAA/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/
|