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

[amibroker] Re: VBS - why doesn't this work as it should? (maybe only TJ knows?)



PureBytes Links

Trading Reference Links

Hi Graham,

Wednesday, June 23, 2004, 9:35:00 PM, you wrote:

G> Unless you have another stock that is referenced in the test and
G> this has data during that period and it is using this time period.

Yes, this is undoubtedly the problem.  There are other stocks in
there that are being referenced.

G> Strictly speaking the trade is 6 bars long, even though no trades were
G> possible for 5 bars. If you had held that stock, it would be 6 days.

But we are talking bars here, not days.  The stock was not available
to trade.  There are no bars for the stock between the buy and the
sell.  There are just other stocks in the test that have bars on
those dates.  But not this one.  I see this as a two-bar trade.  An
unusual one, but the back tester (IMO) should consider bars on a
stock-by-stock basis in this case.  It seems not to do so.

Yuki





------------------------ Yahoo! Groups Sponsor --------------------~--> 
Make a clean sweep of pop-up ads. Yahoo! Companion Toolbar.
Now with Pop-Up Blocker. Get it for free!
http://us.click.yahoo.com/L5YrjA/eSIIAA/yQLSAA/GHeqlB/TM
--------------------------------------------------------------------~-> 

Check AmiBroker web page at:
http://www.amibroker.com/

Check group FAQ at: http://groups.yahoo.com/group/amibroker/files/groupfaq.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/