For convenience I would like to store some extra info for each symbol,
and I would like it to be a vector, having a value for each bar, which
could be accessed at any time via foreign functions.
At the moment this is possible only for OHLCV ,and I think those
variable are protected).
I could create an  extra ticker for each symbol,in which to store up
to 5 info(using OCHLV), but I was thinking if there is a better way.

Basically it is equivalent to set up a table, so it can be achieved by
using an external plugin or object, but even in that case I would need
to store at least one info(a handle) to link to the correct row/column
in the external table, so at least one extra info is necessary any
way(unless the symbol is used but that you need a system to manage not
numerical indices for arrays, like a string list of this type
sym1,1,sym2,2 to scan through to get the right index)

All this is rather cumbersome but conceptually is simply the use of
matrices.

This is a very general problem,  which if solved allows to do
basically to do anything we want with vectors and matrices, and it is
also a major limitation.
Also a related question: when addcomposite is used on different time
frames does it have to be "scanned" each time in advance.
I thought time compression would automatically take care of it if
calculated just once at the lowest time resolution but I doens't seem so.

Thanks
Ly 

Reply via email to