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

[amibroker] close automatic analysis box? jscript, scripts



PureBytes Links

Trading Reference Links

I adapted the script below to run an exploration and it works great, 
except I can't figure out how to close the "Automatic Analysis" box 
at the end of the script - can anyone help?

Thank you for your time!


/*Simple jScript to perform exploration using rules in TEST.AFL,
  produces text file of results as TEST.TXT   Use at own risk!*/
var AB, AA;
AB = new ActiveXObject("Broker.Application");
AA = AB.Analysis;
AA.ClearFilters(); 
AA.ApplyTo = 0; // use symbols
AA.RangeMode = 1; 
AA.RangeN=1; //last 1 trading days
AA.ApplyTo = 2; // use filters  
AA.Filter(0,"watchlist") = 0; /* watch list number*/;

AA.LoadFormula( "C:\\AmiBroker\\TEST.AFL" )  //use this test
AA.Explore();
AA.Export ( "C:\\AmiBroker\\TEST.TXT" ); // generate report




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/