长期线:=ma(-100*(hhv(high,34)-close)/(hhv(high,34)-llv(low,34)),19)+100;快线:=-100*(hhv(high,14)-close)/(hhv(high,14)-llv(low,14))+100;中期线:=ema(-100*(hhv(high,34)-close)/(hhv(high,34)-llv(low,34)),4)+100;低位金叉:长期线<15 and ref(长期线,1)<15 and 中期线<18 and 快线>ref(快线,1) and cross(快线,长期线) and 快线>中期线 and (ref(快线,1)<5 or ref(快线,2)<5 ) and (中期线>=长期线 or ref( 快线,1)<1 ); 20210311
mtm:=close-ref(close,12);mtmma:=ma(mtm,6);rsv:=(close-llv(low,5))/(hhv(high,5)-llv(low,5))*100;k:=sma(rsv,3,1);d:=sma(k,3,1);j:=3*k-2*d;cross(mtm,mtmma) and k>d and k>50;
rsv:=(close-llv(low,5))/(hhv(high,5)-llv(low,5))*100;k:=sma(rsv,3,1);d:=sma(k,3,1);j:=3*k-2*d;mtm:=close-ref(close,12);mtmma:=ma(mtm,6);xg:k>50 and cross(k,d)and mtm>=mtmma;