N:=7;
XG:(C-REF(C,1))/REF(C,1)>=0.0985 AND ( REF(C,1)-REF(C,2))/REF(C,2)>=0.0985 AND ( REF(C,2)-REF(C,3))/REF(C,3)<=0.0985 AND V>REF(V,1) AND vol/CAPITAL *100 >N AND C >ma(C,250);
N:=7;
XG:(C-REF(C,1))/REF(C,1)>=0.0985 AND ( REF(C,1)-REF(C,2))/REF(C,2)>=0.0985 AND ( REF(C,2)-REF(C,3))/REF(C,3)<=0.0985 AND V>REF(V,1) AND vol/CAPITAL *100 >N AND C >ma(C,250);