Metastock Exploration Formula |
Enter 20 Days after MOV Signal |
I am trying to use the MetaStock Explorer to find all stocks with the following:
1. c - mov(c,60,s)<0
2. Above condition should be in place for 20 days/
I use c - Mov(c,60,s)<0 but how do I write the Exploration?
from wsb
Use (C - Mov(C,60,S))<0 AND Ref((C - Mov(C,60,S))<0),-1) AND ... Ref((C -Mov(C,60,S))<0),-19)
where ... stands for all Ref( x,-i) with i between 2 and 18.
from Yngvi
That should work ... theoretically. The only thing I'm concerned about is the REF format. However, I think it's correct. The Close is always above (or greater than '>') the MOV. The parentheses always match. Because a 60 day MOV is rather slow, you probably could shorten the formula by leaving out all of the even numbered REFerences:
C>MOV(C,60,S) AND REF((C>MOV(C,60,S)),-1) AND
REF((C>MOV(C,60,S)),-3) AND REF((C>MOV(C,60,S)),-5) AND
REF((C>MOV(C,60,S)),-7) AND REF((C>MOV(C,60,S)),-9) AND
REF((C>MOV(C,60,S)),-11) AND REF((C>MOV(C,60,S)),-13) AND
REF((C>MOV(C,60,S)),-15) AND REF((C>MOV(C,60,S)),-17) AND
REF((C>MOV(C,60,S)),-19) |
Filter: |
C>MOV(C,60,S) AND REF((C>MOV(C,60,S)),-1) AND
REF((C>MOV(C,60,S)),-2) AND REF((C>MOV(C,60,S)),-3) AND
REF((C>MOV(C,60,S)),-4) AND REF((C>MOV(C,60,S)),-5) AND
REF((C>MOV(C,60,S)),-6) AND REF((C>MOV(C,60,S)),-7) AND
REF((C>MOV(C,60,S)),-8) AND REF((C>MOV(C,60,S)),-9) AND
REF((C>MOV(C,60,S)),-10) AND REF((C>MOV(C,60,S)),-11) AND
REF((C>MOV(C,60,S)),-12) AND REF((C>MOV(C,60,S)),-13) AND
REF((C>MOV(C,60,S)),-14) AND REF((C>MOV(C,60,S)),-15) AND
REF((C>MOV(C,60,S)),-16) AND REF((C>MOV(C,60,S)),-17) AND
REF((C>MOV(C,60,S)),-18) AND REF((C>MOV(C,60,S)),-19) |
|
Did you know ...
How do I access historical price data in MetaStock?
In MetaStock, you can access historical price data by opening a chart for the desired instrument, adjusting the date range, and scrolling or zooming on the chart to view the historical prices for different time periods.
|