PureBytes Links
Trading Reference Links
|
Hi Peter,
Thanks for your email. I tried it and
unfortunately, it still returns , a zero for QRS value. I tried for AOL. Here is
my code.
Thanks for any help.
regards
Mohan
EnableScript<FONT color=#000000 face="Courier New"
size=2>(<FONT color=#ff00ff face="Courier New"
size=2>"jscript");
<%
CInfo = AFL.CreateStaticObject(<FONT color=#ff00ff face="Courier New"
size=2>"QuotesPlus.Price"<FONT color=#000000 face="Courier New"
size=2>);
// NEW
CreateStaticObject !
CInfo.Symbol = AFL(<FONT color=#ff00ff face="Courier New"
size=2>"ticker"<FONT color=#000000 face="Courier New"
size=2>);
// try-catch block handles the situation when
// QuotesPlus object returns strange values<FONT color=#000000
face="Courier New" size=2>
try
{
//AFL("Float") = Number( CInfo.Float() )*1000000;<FONT
color=#000000 face="Courier New" size=2>
QRS= Number( CInfo.QRS() ); // I tried QRS(0) and QRS(-1) too
}
catch( e )
{<FONT
color=#000000 face="Courier New" size=2>
QRS = 0<FONT
color=#000000 face="Courier New" size=2>;
}
AFL.Var(<FONT color=#ff00ff face="Courier New"
size=2>"QRS") = QRS;
%>
Filter = C><FONT color=#ff00ff face="Courier New"
size=2>0;
NumColumns=<FONT color=#ff00ff face="Courier New"
size=2>2;
Column0=Close;
Column1=QRS;
<BLOCKQUOTE
>
----- Original Message -----
<DIV
>From:
Peter
Gialames
To: <A
href=""
title=amibroker@xxxxxxxxxxxxxxx>amibroker@xxxxxxxxxxxxxxx
Sent: Wednesday, November 14, 20012:53
PM
Subject: RE: [amibroker] ImportingQuotes
Plus Fundamental fields into AMIBroker
<FONT color=#0000ff face=Arial
size=2>Hello Mohan,
<FONT color=#0000ff face=Arial
size=2>
QRS
is a function of Price NOT CompanyInfo so you would have:
<FONT color=#000000
size=2>
CInfo =
AFL.CreateStaticObject(<FONT color=#ff00ff
size=2>"QuotesPlus.Price"<FONT color=#000000
size=2>);
<FONT color=#000000
size=2>
<FONT color=#0000ff
face=Arial>This should work ...
<FONT color=#0000ff
face=Arial>
<FONT color=#0000ff
face=Arial>Peter Gialames
<FONT face=Tahoma
size=2>-----Original Message-----From: Mohan Yellayi [<A
href="">mailto:myellayi@xxxx]Sent:
Wednesday, November 14, 2001 9:41 AMTo: <A
href="">amibroker@xxxxxxxxxxxxxxxSubject:
[amibroker] Importing Quotes Plus Fundamental fields into
AMIBroker
Hi Peter,
In your float indicator code , you are
importing Float value form Quotes Plus database. Have you been able to get
other data from quotes plus? I tried to get QRS and EPS values with the
following commands, but it doesn't seem to work. I appreciate any
help.
thanks
Mohan
try
{
//Float = Number( CInfo.Float() )*1000000;<FONT color=#000000
face="Courier New" size=2>
QRS= Number( CInfo.QRS(<FONT color=#ff00ff face="Courier New"
size=2>0) );
//QRS= Number( CInfo.QRS
); - Neither seems to work
<FONT color=#000000
face="Courier New" size=2> <A
href="">//EPS= Number( CInfo.EPS<FONT color=#000000
face="Courier New" size=2> );
}
catch( e )
{
//AFL("Float") = 0;<FONT color=#000000 face="Courier New"
size=2>
QRS = 0<FONT
color=#000000 face="Courier New" size=2>;
}
<BLOCKQUOTE
>
----- Original Message -----
<DIV
>From:
Peter
Gialames
To: <A
href=""
title=amibroker@xxxxxxxxxxxxxxx>amibroker@xxxxxxxxxxxxxxx
Sent: Wednesday, November 14, 2001
9:24 AM
Subject: [amibroker] Re: Point&
Figure Charting
Since there have been some problems with Geocitiesand
the download of the Point & Figure application, Tomasz has been
generous enough to lend me some space. So if anyone has hadany
problems please download the app here:<A
href="">http://www.amibroker.net/~pgialames/Peter
Gialames--- In amibroker@xxxxxx,
"Peter Gialames" <investor@xxxx>
wrote:> For those of you who are interested in Point & Figure
charting ... I have> created an application that will create
charts in Excel 2000 (I am not sure> if it will work in other
versions).> > You can get the download at
www.xlpnf.com. I did not create a help file> becauseI
was not sure if there would be enough interest. I created
the> application for my own use and will be updating it frequently
(I hope).> Although the spreadsheet and application DLL are
only 200k, the download is> about 2.5 meg because of VB
overhead.> > The install will create a new startup folder
with xlpnf.xls spreadsheet in> it. This spreadsheet will
call the DLL file to begin the program. It> should be
pretty self explanatory but if there are any questions please>
email me directly so not to congest this list (sorry for the cross
posting> by the way).> > To draw trendlines on
the chart, just right click to get a pop-up menu. A>
couple of other shortcuts I should mention:> > CTRL-SHIFT-S
will toggle the data sheets visible/hidden> CTRL-SHIFT-T will
toggle the minor grid line visible/hidden> CTRL-SHIFT-C will toggle
the comments visible/hidden> > You can get data using
(currently) three data sources - Quotes Plus,> AmiBroker and
Yahoo. Quotes Plus is by far the fastest interface. Yahoo
is> dependent on your internet connection. AmiBroker is kind
of slow (there has> been mention of a better interface).
But a faster call can be made directly> from AFL:>
//Create object from VB Project DLL> >
xlpnf=CreateStaticObject("xlpnf.amibroker");> >
q=xlpnf.ami2pnf(Name(),Day(),Month(),Year(),High,Low,Close,V,16);>
> Everything up to Volume ('V') will remain the same. 16is
months of data to> load. There are two optional
parameters after months of data - Boxsize> (default to
traditional boxsize) and Reversal
(default=3).Your use of Yahoo! Groups is subject
to the Yahoo! Terms of
Service. Your use of Yahoo! Groups is
subject to the Yahoo! Terms of
Service. Your
use of Yahoo! Groups is subject to the <A
href="">Yahoo! Terms of Service.
|