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

Re: [Metastockusers] Code



PureBytes Links

Trading Reference Links

Ed

> I would appreciate one of you expert coders to write a line for me 
> that I want to include in an Exploration I wrote and  for some 
> reason I am unable to put it together.  I want to simply insert a 
> line of code that filters a 50 day exponential moving average of the 
> Close that is greater than the same MA 30 days earlier.  Thanks in 
> advance.
> 
> Ed Jones


This should do it. If you want to reverse the filter change ">" to "<".

{existing conditions} AND  Mov(C,50,E)>Ref(Mov(C,50,E),-30);


Kind regards

Roy Larsen
www.metastocktips.co.nz




------------------------ Yahoo! Groups Sponsor --------------------~--> 
Has someone you know been affected by illness or disease?
Network for Good is THE place to support health awareness efforts!
http://us.click.yahoo.com/Rcy2bD/UOnJAA/cosFAA/zMEolB/TM
--------------------------------------------------------------------~-> 

 
Yahoo! Groups Links

<*> To visit your group on the web, go to:
    http://groups.yahoo.com/group/Metastockusers/

<*> To unsubscribe from this group, send an email to:
    Metastockusers-unsubscribe@xxxxxxxxxxxxxxx

<*> Your use of Yahoo! Groups is subject to:
    http://docs.yahoo.com/info/terms/