Hello
I have an intraday database composed of different stocks. Some
periods, my fomular gives lots of trades while other periods it gives
less. I want to dynamically control the buy conditions depending on avg
trades/per recently. For example, if there are too many trades everyday
recently (say avg 8 trades/day over last 20 trading days), i will
choose a tighter buy condition to filter out the non-excellent ones. On
the other hand, if there r less trades recently(eg avg 2 trades/day), i
will loose the buy conditions as long as the increased trades give
positive return on avg.
How can I use AFL language to achieve it when I do backtest?
Thanks a lot
Bill
------------------------ Yahoo! Groups Sponsor --------------------~-->
Everything you need is one click away. Make Yahoo! your home page now.
http://us.click.yahoo.com/AHchtC/4FxNAA/yQLSAA/GHeqlB/TM
--------------------------------------------------------------------~->
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:
[EMAIL PROTECTED]
<*> Your use of Yahoo! Groups is subject to:
http://docs.yahoo.com/info/terms/