PureBytes Links
Trading Reference Links
|
This should do the trick.
FirstTwoDaysofMonth = barssince(Month() != ref(Month(),-1)) < 2;
On 18/01/07, Mr. Valley <valleymj@xxxxxxxxxxx> wrote:
>
> How would you write "the first Two days of the month"?
> Thanks
>
>
> -----Original Message-----
> *From:* amibroker@xxxxxxxxxxxxxxx [mailto:amibroker@xxxxxxxxxxxxxxx]*On
> Behalf Of *Mark Jarvis
> *Sent:* Wednesday, January 17, 2007 5:01 AM
> *To:* amibroker@xxxxxxxxxxxxxxx
> *Subject:* Re: [amibroker] First day of the month
>
> Try this.
>
> Firstdayofmonth = month() != Ref(Month(),-1);
>
> Mark
>
> On 16/01/07, intradayscalper <intradayscalper@xxxxxxxxx > wrote:
> >
> > How can I program to find the first trading day of each month in
> > amibroker? Please help
> >
> > thanks
> >
> >
>
>
Content-Description: "AVG certification"
No virus found in this incoming message.
Checked by AVG Free Edition.
Version: 7.5.432 / Virus Database: 268.16.13/632 - Release Date: 1/16/2007 4:36 PM
|