大阳烛:=close/open>1.08 and high/low<close/open+0.018;diff:=ema(close,8)-ema(close,13); dea:=ema(diff,5);a1:=diff>dea;macd金叉:=if(a1,1,0);rsv1:=(close-llv(low,8))/(hhv(high,8)-llv(low,8))*100;k:=...
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>...
ref(close,2)and ref(close,1)and close>open and close>ref(high,1);如果你的目的是要选出连续三天收盘价大于开盘价,并且第三天收盘价大于第二天最高价的个股,公式可以这样写: ref(c,2)>ref(o,2)and ref(c,1)>ref(o,1)and c>o and c>ref(h,1);