hello
I am trying to find the last price in an array and set it as a
static
variable. Problem is that staticvarset(...) will only take a
value,
and not an array.
More specifically
1 loop through 100
bars
2 loop through 40 stocks
3 for first bar find daily rtn
(close/open-1) and set it to
staticvariable for each stock
4 rank
stocks based on daily rtn using a bubble sort loop
5 write the rank to a
composite
6 loop through next 99 bars and repeat steps 3 to 5
if
anyone know how i can do this using valuewhen etc pse let me know
before i
go crazy...
rgds
Hugh