Ray, You are missing the point. If you only pull data that has positive value then by default you are eliminating all the stocks that Yahoo doesn't give EPS data on. Given that fact your ATC PE and PS values are BOGUS, because they do not include all the stocks in any given Industry!!!
It's the old "Garbage In, Garbage Out" For your ATC to be of any value you can't just pick and choose the data you want. Trust me, its all or nothing. Do the math. If an Industry is made up of 100 stocks, but you only use data on 75 stocks because Yahoo doesn't give you data on the other 25 your results ARE NOT indicative of the whole Industry!!!!! Don Lindberg _____ From: amibroker@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of ax_ray2222 Sent: Sunday, July 01, 2007 10:20 PM To: amibroker@yahoogroups.com Subject: [amibroker] How to use ATC only with positive EPS? How can I write an Industry ATC composite formed only by the positive EPS stocks? -create Industries with ATC formula but if stock has EPS<=0.01 don't add it to composite and -do not count it in the OI counter field, so the Industry composite will have the averages formed out of just the positive EPS stocks. Any idea how this can be achieved? Thank you for any help, Ray