PureBytes Links
Trading Reference Links
|
lol beat me by 30 seconds :)
periods = -5;
wait= Ref(Buy,periods);
Sell = wait;
----- Original Message -----
From: "Tomasz Janeczko" <<A
href=""><FONT face=Arial
size=2>amibroker@xxxx>
To: <<A
href=""><FONT face=Arial
size=2>amibroker@xxxxxxxxxxxxxxx<FONT face=Arial
size=2>>
Sent: Saturday, November 17, 2001 10:46
PM
Subject: Re: [amibroker] explore: sell after x
days
<FONT face=Arial
size=2>> Hello,> > Use this:> > Sell = ref( buy,
-5 );> > Best regards,> Tomasz Janeczko>
amibroker.com> > ----- Original Message -----> From:
<<FONT face=Arial
size=2>aksjer46@xxxx>> To:
<<FONT face=Arial
size=2>amibroker@xxxxxxxxxxxxxxx>>
Sent: Saturday, November 17, 2001 12:17 PM> Subject: [amibroker] explore:
sell after x days> > > > Hi all, just got Amibrokerand
I'm playing around with backtesting.> > There's probably a simple
answer to this, but I can't find out how to> > sell after 5 days.Have
tried this:> >> > sell=iif(hold(0,5),0,1);>
>> > but it doesn't work. I have also changed sell delay to 5 in
Settings> > but the stocks are sold the same day they get
bought.> >> >> >> >> >>
>> >> >> >> > Your use of Yahoo!
Groups is subject to <FONT
face=Arial size=2>http://docs.yahoo.com/info/terms/<FONT
face=Arial size=2>> >> >> >> > >
------------------------ Yahoo! Groups Sponsor
---------------------~-->> Universal Inkjet Refill Kit $29.95>
Refill any ink cartridge for less!> Includes black and color
ink.> <A
href=""><FONT face=Arial
size=2>http://us.click.yahoo.com/r9F0cB/MkNDAA/ySSFAA/dkFolB/TM<FONT
face=Arial size=2>>
---------------------------------------------------------------------~->>
> > > Your use of Yahoo! Groups is subject to
<FONT face=Arial
size=2>http://docs.yahoo.com/info/terms/
> > >
|