Use Percentile >From the help file...
// Example 1: // show bars when 'current' Day Volume ranks within // TOP 30% of volumes of last 100 bars (is above 70th Percentile) Filter = Volume > Percentile( Volume, 100, 70 ); Regards, Duke Jones, CMT > -------Original Message------- > From: Bob Jagow <[EMAIL PROTECTED]> > Subject: RE: [amibroker] Code for volume of a stock in the top 50% of volume > in the past 90 days > Sent: 21 May '07 08:56 > > You have to scan all stocks for ma(v,90) and split the output at the > midpoint. > > -----Original Message----- > From: [LINK: mailto:amibroker%40yahoogroups.com] > amibroker@yahoogroups.com [mailto:[LINK: > mailto:amibroker%40yahoogroups.com] [EMAIL PROTECTED] Behalf > Of samu_trading > Sent: Sunday, May 20, 2007 4:15 PM > To: [LINK: mailto:amibroker%40yahoogroups.com] amibroker@yahoogroups.com > Subject: [amibroker] Code for volume of a stock in the top 50% of volume > in > the past 90 days > > This seems to tough for a newbie like me. How can I code to scan for > all stocks that are in the top 50% of overall volume in the past 90 > days? > > filter=volume> ....? > > Thanks, Samantha > > Please note that this group is for discussion between users only. > > To get support from AmiBroker please send an e-mail directly to > SUPPORT {at} amibroker.com > > For NEW RELEASE ANNOUNCEMENTS and other news always check DEVLOG: > [LINK: http://www.amibroker.com/devlog/] http://www.amibroker.com/devlog/ > > For other support material please check also: > [LINK: http://www.amibroker.com/support.html] > http://www.amibroker.com/support.html > > Yahoo! Groups Links > >