ma4:=MA(C,4);
ma10:=MA(CLOSE,10);
ma20:=MA(CLOSE,20);
l1:=V>REF(V,1);
v1:=COUNT(CROSS(ma10,ma20),15);
v2:=C<REF(CLOSE,1) AND REF(CLOSE,1)<REF(CLOSE,2);
xjb:v1=1 AND v2 AND ma10>C AND C>ma20 AND SLOPE(MA20,4)>0 AND SLOPE(MA10,3)>0;
xg:REF(xjb,2)=1 AND ma4>REF(ma4,1) AND l1;