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

Re: [EquisMetaStock Group] Monday average performance...



PureBytes Links

Trading Reference Links

Hi Vitoras


Is this the sort of thing you were looking for? 


D:=Input("Day of week",1,5,1);
B:=Input("Bars to check",5,9999,1000);
A:=LastValue(Cum(1))-Cum(1);
M:=Cum((A<=B)*(DayOfWeek()=D));
M:=If(M=0,1,M);
Cum((A<=B)*(DayOfWeek()=D)*(C-O))/M;


Kind regards

Roy Larsen
www.metastocktips.co.nz
Free formulas and MS links





----- Original Message ----- 
From: "vitoras" <no_reply@xxxxxxxxxxxxxxx>
To: <equismetastock@xxxxxxxxxxxxxxx>
Sent: Friday, March 11, 2005 9:46 PM
Subject: [EquisMetaStock Group] Monday average performance...


> 
> 
> Hi everybody,
> 
> I am trying to find the average performance of a stock on Monday 
> for let's say 1000 periods but i can't figure out how to program in 
> MS the loop that is needed...
> 
> Thanks in advance...
> 
> 
> 
> 
> 
> 
> 
>      Yahoo! Groups Sponsor 
>            ADVERTISEMENT
>           
>     
>     
> 
> 
> --------------------------------------------------------------------------------
> Yahoo! Groups Links
> 
>  a.. To visit your group on the web, go to:
>  http://groups.yahoo.com/group/equismetastock/
>    
>  b.. To unsubscribe from this group, send an email to:
>  equismetastock-unsubscribe@xxxxxxxxxxxxxxx
>    
>  c.. Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service. 
> 
>



------------------------ Yahoo! Groups Sponsor --------------------~--> 
What would our lives be like without music, dance, and theater?
Donate or volunteer in the arts today at Network for Good!
http://us.click.yahoo.com/Tcy2bD/SOnJAA/cosFAA/BefplB/TM
--------------------------------------------------------------------~-> 

 
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:
    http://docs.yahoo.com/info/terms/