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

RE: [amibroker] Long and Short /Long positions ?



PureBytes Links

Trading Reference Links

Being rather new to Amibroker and this board and not 
having mastered code writing yet, I wonder if I may ask,
for many I am sure, a simple question relating to equity 
backtesting.

I have tried many options and searched the archive, but 
to no avail.

The question is related to the following:

I have a timing signal (imported) which I use to BUY 
a particular fund or selection of funds in AA under 
backtester. When I SELL, I will go into cash.... 
I cannot short the fund.

However, I can by an inverse fund, simulating a short 
position rather than go into cash during the Sell period 
of my timing signal.

I would like to know how to test (code) a system, where 
I buy i.e. ARTKX (long) on a buy signal, and buy i.e. 
SHPIX (short) during a sell signal and show (plot) the 
composite returns etc.

Forgive me, if I have overlooked this in the help files.

Robert van Delden






Send BUG REPORTS to bugs@xxxxxxxxxxxxx
Send SUGGESTIONS to suggest@xxxxxxxxxxxxx
-----------------------------------------
Post AmiQuote-related messages ONLY to: amiquote@xxxxxxxxxxxxxxx 
(Web page: http://groups.yahoo.com/group/amiquote/messages/)
--------------------------------------------
Check group FAQ at: http://groups.yahoo.com/group/amibroker/files/groupfaq.html 

------------------------ Yahoo! Groups Sponsor ---------------------~-->
Buy Ink Cartridges or Refill Kits for your HP, Epson, Canon or Lexmark
Printer at MyInks.com. Free s/h on orders $50 or more to the US & Canada.
http://www.c1tracking.com/l.asp?cid=5511
http://us.click.yahoo.com/mOAaAA/3exGAA/qnsNAA/GHeqlB/TM
---------------------------------------------------------------------~->

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/