PureBytes Links
Trading Reference Links
|
Hello
I coded low-level CBT system using Enter/ExitTrade for the range 1/1/09 to 24/11/09. I enter trades from a List on the open. The exit signal is generated on the same bar close. A weekly system.
Note: Barcount is 228, while weekly bars for range is 46.
This may be the reason I have trouble, but backtester determines barcount. Why?
eg
EnterList 2/1/09 (Fri) for symbols AAA, BBB
EnterTrade 5/1/09 open price (Mon) for AAA, BBB
ExitList 5/1/09 close price (Mon) for AAA, BBB
ExitTrade 6/1/09 open price (Tues) for AAA, BBB
I thought weekly close would be 9/1/09 (Fri)
with exitTrade 12/1/09 open price (Mon)
for(b=0; b<barcount; b++)
{
bo.Exit(b, sym, price);
updatestats(b,1);
bo.EnterTrade( ..... );
EntryList....
ExitList......
}
------------------------------------
**** IMPORTANT PLEASE READ ****
This group is for the discussion between users only.
This is *NOT* technical support channel.
TO GET TECHNICAL SUPPORT send an e-mail directly to
SUPPORT {at} amibroker.com
TO SUBMIT SUGGESTIONS please use FEEDBACK CENTER at
http://www.amibroker.com/feedback/
(submissions sent via other channels won't be considered)
For NEW RELEASE ANNOUNCEMENTS and other news always check DEVLOG:
http://www.amibroker.com/devlog/
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:
amibroker-digest@xxxxxxxxxxxxxxx
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/
|