rsv:=(c-llv(l,9))/(hhv(h,9)-llv(l,9))*100;k:=sma(rsv,3,1);d:=sma(k,3,1);j:=3*k-2*d;x:=llv(j,2)=llv(j,8);xg:cross(j,ref(j+0.01,1))and x and j;信号太多,没啥意义。 20210311
va:=if(close>ref(close,1),vol,-vol);obv:=sum(if(close=ref(close,1),0,va),0);maobv:=ma(obv,30);ref(obv,2)>ref(obv,1) and obv>ref(obv,1) and ref(maobv,1)>ref(obv,1);{已测试,复制可直接引用,如果回答满意,请记得给采纳}
公式如下:短线:=100-100*(hhv(high,10)-close)/(hhv(high,10)-llv(low,10));**:=100-100*(hhv(high,20)-close)/(hhv(high,20)-llv(low,20));长线:=100-100*(hhv(high,30)-close)/(hhv(high,30)-llv(low,30));xg:短线=0 and **=...