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

Re: [EquisMetaStock Group] How to? Weekly MA(52) has been decreasing for 40 weeks



PureBytes Links

Trading Reference Links

Hi Stephane


> I want to build an explorer that has the following condition (amongst
> others).
>
> the weekly MA(52) has been decreasing for 40 weeks.
>
> I'm not really sure how to do this. Please help.
>
> thanks,
> Stephane

The following lines of column code will return a true result in a weekly exploration when the 52 
week SMA has fallen for 40 consecutive weeks. If you want the same thing for a daily exploration (40 
weekly falls in 52 weeks MA), it can be done but requires more complex code. That code is available 
but not included here.

{SMA decreasing for 40 consecutive weeks}
M:=Mov(C,52,S);
Sum(M<Ref(M,-1),40)=40;


Kind regards

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




 




------------------------ Yahoo! Groups Sponsor --------------------~--> 
In low income neighborhoods, 84% do not own computers.
At Network for Good, help bridge the Digital Divide!
http://us.click.yahoo.com/EpW3eD/3MnJAA/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/