SSLACK88
Well here's the brute force way that I would do it with
minimal work.
With the AFL below you can display all the fields
associated with each ticker array. OHLCV OI
Do an <Explore> with any date range on a specific
stock and you'll see the array, listed
down the page tho and not across!
This is an easy way to check out functions and see
what's happening without getting into
the debugger.
I expect you can go to the Quote Editor also and see
all the fields of the price array but not BarIndex.
Hope this helps
JOE
Filter = 1;
AddColumn (Close,"Close");
AddColumn (Open,"Open");
AddColumn (High,"High");
AddColumn (Low,"Low");
AddColumn (Volume,"Volume");
AddColumn (OI,"Open Interest");
AddColumn (BarIndex(),"BI");
----- Original Message -----
Sent: Friday, December 30, 2005 8:22
PM
Subject: [amibroker] Is there a way to
view arrays?
Does anyone know if there is a way to view the contents of
an array?
For example, I want to understand the barindex() function
better, so I want to look at each value in the array. Is there a way
to do this?
Also, does anyone know how the barindex() function
works? Does it go from left to right? Does it start at
zero?
Is this how it works:
Bar 1 - Bar 2 - Bar 3 - Etc. (left
to right)
0 - 1 - 2 - Etc.
(barindex)
Thanks!
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 other support material please check also:
http://www.amibroker.com/support.html
SPONSORED LINKS
YAHOO! GROUPS LINKS
|