lc:= ref(close,1);rsi1:=sma(max(close-lc,0),n1,1)/sma(abs(close-lc),n1,1)*100;rsi2:=sma(max(close-lc,0),n2,1)/sma(abs(close-lc),n2,1)*100;rsi3:=sma(max(close-lc,0),n3,1)/sma(abs(close-lc),n3,1)*100;xg:rsi1<rsi2 and rsi2>rsi3 and rsi1<ref(rsi1,1) and rsi2<ref(rsi2,1) and between(rsi1,50,65);先试试这个,不行q我 20210311
{ddx大于0.2 ddx 10日内飘红天数大于5,连续飘红天数大于1,3日内飘红天数等于2 } ddx:="ddx.ddx;ddx>0.2 and count(ddx>0,10)>5 and barslast(ddx)>1 and count(ddx>0,3)=2;按你说的一句句的写的,你先做成副图试试看信号,是不是你要的样子