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

RE: [AmiBroker] First day of the month



PureBytes Links

Trading Reference Links

Awesome, Thank You.

  -----Original Message-----
  From: amibroker@xxxxxxxxxxxxxxx [mailto:amibroker@xxxxxxxxxxxxxxx]On
Behalf Of Mark Jarvis
  Sent: Wednesday, January 17, 2007 2:45 PM
  To: amibroker@xxxxxxxxxxxxxxx
  Subject: Re: [amibroker] First day of the month


  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