t1:=c/ref(c,1)>=1.099;t2:=count(t1,10)>=1;ab:=(vol/ref(vol,1));t3:=if((((close/ref(close,1))>=1.03)and(ab)),1,0);a1:=ref(c,1)>ref(c,23);xg:t3=1 and t2 and a1 and l(8)>0 and(o-l)/o*100; 20210311
公式如下:选择的范围太大,我给你加了点限制,让你有更多的选择空间。ma30:=ma(c,30);diff:=ema(close,12)-ema(close,26); dea:=ema(diff,9); macd:=2*(diff-dea); fh1:=ref(macd,1)<ref(macd,2) and ref(macd,2)<ref(macd,3) and ref(macd,3)&...
var1:=sum(max(max(high-low,abs(high-ref(close,1))),abs(low-ref(close,1))),25);var2:=high-ref(high,1);var3:=ref(low,1)-low;var4:=sum(if(var2>0 and var2>var3,var2,0),...