davey11372
Board Regular
- Joined
- Dec 19, 2009
- Messages
- 56
I am trying to do the following:
Array Formula setting.... for stock analysis. The formula syntax is,
=sddeLink|Bars!'SYMBOL,PERIOD,#BARS,[DTOHLCV],{HEADERS},{HH:MM-HH:MM},{FILL}'
Example: =sddeLink|Bars!'IBM,15,1000,DTOHLCV,HEADERS,09:30-16:00'
SYMBOL – Represents the name of the symbol you wish to see.
PERIOD – Use Q for Quarterly, M for Monthly, W for Weekly, D for Daily or for an intraday period just specify the number of minutes.
#BARS – Represents the number of bars to display.
DTOHLCV – Defines which data fields to display and in which order. See below for a list.
D = Date T = Time O = Open H = High L = Low C = Close V = Volume
HEADERS – Use this option to display the names of the fields in columns above the data.
HH:MM-HH:MM – Use this option to return only the bars within the specified time range. Applies to intraday intervals only.
FILL – Use this option to fill blank bars with the last known Close value
sddelink = the ddelink for the source database
Bars = the source database file
Since I have to do this for many stocks/tickers, I have grouped multiple sheets, selected the array area, then copied the formula into the array (so the same formula gets copied into all the grouped sheets - a separate sheet for each stock/symbol).
The SYMBOL field, of the formula, is the only field that changes on each sheet. But this field stays/stayed the same when I copy the formula into multiple sheets together.
So, instead of me editing/typing/inserting the different/new symbol manually on each sheet into its array formula, is it possible to reference the symbol field in the array formila to a cell value (eg. $a$1). I tried using the $A$1 format but it does not work ... i guess something to do with the apostrophe before the symbol text and the complexity of array formulas.
This would allow me to group the sheets, all of which have the array formula with the respective ticker, activate the array (control+shift+enter) just once, and bingo I have the results of the array sorted - with data for each ticker on a separate sheet.
Array Formula setting.... for stock analysis. The formula syntax is,
=sddeLink|Bars!'SYMBOL,PERIOD,#BARS,[DTOHLCV],{HEADERS},{HH:MM-HH:MM},{FILL}'
Example: =sddeLink|Bars!'IBM,15,1000,DTOHLCV,HEADERS,09:30-16:00'
SYMBOL – Represents the name of the symbol you wish to see.
PERIOD – Use Q for Quarterly, M for Monthly, W for Weekly, D for Daily or for an intraday period just specify the number of minutes.
#BARS – Represents the number of bars to display.
DTOHLCV – Defines which data fields to display and in which order. See below for a list.
D = Date T = Time O = Open H = High L = Low C = Close V = Volume
HEADERS – Use this option to display the names of the fields in columns above the data.
HH:MM-HH:MM – Use this option to return only the bars within the specified time range. Applies to intraday intervals only.
FILL – Use this option to fill blank bars with the last known Close value
sddelink = the ddelink for the source database
Bars = the source database file
Since I have to do this for many stocks/tickers, I have grouped multiple sheets, selected the array area, then copied the formula into the array (so the same formula gets copied into all the grouped sheets - a separate sheet for each stock/symbol).
The SYMBOL field, of the formula, is the only field that changes on each sheet. But this field stays/stayed the same when I copy the formula into multiple sheets together.
So, instead of me editing/typing/inserting the different/new symbol manually on each sheet into its array formula, is it possible to reference the symbol field in the array formila to a cell value (eg. $a$1). I tried using the $A$1 format but it does not work ... i guess something to do with the apostrophe before the symbol text and the complexity of array formulas.
This would allow me to group the sheets, all of which have the array formula with the respective ticker, activate the array (control+shift+enter) just once, and bingo I have the results of the array sorted - with data for each ticker on a separate sheet.
Last edited: