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

Re: [amibroker] Re: Trading Days per week



PureBytes Links

Trading Reference Links







Dimitri,
 
Thank you...This gives me something to build on.....
 
My wedding anniversary was this weekend and I had a mental block :( at least I did not forget the most important date to a husband :)))))))
 
Anthony 
-------Original Message-------
 

From: amibroker@xxxxxxxxxxxxxxx
Date: Saturday, March 15, 2003 16:31:11
To: amibroker@xxxxxxxxxxxxxxx
Subject: [amibroker] Re: Trading Days per week
 Anthony,The tading bars per week may be a continuous function per day or a final # every Friday [or every last trading day for a week].X=DayOfWeek()>Ref(DayOfWeek(),1);// Plot(X,"",2,2);Tradingbars=1+Ref(BarsSince(X),-1);Plot(Tradingbars,"",4,1);Plot(X*Tradingbars,"",5,2);Dimitris Tsokakis--- In amibroker@xxxxxxxxxxxxxxx, "Graham" <gkavanagh@xxxx> wrote:> You could try this if you do not have padded data> > Recent = ValueWhen( DayOfWeek()<Ref(DayOfWeek(),-1) , BarIndex() );> Previous = ValueWhen( DayOfWeek()<Ref(DayOfWeek(),-1) , BarIndex(),2 );> Tradedays = Recent - Previous;> > > Cheers,> Graham> http://groups.msn.com/ASXShareTrading> http://groups.msn.com/FMSAustralia> > -----Original Message-----> From: Anthony Faragasso [mailto:ajf1111@xxxx] > Sent: Friday, 14 March 2003 9:39 PM> To: amibroker@xxxxxxxxxxxxxxx> Subject: [amibroker] Trading Days per week> > Is it possible to find the number of trading days per week ?> > It escapes me at the moment.....> > Thank you> Anthony> > > Send BUG REPORTS to bugs@xxxx> Send SUGGESTIONS to suggest@xxxx> -----------------------------------------> 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 > > Your use of Yahoo! Groups is subject to> http://docs.yahoo.com/info/terms/Send BUG REPORTS to bugs@xxxxxxxxxxxxxSend 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 Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service. 
 







____________________________________________________  IncrediMail - Email has finally evolved - Click Here






Yahoo! Groups Sponsor


  ADVERTISEMENT









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



Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service.

Attachment: Description: ""