Metastock Explorer Formula

Cross of Moving Averages

Filter
DSC:=5;
V1:=10;
V2:=30;
V3:=BarsSince(Cross(Mov(CLOSE,V1,E),Mov(CLOSE,V2,E) ));


V3 <= DSC
AND
Mov(C,V1,e) > Mov(C,v2,e)

This exploration allows the user to find Moving Average Crossovers that have happened within a certain time period.

The formula can be quickly changed to alter the number of bars are allowed to pass since the crossover happened or to find the cross of differing averages.

Change the following items to alter the exploration to your liking:

DSC= Days Since Cross
V1:= Shortest Term Moving Average - in this case 10 days
V2:= Longer Term Moving Average - in this case 30 days

DSC measures the numbers of days allowed to pass since the cross happenend. If you wanted to only find stocks that have had their MA cross yesterday then enter the number 1. To find stcks where the cross occured on the last day of the chart then use 0 (no days have passed).

To find a cross of the 7 & 21 day then change the number after V1 from 10 to 7 and V2 from 30 to 21.