Using the “Explorer” in Metastock
To scan for stocks crossing the 50 line on the Ultimate Oscillator from below to above try this in the “filter” section of a new exploration you create:
---
Ult(7,14,28) >50
AND
Ref(Ult(7,14,28),-1)<50
---
The first line finds stocks where the Ultimate Oscillator is above 50
The second line finds stocks where the Ultimate Oscillator was below 50 yesterday.
Putting the two lines together with "AND" finds stocks crossing from below 50 to above 50.
---
To scan for stocks crossing the 50 line on the Ultimate Oscillator from above to below try this in the “filter” section of a new exploration you create:
---
Ult(7,14,28) <50
AND
Ref(Ult(7,14,28),-1)>50
---
The parameters in the Ultimate Oscillator formula I have given you are the standard ones in Metastock, change them around as you wish.
Good luck with learning the MEtastock coding, I have always found it very logical to code.