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

Re: Buy / Sell on a specific date



PureBytes Links

Trading Reference Links

Thanks!

Dennis

--- In amibroker@xxxx, "Herman van den Bergen" <psytek@xxxx> wrote:
> Check help for DateNum():
> 
> Yr = 2001;
> Mh = 6;
> Dy = 20;
> SellDate = 10000 * (Yr - 1900) + 100 * Mh + Dy;
> Buy = Cum(1) == 100;
> Sell = DateNum() == SellDate;
> 
> Good luck,
> Herman.
> 
> -----Original Message-----
> From: metzdennis [mailto:Dennis.Metz@x...]
> Sent: Friday, July 19, 2002 9:24 AM
> To: amibroker@xxxx
> Subject: [amibroker] Buy / Sell on a specific date
> 
> 
> Hi
> 
> Is it possible to buy / sell a position at a specific date?
> 
> What is the afl code for this?
> 
> Best regards,
> Dennis
> 
> 
> 
> 
> 
> Your use of Yahoo! Groups is subject to 
http://docs.yahoo.com/info/terms/