Help With Metastock Formula

#1
Sirs, If anyone can help me refine this system that I want to use it would be very well appreciated

Buy
x:= Mov(C,3,E); y:= Mov(C,6,E); z:= Mov(C,21,E);
Cross(y,z) AND x>y AND x>z AND L>z

The problem with this buy is at times the cross happens a bar before and the low moves above the z line in the next bar. I want the symbol to come when all conditions are met even if it happens a max of three bars before. Pls help me refine it.

Cover Buy
x:= Mov(C,3,E); y:= Mov(C,6,E); z:= Mov(C,21,E);
Cross(y,x) AND y>x AND x>z

Reenter Buy

x:= Mov(C,3,E); y:= Mov(C,6,E); z:= Mov(C,21,E);
Cross(x,y) AND x>z AND y>z AND L>z

Sell

Should be the inverse of what is Buy except that instead of L it should be H
I tried this

x:= Mov(C,3,E); y:= Mov(C,6,E); z:= Mov(C,21,E);
Cross(z,y) AND x<y AND x<z AND h<z

But there is the same problem as buy.

Cover Sell
x:= Mov(C,3,E); y:= Mov(C,6,E); z:= Mov(C,21,E);
Cross(x,y) AND y<z AND x<z

Reenter Sell
x:= Mov(C,3,E); y:= Mov(C,6,E); z:= Mov(C,21,E);
Cross(y,x) AND y<z AND x<z

This is the expert which i have made. Now I am having trouble making the explorer and system tester for the same. If someone can help me refine the system and help me to make the explorer and system tester it would be appreciated.

Any suggestions on the system and ways to streamline it are also welcome
 

Similar threads