xgx7:=abs((vol-ref(vol,7))/ref(vol,7))<0.04 and
vol>1.8*ref(vol,2) and
ref(vol,1)<ref(vol,7) and
ref(vol,2)<ref(vol,7) and
ref(vol,3)<ref(vol,7) and
ref(vol,(7-3))<ref(vol,7) and
ref(vol,(7-2))<ref(vol,7) and
ref(vol,(7-1))<ref(vol,7);
xgx8:=abs((vol-ref(vol,8))/ref(vol,8))<0.04 and
vol>1.8*ref(vol,2) and
ref(vol,1)<ref(vol,8) and
ref(vol,2)<ref(vol,8) and
ref(vol,3)<ref(vol,8) and
ref(vol,(8-3))<ref(vol,8) and
ref(vol,(8-2))<ref(vol,8) and
ref(vol,(8-1))<ref(vol,8);
xgx9:=abs((vol-ref(vol,9))/ref(vol,9))<0.04 and
vol>1.8*ref(vol,2) and
ref(vol,1)<ref(vol,9) and
ref(vol,2)<ref(vol,9) and
ref(vol,3)<ref(vol,9) and
ref(vol,(9-3))<ref(vol,9) and
ref(vol,(9-2))<ref(vol,9) and
ref(vol,(9-1))<ref(vol,9);
xgx10:=abs((vol-ref(vol,10))/ref(vol,10))<0.04 and
vol>1.8*ref(vol,2) and
ref(vol,1)<ref(vol,10) and
ref(vol,2)<ref(vol,10) and
ref(vol,3)<ref(vol,10) and
ref(vol,(10-3))<ref(vol,10) and
ref(vol,(10-2))<ref(vol,10) and
ref(vol,(10-1))<ref(vol,10);
xgx11:=abs((vol-ref(vol,11))/ref(vol,11))<0.04 and
vol>1.8*ref(vol,2) and
ref(vol,1)<ref(vol,11) and
ref(vol,2)<ref(vol,11) and
ref(vol,3)<ref(vol,11) and
ref(vol,(11-3))<ref(vol,11) and
ref(vol,(11-2))<ref(vol,11) and
ref(vol,(11-1))<ref(vol,11);
xgx12:=abs((vol-ref(vol,12))/ref(vol,12))<0.04 and
vol>1.8*ref(vol,2) and
ref(vol,1)<ref(vol,12) and
ref(vol,2)<ref(vol,12) and
ref(vol,3)<ref(vol,12) and
ref(vol,(12-3))<ref(vol,12) and
ref(vol,(12-2))<ref(vol,12) and
ref(vol,(12-1))<ref(vol,12);
xgx: xgx7=1 or xgx8=1 or xgx9=1 or xgx10=1 or xgx11=1 or xgx12=1; |