不知道哪个软件的:提供一个思路吧:第一步:寻找6天振幅大于20%的:(是以哪一天的收盘价为基础呢?我选前面第6天的)var1:=ref(close,5);{前6天的收盘价}var2:=llv(low,5);{6天内的最低价}var3:=hhv(high,5);{6天内的最高价}var4:=100*(var3-var2)/var1;{6天的最大振幅}第二步:条件判断xg=if( (var4<20) and (ref(close,4)>ref(close,5)) and (ref(close,4)>ref(close,3)) and (ref(close,2)>ref(close,3)) and (ref(close,1)>ref(close,2)) and (ref(close,2)>close))) 20210311