1. dunno 2. check your settings for the report type. 3. I don't think that's avail via COM.
d > -----Original Message----- > From: [email protected] > [mailto:[EMAIL PROTECTED] On Behalf Of murthysuresh > Sent: Friday, May 11, 2007 10:14 PM > To: [email protected] > Subject: [amibroker] script to explore. some help needed > > I have this script to do my scanning > How can i customise it to do the following > 1. How can i set the "Wait for backfill" flag > 2. I get error "detailed report not available " popup. Not sure why? > 3. Configure the database to be EOD data programatically > > Thanks > > Seede > > /* create AB object */ > AB = new ActiveXObject("Broker.Application"); > AB.LoadDatabase("C:\\Program Files\\AmiBroker\\Copy"); > /* retrieve automatic analysis object */ > AA = AB.Analysis; > > /* load formula from external file */ > AA.LoadFormula("Scans\\90DayHighScans_LONG.afl"); > > /* optional: load settings */ > // AA.LoadSettings("the_path_to_the_settings_file.abs"); > > /* setup filters */ > /* backtest over symbols present in market 0 only (zero-based > number) */ > AA.ClearFilters(); // 0= include, 1= exclude > //AA.Filter( 0, "market" ) = 0; > //AA.Filter( 1, "market" ) = 0; > > > /* set apply to and range */ > AA.ApplyTo = 0; // use symbols > AA.RangeMode = 2; // use last day's quotes > AA.RangeN = 1; > > /* run scan and display report */ > AA.Scan(); > > > > 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: > http://www.amibroker.com/devlog/ > > For other support material please check also: > http://www.amibroker.com/support.html > > Yahoo! Groups Links > > > >
