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

Re: [amibroker] how do i add a quote date to a list VB



PureBytes Links

Trading Reference Links

Hello,

You will find the example in the newest newsletter
http://www.amibroker.com/newsletter/12-2001.html

(inside the AFL formula there is a part in scripting
that adds quotations)

Best regards,
Tomasz Janeczko
===============
AmiBroker - the comprehensive share manager.
http://www.amibroker.com


----- Original Message ----- 
From: "NIck Iacovelli" <nickhere@xxxx>
To: <amibroker@xxxxxxxxxxxxxxx>
Sent: Thursday, July 05, 2001 3:16 PM
Subject: Re: [amibroker] how do i add a quote date to a list VB


> Can you give me a quick example?
> nick
> 
> At 07:26 AM 7/5/2001 +0200, you wrote:
> >Hello,
> >
> >There is a Add() method in Quotations collection to do this.
> >Accepts date as a parameter.
> >
> >Best regards,
> >Tomasz Janeczko
> >===============
> >AmiBroker - the comprehensive share manager.
> ><http://www.amibroker.com>http://www.amibroker.com
> >
> >
> >----- Original Message -----
> >From: "NIck Iacovelli" <nickhere@xxxx>
> >To: <amibroker@xxxxxxxxxxxxxxx>
> >Sent: Thursday, July 05, 2001 2:49 AM
> >Subject: [amibroker] how do i add a quote date to a list VB
> >
> >
> > > a = amibroker.stocks(b).Quotations.Count - 1
> > > amibroker.stocks(b).Quotations(a).Date = aa(2)
> > > amibroker.stocks(b).Quotations(a).high = aa(10)
> > > amibroker.stocks(b).Quotations(a).low = aa(11)
> > > amibroker.stocks(b).Quotations(a).Close = aa(4)
> > > amibroker.stocks(b).Quotations(a).volume = aa(9)
> > > amibroker.RefreshAll
> > >
> > > the upper code let me change the value in ami with my value
> > > but how do i add a next day quote
> > > adding 1 to amibroker.stocks(b).Quotations.Count
> > > will cause error
> > >
> > > currently it will only update last value.
> > >
> > > MY qt to ami is faster
> > >
> > > nick
> > >
> > >
> > >
> > >
> > > Your use of Yahoo! Groups is subject to 
> > <http://docs.yahoo.com/info/terms/>http://docs.yahoo.com/info/terms/
> > >
> > >
> > >
> >
> >
> >Your use of Yahoo! Groups is subject to the 
> ><http://docs.yahoo.com/info/terms/>Yahoo! Terms of Service.
> 
> 
> 
> 
> Your use of Yahoo! Groups is subject to http://docs.yahoo.com/info/terms/ 
> 
> 
>