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
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;
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
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;