lc:=ref(close,1);rsi1:=sma(max(close-lc,0),13,1)/sma(abs(close-lc),13,1)*100;ah:=hhv(rsi1,8);al:=llv(rsi1,8);sto1:=if(al=ah,0,100*(rsi1-al)/(ah-al));sk:=ema(sto1,5);sd:=ema(sk,3);yj:cross(sk,sd) and sk<20 and sd<20; 20210311
用这个就行了:a1:=(dvol/c)/2;a2:=sum(if(a1>100 and close>ref(close,1),a1,0),0);a3:=sum(if(a1>100 and close<ref(close,1),a1,0),0);a4:=sum(if(a1<100 and close>ref(close,1),a1,0),0);a5:=sum(if...