PureBytes Links
Trading Reference Links
|
Hi Herman,
I appreciate your help and have
some questions.
1) the OI approach: <FONT face=Arial
size=2>If I decide to use, say, the OI field, as my storage location, must I
duplicate the options-or-not info in the OI field for ALL quotes for each
symbol? (What confuses me is that I am trying to store by-ticker info,
not by-individual-quote or bar info. )
2) the ATC approach:<FONT face=Arial
size=2> I can see how ATC would work, but would I not need about 2000
composites, one for each optionable symbol? (This seems excessive and
perhaps performance hindering.)
-john
<BLOCKQUOTE dir=ltr
>
----- Original Message -----
<DIV
>From:
Herman van den
Bergen
To: <A title=amibroker@xxxxxxxxxxxxxxx
href="">amibroker@xxxxxxxxxxxxxxx
Sent: Wednesday, March 31, 2004 12:36
PM
Subject: RE: [amibroker] adding custom
info to ticker
If
you don't use the OI field then you can use this to store custom information.
To my best recollection AmiBroker numbers have an upper limit of 2^32, this
means you can encode 32 binary True/False bits for each bar. You can also
store Barcount single numbers in the OI array using subscripts, like
OI[0]=value1, OI[1] =Value2, etc.
<FONT face=Arial color=#0000ff
size=2>
You
can further expand this idea by using composites, I have 100s of composites
created something like so:
<FONT face=Arial color=#0000ff
size=2>
<FONT face=Arial color=#0000ff
size=2>AddToComposite(MyCustomArray, "~"+Name(),"O");
<FONT face=Arial color=#0000ff
size=2>
This
would create composites named ~AAPL, ~ADBE, ~ALTR, etc. that can be retrieved
using Foreign("~"+Name(),"O"); whenever you want to access the current stock.
Of course you can also use the H,L,C,V,OI fields.
<FONT face=Arial color=#0000ff
size=2>
In
AB there are virtually unlimited ways to "attach" info to specific
stocks!
<FONT face=Arial color=#0000ff
size=2>
best
regards,
<FONT face=Arial color=#0000ff
size=2>herman.
<FONT face=Tahoma
size=2>-----Original Message-----From: john gibb
[mailto:jgibb1@xxxxxxxxxxxxx]Sent: Wednesday, March 31, 2004 2:09
PMTo: amibroker@xxxxxxxxxxxxxxxSubject: [amibroker]
adding custom info to tickerHi,I want to
add an is-it-optionable ( true/false ) attribute to most of
mytickers.Is there an easy way?I notice that, in the
Symbol|Information dialog, there is a Code field inthe upper right;
maybe this is an appropriate place, although it is not atrue/false
field.thanks-johnSend BUG
REPORTS to bugs@xxxxxxxxxxxxxSend SUGGESTIONS to
suggest@xxxxxxxxxxxxx-----------------------------------------Post
AmiQuote-related messages ONLY to: amiquote@xxxxxxxxxxxxxxx (Web page:
<A
href="">http://groups.yahoo.com/group/amiquote/messages/)--------------------------------------------Check
group FAQ at: <A
href="">http://groups.yahoo.com/group/amibroker/files/groupfaq.html
Send BUG REPORTS to bugs@xxxxxxxxxxxxxSend
SUGGESTIONS to
suggest@xxxxxxxxxxxxx-----------------------------------------Post
AmiQuote-related messages ONLY to: amiquote@xxxxxxxxxxxxxxx (Web page:
<A
href="">http://groups.yahoo.com/group/amiquote/messages/)--------------------------------------------Check
group FAQ at: <A
href="">http://groups.yahoo.com/group/amibroker/files/groupfaq.html
Send BUG REPORTS to bugs@xxxxxxxxxxxxx
Send SUGGESTIONS to suggest@xxxxxxxxxxxxx
-----------------------------------------
Post AmiQuote-related messages ONLY to: amiquote@xxxxxxxxxxxxxxx
(Web page: http://groups.yahoo.com/group/amiquote/messages/)
--------------------------------------------
Check group FAQ at: http://groups.yahoo.com/group/amibroker/files/groupfaq.html
Yahoo! Groups Sponsor
ADVERTISEMENT
Yahoo! Groups Links
To visit your group on the web, go to:http://groups.yahoo.com/group/amibroker/
To unsubscribe from this group, send an email to:amibroker-unsubscribe@xxxxxxxxxxxxxxx
Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service.
|