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

[amibroker] Market Timing overlay in Portfolio Backtesting



PureBytes Links

Trading Reference Links



Let's say I have a basic momentum rotation model for a universe of domestic ETFs.  It is long only (no shorting).  I want the system to get out of all ETFs if the S&P 500 crosses below it's 200 day moving average.
 
One route which works is to merge symbol/date/price data with my S&P 500 model offline and then import it into AB through the ASCII wizard.  I have succeeded with this.
 
I would prefer to do this directly through the formula language in AB, but cannot figure out how to do it.  The momentum rotation is feasible, but the market signal eludes me.


__._,_.___


**** 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/





Your email settings: Individual Email|Traditional
Change settings via the Web (Yahoo! ID required)
Change settings via email: Switch delivery to Daily Digest | Switch to Fully Featured
Visit Your Group | Yahoo! Groups Terms of Use | Unsubscribe

__,_._,___