Hi Bill --

The DateNum function might help.

01/01/2005 in AmiBroker datenum format is 1050101.  Your system might set up
its buy condition as follows:

BuySignal = whatever;
Buy = BuySignal AND (DateNum()>=1050101);

Thanks,
Howard


On Mon, Nov 10, 2008 at 2:57 AM, tickhillblade <[EMAIL PROTECTED]>wrote:

>   Hi all,
>
> I am a new user of Amibroker and I am trying to backtest a system I
> have thought about for many years but have not had any software to
> perform this before last week.
>
> I have a problem and am looking for some help.
>
> Due to different symbol start dates I need to generate the buy or sell
> signal after a two year period.
>
> i.e. AZN.L data starts on 01/01/2003, the first transaction cannot be
> before 01/01/05. Whilst I can manually set this in the analyser for
> each share I would like to automate it using AFL.
>
> All help would be much appreciated.
>
> Bill
>
>  
>

Reply via email to