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

[amibroker] Adding custom fields to symbol?



PureBytes Links

Trading Reference Links

Hello everybody,

first of all I have to thank Dingo for the Custom Backtester doc
collection, I found it priceless.

I am working on a fairly complex intraday system requiring a lot of
processing (eg deciding if we should enter a trade requires scanning
all previous open trades), I would like to shorten the backtesting
time by precomputing a number of metrics and storing them somewhere.
(note: AB is the FASTEST commercial sw I've found for this)

I thought of using AddComposite and then referring to the newly
created indexes (one per symbol) via Foreign. That seems viable, but
would make the final AFL rather complex/unflexible.

I thought it would have been nice to scan each symbol first,  one at a
time, adding my metrics to the symbol itself, and then run/backtest
the actual system, referring to those new fields in the code

Problems/Questions
1-is there a way to add custom fields (in addition to OHLCVI) to a
symbol and  persistently  (value is stored in DB, AddComposite way)
populate them? I'm afraid not (hope this could be a feature one day)
2-is there a way in AFL  to change unused fields (eg Interest rate)
and store the new value in DB
3-if 1 and 2 are negative, can you think of a way to refer dinamically
to a foreign series (eg. if I'm processing MSFT I would refer to
MSFT_A if processing INTC I would refer INTC_A and so on)

Thanks,
neuro

-- 
Janeczko for President!


------------------------ Yahoo! Groups Sponsor --------------------~--> 
<font face=arial size=-1><a href="http://us.ard.yahoo.com/SIG=12hebp51p/M=362131.6882500.7825259.1493532/D=groups/S=1705632198:TM/Y=YAHOO/EXP=1123159655/A=2889190/R=0/SIG=10r90krvo/*http://www.thebeehive.org
">Put more honey in your pocket. (money matters made easy) Welcome to the Sweet Life - brought to you by One Economy</a>.</font>
--------------------------------------------------------------------~-> 

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

 
Yahoo! Groups Links

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

<*> 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/