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

[amibroker] Re: Dates



PureBytes Links

Trading Reference Links

Thanks Howard,  I will look into this further.

Bill


--- In amibroker@xxxxxxxxxxxxxxx, "Howard B" <howardbandy@xxx> wrote:
>
> 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 <tickhillblade@xxx>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
> >
> >  
> >
>



------------------------------------

**** IMPORTANT ****
This group is for the discussion between users only.
This is *NOT* technical support channel.

*********************
TO GET TECHNICAL SUPPORT from AmiBroker please send an e-mail directly to 
SUPPORT {at} amibroker.com
*********************

For NEW RELEASE ANNOUNCEMENTS and other news always check DEVLOG:
http://www.amibroker.com/devlog/

For other support material please check also:
http://www.amibroker.com/support.html

*********************************
Yahoo! Groups Links

<*> To visit your group on the web, go to:
    http://groups.yahoo.com/group/amibroker/

<*> Your email settings:
    Individual Email | Traditional

<*> To change settings online go to:
    http://groups.yahoo.com/group/amibroker/join
    (Yahoo! ID required)

<*> To change settings via email:
    mailto:amibroker-digest@xxxxxxxxxxxxxxx 
    mailto:amibroker-fullfeatured@xxxxxxxxxxxxxxx

<*> To unsubscribe from this group, send an email to:
    amibroker-unsubscribe@xxxxxxxxxxxxxxx

<*> Your use of Yahoo! Groups is subject to:
    http://docs.yahoo.com/info/terms/