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

Re: [EquisMetaStock Group] Weekly MACD histogram



PureBytes Links

Trading Reference Links




The Dayofweek() is pinpointing the math 
evaluation as on a Friday as 5 is the day of week.
DusantChief Architect<A 
href="">http://www.candlestrength.com/
 
<BLOCKQUOTE 
>
  ----- Original Message ----- 
  <DIV 
  >From: 
  <A title=alan_davidson22@xxxxxxxxxxx 
  href="">Alan Davidson 
  To: <A 
  title=equismetastock@xxxxxxxxxxxxxxx 
  href="">equismetastock@xxxxxxxxxxxxxxx 
  
  Sent: Saturday, March 27, 2004 4:20 
  PM
  Subject: [EquisMetaStock Group] Weekly 
  MACD histogram
  I found the following formulas for daily and weekly 
  MACD:Daily:( Mov( {start}C{end},12,E ) - Mov( C,26,E ) ) - Mov( ( 
  Mov( C,12,E ) - Mov( C,26,E ) ),9,E 
  )Weekly:Mov({start}If(DayOfWeek()=5,C,Peak(1,If(DayOfWeek()=5,C,0),1)){end},60,E)-Mov(If(DayOfWeek()=5,C,Peak(1,If(DayOfWeek()=5,C,0),1)),130,E)-Mov(Mov(If(DayOfWeek()=5,C,Peak(1,If(DayOfWeek()=5,C,0),1)),60,E)-Mov(If(DayOfWeek()=5,C,Peak(1,If(DayOfWeek()=5,C,0),1)),130,E),45,E)As 
  a newbie, I'd be grateful if someone could help me to understand the bit 
  of the weekly formula between the {start} and {end} comments.  
  I know that this will correspond to the "C" between {start} and {end} 
  in the daily formula.I understand what "Peak" does.I don't 
  understand what "DayOfWeek" is 
  doing.Regards,Alan Yahoo! 
  Groups Links<*> To visit your group on the web, go 
  to:     <A 
  href="">http://groups.yahoo.com/group/equismetastock/<*> 
  To unsubscribe from this group, send an email to:     
  <A 
  href="">equismetastock-unsubscribe@xxxxxxxxxxxxxxx<*> 
  Your use of Yahoo! Groups is subject to:     <A 
  href="">http://docs.yahoo.com/info/terms/ 







Yahoo! Groups Links
To visit your group on the web, go to:http://groups.yahoo.com/group/equismetastock/ 
To unsubscribe from this group, send an email to:equismetastock-unsubscribe@xxxxxxxxxxxxxxx 
Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service.