rsv:=(close-llv(low,9))/(hhv(high,9)-llv(low,9))*100;k:=sma(rsv,3,1);d:=sma(k,3,1);j:=3*k-2*d;m**ol1:=ma(volume,5);m**ol2:=ma(volume,10);ma5:=expma(c,5);ma10:=expma(c,10);选股:cross(ma5,ma10) and cross(...
dif:ema(close,short)-ema(close,long);dea:ema(dif,mid);macd:(dif-dea)*2,colorstick;缩短:ref(macd,1)>0 and macd<=0 and macd<ref(macd,1); 不能是将要变绿柱,而是一变绿条件成立,“缩短为1如果是要将要变就显示只用未来函数,这样就没有实际价值了。
diff:ema(close,12)-ema(close,26);dea:ema(diff,9);macd:2*(diff-dea),colorstick;tj:=macd(macd,2)>ref(macd,1)and ref(macd,1)<macd;rf:=macd>0 and ref(macd,2)(macd,1)and ref(macd,1)>macd;stickl...