PureBytes Links
Trading Reference Links
|
I used it as an AFL
Filter =1;
AB = CreateObject("Broker.Application");
st = AB.Stocks(Name());
st.DataSource = 0;
Buy = 0;
--- In amibroker@xxxxxxxxxxxxxxx, Graham <kavemanperth@xxx> wrote:
>
> How did you get it to work?
>
>
>
> On 28/12/06, gunovanengel <gunovanengel@xxx> wrote:
> >
> > problem solved
> >
> > --- In amibroker@xxxxxxxxxxxxxxx, "gunovanengel" <gunovanengel@>
> > wrote:
> > >
> > >
> > > Hi Tomasz,
> > >
> > > I still get an error
> > >
> > > AB = new ActiveXObject("Broker.Application");
> > > sts = AB.Stocks();
> > > Qty = sts.Count;
> > > for( i = Qty - 1; i >= 0; i = i - 1 )
> > > {
> > > sts.DataSource = 0;
> > > }
> > >
> > >
> > >
> > > --- In amibroker@xxxxxxxxxxxxxxx, "Tomasz Janeczko" <groups@>
> > > wrote:
> > > >
> > > > In external JS file use "new ActiveXObject" instead of
> > CreateObject
> > > ().
> > > >
> > > > Best regards,
> > > > Tomasz Janeczko
> > > > amibroker.com
> > > > ----- Original Message -----
> > > > From: "gunovanengel" <gunovanengel@>
> > > > To: <amibroker@xxxxxxxxxxxxxxx>
> > > > Sent: Wednesday, December 27, 2006 9:59 PM
> > > > Subject: [amibroker] Please help me with this java script
> > > >
> > > >
> > > > > Hi,
> > > > >
> > > > > I am trying to change the dataSource with the js script
below.
> > > > > I keep getting the error Object expected code 800a138f
> > > > > What am I doing wrong
> > > > >
> > > > > Regards
> > > > > Guno
> > > > >
> > > > > AB = CreateObject("Broker.Application");
> > > > > sts = AB.Stocks();
> > > > > Qty = sts.Count;
> > > > > for( i = Qty - 1; i >= 0; i = i - 1 )
> > > > > {
> > > > > sts.DataSource = 0;
> > > > > }
> > > > >
> > > > >
> > > > >
> > > > >
> > > > >
> > > > > 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
> > > > >
> > > > >
> > > > >
> > > > >
> > > > >
> > > >
> > >
> >
> >
> >
> >
> > 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
> >
> >
> >
> >
>
>
> --
> Cheers
> Graham
> AB-Write >< Professional AFL Writing Service
> Yes, I write AFL code to your requirements
> http://www.aflwriting.com
>
Content-Description: "AVG certification"
No virus found in this incoming message.
Checked by AVG Free Edition.
Version: 7.5.432 / Virus Database: 268.15.29/607 - Release Date: 12/28/2006 12:31 PM
|