MetaStock code for entry:

cond1:=Alert(WillR(opt1)< opt2,opt9);
cond2:=WillR(opt3)>opt4;
cond1 AND cond2


MetaStock code for exit:

cond1:=Alert(WillR(opt5)>opt6,opt10);
cond2:=WillR(opt7)< opt8;
cond1 AND cond2