Metastock Formula
herm4n said:
Dear Friends,
I want to filter the stocks that have closed above/below 22 MA. Do anyone has the formula ?
Thanks
Hi hermn4n,
This formula will give you all stocks in an exploration above the 22-MA.:
C>Mov(C,22,S)
My assumption is that you want a Simple MA.; otherwise , just change the type of MA. That you want, eg., “E” for exponential.
The following formula will give you the stocks in an exploration below the 22-MA.:
C<Mov(C,22,S)
If you want an exploration to find stocks which have just closed above the 22-MA, then try this:
Cross(C,Mov(C,22,S))
The same for those which have closed below the 22-MA:
Cross(Mov(C,22,S),C)
On a particular note, this is basic stuff which can be found on the Manual; also, I would strongly recommend to you that you download the Formula Primer, where you will find more on this, at
http://www.equis.com/customer/resources/Formulas/Primer.aspx .
Finally, my last recommendation on the subject is to subscribe to MetaStock Tricks and Tips newsletter; it’s somewhat pricey, but worth every penny, and even cheap at the present price; visit
http://www.metastocktips.co.nz
Hope I have been of help.
Eduardo