PureBytes Links
Trading Reference Links
|
Yes, just add their symbol names to the Buy Short conditions as in:
LongSym = "symbol_1";
ShortSym = "symbol_2";
Buy = cond1 AND Name() == LongSym;
Short = cond2 AND Name() == ShortSym;
For example, I use the above technique with a formula to decide the
relative strength of two ETFs to decide which one to Short, the weaker
or the stronger. In your backtest you must either choose all symbols or
a Watchlist containing the two (or more) symbols you want to trade.
--
Terry
-----Original Message-----
From: amibroker@xxxxxxxxxxxxxxx [mailto:amibroker@xxxxxxxxxxxxxxx] On
Behalf Of Jilm
Sent: Sunday, January 01, 2006 16:54
To: amibroker@xxxxxxxxxxxxxxx
Subject: [amibroker] mulitpe system portfolio backtest
is there a way to specify a seperate system for 2 different symbols in
portfolio backtest?
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
------------------------ Yahoo! Groups Sponsor --------------------~-->
Try Online Currency Trading with GFT. Free 50K Demo. Trade
24 Hours. Commission-Free.
http://us.click.yahoo.com/RvFikB/9M2KAA/U1CZAA/GHeqlB/TM
--------------------------------------------------------------------~->
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:
amibroker-unsubscribe@xxxxxxxxxxxxxxx
<*> Your use of Yahoo! Groups is subject to:
http://docs.yahoo.com/info/terms/
|