PureBytes Links
Trading Reference Links
|
Hi all,
I'm a new user and think the AmiBroker product is great. I'm trying some basic strategies to get the hang of it and I've come across an issue with the walk forward testing I'm not sure how to get around.
I've coded a strategy which is basically a moving average cross-over system on one ticker (SP500) with several optimization variables. I really don't expect this system to be a winner but I'm using it as an example to explore AmiBroker's capabilities.
I'm testing the system with the walk forward functionality with various IS and OOS periods. My system trades about 10 times a year. To get a true picture of how the system would trade in real life I'd like to be able to carry over the open positions from an OOS period to the next, rather than closing the positions at the end of the OOS and reopening them at the first signal in the next OOS.
For example my walk forward is 7yr IS and 1yr OOS. In 1995 OOS I noticed the system didn't make one trade and looked into it. It turns out the SP500 when straight up that year and my system signaled a buy on 12/28/94 (previous OOS) and a sell on 1/16/96 (next OOS). In this case my walk forward report shows no profit (or trades) for 1995 when in reality if I was trading this strategy I would be long the entire year which would have been quite profitable.
My thoughts I have to get around this are,
1. Manually do the walk through and keep track of open positions.
2. Modify the IS and OOS period lengths
3. Use another product for the walk forward testing (like Dakota, others?)
4. At the end of an OSS period mark-to-market any open positions for reporting but pass the positions and equity to the next OOS.
#1 would take forever and defeats the purpose of automated walk forward.
#2 doesn't really fix the problem
#3 I'm just learning AmiBroker and don't want to add another if I don't have to.
#4 I believe this would require a enhancement to AmiBroker.
Any thoughts?
Thanks for your time,
Ron
------------------------------------
**** 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/
|