PureBytes Links
Trading Reference Links
|
Documentation for Windows Script Hosting languages is avaialable at
the Windows DN library:
http://msdn.microsoft.com/library/default.asp?url=/nhp/Default.asp?
It under Web Development >> Scripting >> MS Windows Script
Technologies
BTW thanks to Tomasz who did a good job in those early newsletters
tutorials (I never ever dreamed I would be learning this stuff).
brian_z
--- In amibroker@xxxxxxxxxxxxxxx, JIM WIEHE <jim_wiehe@xxx> wrote:
>
> Thank You brian_z, That's the information I am looking for!
>
> Jim Wiehe
>
>
> ----- Original Message ----
> From: brian_z111 <brian_z111@xxx>
> To: amibroker@xxxxxxxxxxxxxxx
> Sent: Saturday, March 29, 2008 8:14:02 PM
> Subject: [amibroker] Re: OLE
>
> On the other hand if you don't mind the 'pain for the gain'.
>
> Have you seen the 'old' newsetters with Automation tips?
>
> http://www.amibroke r.com/newsletter /
>
> Especially:
>
> Tip of the week: Accessing stock data using AmiBroker's automation
> interface
> Tip of the week: Adding your own ASCII import formats
> and Tip of the week: Culling database - How to detect non trading
> stocks?
>
> If you open NotePad (or equivalent) and then open
> Programs/AmiBroker/ Scripts you can read the example cleanup.js
file
> that is installed with AB.
>
> I believe that if you double click on that file (say in
> WindowsExplorer) with AB already open it will all start to happen!
>
> (better have an old backed up database as the current database!)
>
> brian_z
>
> --- In amibroker@xxxxxxxxx ps.com, "jim_wiehe" <jim_wiehe@ ..>
wrote:
> >
> > Below is my first attempt at automation and it didn't work
> > probably because I don't know what I'm doing. But with that being
> > said I fully appreciate the benefits that can be achieved from
> > automation.
> > I want to execute multiple ATC afl and eventually export to
> > Excel directly. Can someone briefly explain a step by step
process
> > to run a scripting afl? I cant make the file run outside
Amibroker
> > and It doesnt run within AA.
> >
> > Jim Wiehe
> >
> > <%
> > EnableScript( "vbscript" );
> >
> >
> > /* create AB object */
> >
> > AB = CreateObject( "Broker.Applicat ion");
> >
> >
> > /* retrieve automatic analysis object */
> >
> > AA = AB.Analysis;
> >
> >
> >
> > /* load formula from external file */
> >
> > AA.LoadFormula( "C:\\Program Files\\AmiBroker\ \Formulas\ \my
> > stuff\\ScansExplora tions\\A D Comps Sector-Industry atc.afl");
> >
> >
> >
> > /* setup filters */
> >
> > /* backtest over symbols present in market 0 only (zero-based
> number)
> > */
> >
> > AA.ClearFilters( );
> >
> >
> >
> > /* set apply to and range */
> >
> > AA.ApplyTo = 2; // use filter (WatchList)
> >
> > AA.RangeMode = 2; // defines range mode: 0 - all quotes, 1 - n
last
> > quotes, 2 - n last days, 3 - from-to date
> >
> >
> > AA.RangeN = 1; // defines N (number of bars/days to backtest)
> >
> >
> >
> > /* run Scan */
> >
> > AA.Explore() ;
> >
>
>
>
>
>
>
______________________________________________________________________
______________
> OMG, Sweet deal for Yahoo! users/friends:Get A Month of Blockbuster
Total Access, No Cost. W00t
> http://tc.deals.yahoo.com/tc/blockbuster/text2.com
>
------------------------------------
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/
|