PureBytes Links
Trading Reference Links
|
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@xxxxxxxxx> 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
*********************************
__,_._,___
|