zf:=(h-l)/ref(c,1)*100;
m3:=ema(c,3);
m5:=ema(c,5);
m10:=ema(c,10);
hsl:=v/capital*100;
v1:=c>m3 and m3>m5 and m5>m10 and c>ref(c,1) and m3>ref(m3,1)
and m5>ref(m5,1) and m10>ref(m10,1) and c/o>1.03 and (h-c)/c<0.02;
v2:=v>ref(v,1)*1.3 and hsl>3;
va:=zf>10 and v1 and v2;
xg1:if(va,1,0);