PureBytes Links
Trading Reference Links
|
That should have been:
Filter = C > HHV( Ref( C, -1), 252 );
AddColumn( C, "252BarHigh" );
Regards,
William Peters (AmiBroker Group Moderator)
www.amitools.com
Friday, December 31, 2004, 1:28:15 PM, you wrote:
WP> Hello sebre,
WP> Its not exactly 52 weeks but close to it.
WP> Run this as an exploration with periodicity set to daily.
WP> /* The high of the current bar is greater than the highest high of the
WP> previous 252 bars. */
Filter = H >> HHV( Ref( H, -1), 252 );
WP> AddColumn( H, "252BarHigh" );
WP> Regards,
WP> William Peters (AmiBroker Group Moderator)
WP> www.amitools.com
WP> Thursday, December 30, 2004, 11:39:51 PM, you wrote:
s>> What formula would identify if the current close was a new 52 week
s>> high?
WP> Check AmiBroker web page at:
WP> http://www.amibroker.com/
WP> Check group FAQ at:
WP> http://groups.yahoo.com/group/amibroker/files/groupfaq.html
WP> Yahoo! Groups Links
------------------------ Yahoo! Groups Sponsor --------------------~-->
$4.98 domain names from Yahoo!. Register anything.
http://us.click.yahoo.com/Q7_YsB/neXJAA/yQLSAA/GHeqlB/TM
--------------------------------------------------------------------~->
Check AmiBroker web page at:
http://www.amibroker.com/
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/
|