rsv:=(close-llv(low,9))/(hhv(high,9)-llv(low,9))*100;k:=sma(rsv,3,1);d:=sma(k,3,1);j:=3*k-2*d;dif:=ema(close,12)-ema(close,26);dea:=ema(dif,9);macd:=2*(dif-dea);xg:cross(k,d) and macd>ref(macd,1);
ctx:=(3*c+h+l+o)/6;iong:=(8*ctx+7*ref(ctx,1)+6*ref(ctx,2)+5*ref(ctx,3)+4*ref(ctx,4)+3*ref(ctx,5)+2*ref(ctx,6)+ref(ctx,8))/36;ctxiong:=vol=hhv(vol,10) and vol>2*ref(vol,1) and close>iong and c>...