PureBytes Links
Trading Reference Links
|
Dear Leo,
The answers are:
1.
sell = barssince( buy ) == n;
2. to exit January 12, 2001:
sell = year() == 2001 AND month() == 1 AND day() ==
12
or
sell = datenum() == 1010112;
The same technique can be applied to short/cover
variables.
Best regards,Tomasz Janeczko
amibroker.com
<BLOCKQUOTE
>
----- Original Message -----
<DIV
>From:
Leo
Timmermans
To: <A
href=""
title=amibroker@xxxxxxxxxxxxxxx>amibroker@xxxxxxxxxxxxxxx
Sent: Monday, November 05, 2001 9:32
PM
Subject: [amibroker] Backtesting
Hello,
I'll be new to AmiBroker when 3.8 comes out (I'm
currently using -testing- 3.7) and have some
questions regarding exits.
1- how do you exit n-days after the buy
?
2- how do you exit on a specific day
?
Any help kindly appreciated.
Kind Regards
Leo
Your use of Yahoo! Groups is subject to the <A
href="">Yahoo! Terms of Service.
|