{最简单的选股} n:=10;n1:=6;wr1:=100*(hhv(high,n)-close)/(hhv(high,n)-llv(low,n));wr2:=100*(hhv(high,n1)-close)/(hhv(high,n1)-llv(low,n1));xg:wr1>80 and wr2>80;
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>...