Tony,
 
Great job finding this puppy!  Here’s
the code that will put it in a scan:
 
// Queries Yahoo
for earnings date, parses html and reports the date.
rmaObj =
CreateObject("rmaAFLObjects.EstEarnDate");
Earnings =
rmaObj.EarningsDate(Name());
 
AddTextColumn(Earnings
, "Earnings ");
 
However, this runs slowly.   Tomorrow,
I’m going to work on a better solution.   In essence it would
be to:
 
1)       Run a scan that downloaded and saved the Earnings Date for a lot of
symbols to a text file.
2)       Retrieve the Earnings Date from the file and use it in a scan or on
a chart.
 
Because the data is cached locally, I
think it would run a lot faster.  Alternatively, you could redesign the scan
to retrieve the earnings date only if it the scan met other criteria.    
 
Regards,
 
Dan.
 
From: amibroker@xxxxxxxxxxxxxxx [mailto:amibroker@xxxxxxxxxxxxxxx] On Behalf Of Tony Lei
Sent: Thursday, August 04, 2005
9:38 PM
To: amibroker@xxxxxxxxxxxxxxx
Subject: Re: [amibroker] Re:
Scanner and some fundamental information
 
 
I found the dll file at
http://www.purebytes.com/archives/amibroker/2002/msg00574.html
For those interested,
Install the dll file in the specified directory and paste the following code
into Analysis/Commentary/Formula
// Queries Yahoo for earnings date, parses html and reports the date.
rmaObj = CreateObject("rmaAFLObjects.EstEarnDate");
Name() + " Estimated Earnings Date: " + rmaObj.EarningsDate(Name());
It looks really nice but how do I implement this dll so I can see once I run my
exploration.  E.g. I filtered  these 3 stocks X VLO and SUN
Then how would I add a column to show their earnings date?
thanks
tony
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 other support material please check also:
http://www.amibroker.com/support.html
    
  
  
    SPONSORED LINKS
  
       
  
  
  
  YAHOO! GROUPS LINKS