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

Re: [amibroker] Subject: Nikkei gives a wedgie :) (esp for DT)



PureBytes Links

Trading Reference Links

Sure - For each day, it compares the that day's month to the month of the
4th previous day. If the months are different, it means you are within the
1st 4 days of a new month. If the months are the same, then you must be on
at least the 5th day of the month. I am assuming your data only contains
trading days, so we dont really need to consider calender days.

Steve
----- Original Message ----- 
From: "Yuki Taga" <yukitaga@xxxxxxxxxxxxx>
To: "Steve Dugas" <amibroker@xxxxxxxxxxxxxxx>
Sent: Wednesday, February 04, 2004 5:02 AM
Subject: Re: [amibroker] modifying day()


> Hi Steve,
>
> Wednesday, February 4, 2004, 6:58:07 PM, you wrote:
>
> SD> Hi Yuki - I think this should work...
>
> SD> FirstFourDays = Month() != ref( Month(), -4 );
> SD> BUY = FirstFourDays AND YourOtherBuyConditions;
>
> Can I ask a big favor, Steve?  Can you explain to me in English,
> annotation style, what is happening here?  I simply cannot get my
> head around this, and I'm sorry for asking.
>
> Yuki
>
>
> Send BUG REPORTS to bugs@xxxxxxxxxxxxx
> Send SUGGESTIONS to suggest@xxxxxxxxxxxxx
> -----------------------------------------
> Post AmiQuote-related messages ONLY to: amiquote@xxxxxxxxxxxxxxx
> (Web page: http://groups.yahoo.com/group/amiquote/messages/)
> --------------------------------------------
> Check group FAQ at:
http://groups.yahoo.com/group/amibroker/files/groupfaq.html
>
> Yahoo! Groups Links
>
> To visit your group on the web, go to:
>  http://groups.yahoo.com/group/amibroker/
>
> 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/
>
>
>



Send BUG REPORTS to bugs@xxxxxxxxxxxxx
Send SUGGESTIONS to suggest@xxxxxxxxxxxxx
-----------------------------------------
Post AmiQuote-related messages ONLY to: amiquote@xxxxxxxxxxxxxxx 
(Web page: http://groups.yahoo.com/group/amiquote/messages/)
--------------------------------------------
Check group FAQ at: http://groups.yahoo.com/group/amibroker/files/groupfaq.html 

------------------------ Yahoo! Groups Sponsor ---------------------~-->
Buy Ink Cartridges or Refill Kits for your HP, Epson, Canon or Lexmark
Printer at MyInks.com. Free s/h on orders $50 or more to the US & Canada.
http://www.c1tracking.com/l.asp?cid=5511
http://us.click.yahoo.com/mOAaAA/3exGAA/qnsNAA/GHeqlB/TM
---------------------------------------------------------------------~->

Yahoo! Groups Links

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

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/