Royal?
2024-12-23 07:42:59
最佳回答
1、通达信选股公式{macd、kdj、rsi底背离}diff:=ema(close,12) - ema(close,26);dea:=ema(diff,9);a1:=barslast(ref(cross(diff,dea),1));b1:=ref(c,a1+1)>c and ref(diff,a1+1)<diff and cross(diff,dea);a2:=barslast(ref(cross("kdj.k"(9,3,3),"kdj.d"(9,3,3)),1));b2:=ref(c,a2+1)>c and ref("kdj.k"(9,3,3),a2+1)<"kdj.k"(9,3,3) and cross("kdj.k"(9,3,3),"kdj.d"(9,3,3));a3:=barslast(ref(cross("rsi.rsi1"(6,12,24),"rsi.rsi2"(6,12,24)),1));b3:=ref(c,a3+1)>c and ref("rsi.rsi1"(6,12,24),a3+1)<"rsi.rsi1"(6,12,24) and cross("rsi.rsi1"(6,12,24),"rsi.rsi2"(6,12,24));底背离:b1>0 or b2>0 or b3>0;{集成了macd、kdj、rsi三个指标的底背离};2、老鼠仓aa1:=amount/vol;bb1:=l< aa1*0.9;cc1:=(c-ref(c,1))/ref(c,1)*100> 1.2;dd1:=l< ma(c,5)*0.921;ee1:=vol< ma(v,5)*1.5;老鼠仓:bb1 and cc1 and dd1 and ee1;3、抄底高手{m 15 35 30n 12 32 27d 18 50 42}var1:=(close-ma(close,48))/ma(close,48)*100+m<0;var2:=(close-ma(close,70))/ma(close,70)*100+n<0;var3:=var1 and var2;var4:=var1 and var2 and count(var3,2)=1 and date>940101 and (close>open or close<open) and (open-ref(close,1))/ref(close,1)>-0.07 and (ref(open,1)>ref(close,1) or ref( 20210311