[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[amibroker] script to explore. some help needed



PureBytes Links

Trading Reference Links

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

<*> To visit your group on the web, go to:
    http://groups.yahoo.com/group/amibroker/

<*> Your email settings:
    Individual Email | Traditional

<*> To change settings online go to:
    http://groups.yahoo.com/group/amibroker/join
    (Yahoo! ID required)

<*> To change settings via email:
    mailto:amibroker-digest@xxxxxxxxxxxxxxx 
    mailto:amibroker-fullfeatured@xxxxxxxxxxxxxxx

<*> 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/