[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[amibroker] extra info for each symbol for each bar, addcomposite on different timeframes



PureBytes Links

Trading Reference Links

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 



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 NEW RELEASE ANNOUNCEMENTS and other news always check DEVLOG:
http://www.amibroker.com/devlog/

For other support material please check also:
http://www.amibroker.com/support.html
 
Yahoo! Groups Links

<*> To visit your group on the web, go to:
    http://groups.yahoo.com/group/amibroker/

<*> Your email settings:
    Individual Email | Traditional

<*> To change settings online go to:
    http://groups.yahoo.com/group/amibroker/join
    (Yahoo! ID required)

<*> To change settings via email:
    mailto:amibroker-digest@xxxxxxxxxxxxxxx 
    mailto:amibroker-fullfeatured@xxxxxxxxxxxxxxx

<*> To unsubscribe from this group, send an email to:
    amibroker-unsubscribe@xxxxxxxxxxxxxxx

<*> Your use of Yahoo! Groups is subject to:
    http://docs.yahoo.com/info/terms/