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

Re: [amibroker] explore: sell after x days



PureBytes Links

Trading Reference Links

Hello,

Use this:

Sell = ref( buy, -5 );

Best regards,
Tomasz Janeczko
amibroker.com

----- Original Message -----
From: <aksjer46@xxxx>
To: <amibroker@xxxxxxxxxxxxxxx>
Sent: Saturday, November 17, 2001 12:17 PM
Subject: [amibroker] explore: sell after x days


> Hi all, just got Amibroker and 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 http://docs.yahoo.com/info/terms/
>
>
>