This is for a standard portfolio backtest (not CBT) of the daily
Nasdaq 100 from 1996 to 2006. The strategy allows only one open
position at a time and has very simple Buy, Sell, and PositionScore
conditions. The Position Scores listed in the detailed log report
exactly match those written out to a debug file (using a bar loop with
PositionScore[bar] at the bottom of the AFL). The matches validate
the debug file data is correct. The problem is that symbols selected
for Buys do not have the maximum Position Score, and are often way
down the list. The detailed log report shows the higher scoring
symbols are NOT listed for exits, so I am lost for an explanation of
why symbols with much lower Position Scores are being selected for
Buys. Note the symbols in the portfolio have different date ranges
because many symbols have come and gone in the Nasdaq 100 between 1996
and 2006. The date ranges are built into the symbol names to allow
the same symbol with different (non-overlapping) date ranges to be
part of the portfolio. Are the different date ranges causing an
issue with bar alignment and thus PositionScores? Is there something
else that I may be doing wrong?
Any insight would be appreciated.
Thanks,
Dave
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/