var7:=ema(close,15);
var8:=ema(var7,5)*0.88;
varf:=ref(low,1)*0.9;
var10:=low*0.9;
var11:=(var10*vol+varf*(capital-vol))/capital;
var12:=ema(var11,30);
var13:=close-ref(close,1);
var14:=max(var13,0);
var15:=abs(var13);
var16:=sma(var14,7,1)/sma(var15,7,1)*100;
var17:=sma(var14,13,1)/sma(var15,13,1)*100;
var18:=barscount(close);
var19:=sma(max(var13,0),6,1)/sma(abs(var13),6,1)*100;
var1a:=(-200)*(hhv(high,60)-close)/(hhv(high,60)-llv(low,60))+100;
var1b:=(close-llv(low,15))/(hhv(high,15)-llv(low,15))*100;
var1c:=sma((sma(var1b,4,1)-50)*2,3,1);
var1d:=(indexc-llv(indexl,14))/(hhv(indexh,14)-llv(indexl,14))*100;
var1e:=sma(var1d,4,1);
var1f:=sma(var1e,3,1);
var20:=(hhv(high,30)-close)/close*100;
var21:=var19<=25 and var1a<-95 and var20>20 and var1c<-30 and var1f<30 and var12-close>=-0.25 and var16<22 and var17<28 and var18>50;
var9:=stickline(var21 and var8>c ,-5,35,3,0);
filter(var9,18);