推荐回答:
n1:=5;n2:=10;lc:=ref(close,1);rsi5:=sma(max(close-lc,0),n1,1)/sma(abs(close-lc),n1,1)*10;rsi10:=sma(max(close-lc,0),n2,1)/sma(abs(close-lc),n2,1)*10;var1:=c-ref(c,1);var2:=100*ema(ema(var1,6),6)/ema(ema(abs(var1),6),6);ma5:=ema(c,5);ma13:=ema(c,13);up:=drawline(l=llv(l,barslast(cross(ma13,ma5))+1),llv(l,barslast(cross(ma13,ma5))+1),h=hhv(h,barslast(cross(ma5,ma13))+1),hhv(h,barslast(cross(ma5,ma13))+1),0);down:=drawline(h=hhv(h,barslast(cross(ma5,ma13))+1),hhv(h,barslast(cross(ma5,ma13))+1),l=llv(l,barslast(cross(ma13,ma5))+1),llv(l,barslast(cross(ma13,ma5))+1),0);bt:=(llv(var2,2)=llv(var2,7) and count(var2<0,2) and cross(var2,ma(var2,2))) and ref(down,1)<ref(down,2) and up>ref(down,1);tj1:=ref(down,1)<ref(down,2) and up>ref(down,1) and c<hhv(h,21)*0.82;hr:=hhv(high,55);hry:=llv(low,55);hry11:=hr*hry;hry33:=sqrt(hry11);tj2:=ref(down,1)<ref(down,2) and up>ref(down,1) and c<hry33;xg:tj2 or tj1 or bt;不过这指标里有未来函数,最好不要用于选股
广告合作商务QQ: 6391-670-971
2023年最新贷款计算器,采用2023年最新房贷基准利率,房贷利率表,提供贷款、商业贷款、公积金买房、个人按揭月供购房等银行房贷利率计算公式在线使用,2023年最好用的房贷计算器,房贷利息计算专家。